Hello All,
I am a newbie to ROOT programming. I am using ROOT
version : v6-24-06@v6-24-06 .
I am currently trying to construct a right triangular prism. I tried to do so by using the MakeTrd1 command. However I ended up with the following outputs. As it can be seen, the prism is expanding upwards in both directions.
However, my goal is to construct a prism as in the following image (only one side of the prism should be extending from bottom to the top, right angles are the case for the other sides) :
@dastudillo It works perfectly, thank you very much.
However, If you don’t mind, I have an additional question concerning this shape:
I want to add this shape inside a container and later I will add other volumes as well. I am trying to use AddNode command as I did for other volumes, however It was unable to add this shape. I though I should transform this shape into a volume using :
where number 2 represents the medium Aluminium. But this idea did not work. How can I add this shape inside any container volume, using AddNode command, like it is the case for an ordinary box or tube ?