30 auto top =
geom->MakeBox(
"TOP",
Vacuum, 1000., 1000., 100.);
31 geom->SetTopVolume(top);
49 for (i = 0; i <
ntooth; i++) {
64 for (i = 0; i < 6; i++) {
79 for (i = 0; i <
ncells; i++) {
88 for (i = 0; i <
nrows; i++) {
98 geom->CloseGeometry();
105 en->GetNode()->GetVolume()->SetVisibility(
kFALSE);
111 en->ExpandIntoListTreesRecursively();
112 en->Save(
"assembly.root",
"Assembly");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TEveManager * gEve
R__EXTERN TGeoManager * gGeoManager
R__EXTERN TSystem * gSystem
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement.
void AddGlobalElement(TEveElement *element, TEveElement *parent=nullptr)
Add a global element, i.e.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Class describing rotation + translation.
The manager class for any TGeo geometry.
TGeoNode * GetTopNode() const
Base class describing materials.
Media are used to store properties related to tracking and which are useful only when using geometry ...
Class describing rotations.
Class describing translations.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
constexpr Double_t DegToRad()
Conversion from degree to radian: .
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
Double_t Tan(Double_t)
Returns the tangent of an angle of x radians.