14#include <TGeoVolume.h>
16#include <TGeoPhysicalNode.h>
38 void InitFromGdml(
const char *gdmlFile,
const char *setupName );
74 TGeoNode *
GetScin(
int part,
int scin );
77 TGeoNode *
GetBucket(
int part,
int scin,
int bucket );
83 static const int m_kPart = 3;
84 static const int m_kAssemblyEc = 48;
85 static const int m_kAssemblyBr = 88;
86 static const int m_kBucketEc = 1;
87 static const int m_kBucketBr = 2;
90 TGeoNode *m_NodeScin[m_kPart][m_kAssemblyBr];
91 TGeoPhysicalNode *m_PhysicalScin[m_kPart][m_kAssemblyBr];
void SetQuarterVisible()
Set quater visible;.
TGeoVolume * GetVolumeScin(int part)
Get scintillator volume;.
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of ROOTGeo.
int GetPartNb()
Get number of part;.
TGeoVolume * GetVolumeTof()
Get Tof volume;.
TGeoVolume * GetVolumeBucket(int part)
Get bucket volume;.
void SetDefaultVis()
Set default visual attributes;.
TGeoVolumeAssembly * GetVolumeAssembly(int part)
Get assembly volume; part=0,2 for AssemblyEc, 1 for AssemblyBr;
TGeoNode * GetScin(int part, int scin)
Get scintillator node;.
TGeoNode * GetBucket(int part, int scin, int bucket)
Get bucket node, 0 for west bucket, 1 for the east one;.
int GetScinNb(int part)
Get number of scintillators on each part;.
void SetPhysicalNode()
Set the pointers to the physical nodes;.
TGeoPhysicalNode * GetPhysicalScin(int part, int scin)
Get scintillator physical node;.
void SetNode()
Set the pointers to theirs nodes;.
void SetAllVisible()
Set all visible;.