14#include <TGeoVolume.h>
16#include <TGeoPhysicalNode.h>
38 void InitFromGdml(
const char *gdmlFile,
const char *setupName );
89 TGeoVolume *
GetVolumeStrip(
int part,
int seg,
int gap,
int strip );
95 TGeoVolume *
GetVolumeBakelite(
int part,
int seg,
int gap,
int panel,
int bakelite );
104 TGeoNode *
GetGap(
int part,
int seg,
int gap );
113 TGeoNode *
GetStrip(
int part,
int seg,
int gap,
int strip );
129 TGeoPhysicalNode *
GetPhysicalStrip(
int part,
int seg,
int gap,
int strip );
133 static const int m_kPart = 3;
134 static const int m_kSegMax = 8;
135 static const int m_kAbsorberMax = 9;
136 static const int m_kGapMax = 9;
137 static const int m_kPanelMax = 4;
138 static const int m_kStripMax = 112;
139 static const int m_kBakelite = 4;
140 static const int m_kGasChamber = 2;
142 static const int m_kSeg[m_kPart];
143 static const int m_kAbsorber[m_kPart];
144 static const int m_kGap[m_kPart];
145 static const int m_kPanel[m_kPart];
147 int m_StripNum[m_kPart][m_kSegMax][m_kGapMax];
150 TGeoNode *m_NodeGap[m_kPart][m_kSegMax][m_kGapMax];
152 TGeoNode *m_NodeStripPlane[m_kPart][m_kSegMax][m_kGapMax];
153 TGeoNode *m_NodeStrip[m_kPart][m_kSegMax][m_kGapMax][m_kStripMax];
155 TGeoPhysicalNode *m_PhysicalGap[m_kPart][m_kSegMax][m_kGapMax];
157 TGeoPhysicalNode *m_PhysicalStrip[m_kPart][m_kSegMax][m_kGapMax][m_kStripMax];
TGeoVolume * GetVolumeMuc()
Get Muc volume;.
void SetQuarterVisible()
Set quater visible;.
TGeoVolume * GetVolumeStripPlane(int part, int seg, int gap)
Get strip plane volume;.
void SetPhysicalNode()
Set the pointers to the physical nodes;.
float GetAbsorberThickness(int part, int seg, int absorber)
Get thickness of an absorber;.
TGeoVolume * GetVolumeAluminumBox(int part, int seg, int gap)
Get box volume;
TGeoVolume * GetVolumeGasChamber(int part, int seg, int gap, int panel, int gasChamber)
Get rpc gas chamber volume;
TGeoPhysicalNode * GetPhysicalStrip(int part, int seg, int gap, int strip)
Get strip physical node;.
TGeoVolume * GetVolumeBakelite(int part, int seg, int gap, int panel, int bakelite)
Get rpc bakelite volume;
void SetNode()
Set the pointers to theirs nodes;.
TGeoVolume * GetVolumeAbsorberPanel(int part, int seg, int absorber, int panel)
Get absorber panel volume;
void SetAllVisible()
Set all visible;.
TGeoVolume * GetVolumeGap(int part, int seg, int gap)
Get gap volume;
int GetSegNum(int part)
Get number of segment on part;.
TGeoPhysicalNode * GetPhysicalAluminumBox(int part, int seg, int gap)
Get box physical node;.
TGeoNode * GetGap(int part, int seg, int gap)
Get absorber node;
TGeoNode * GetStripPlane(int part, int seg, int gap)
Get box node;.
void SetDefaultVis()
Set default visual attributes;.
TGeoVolume * GetVolumeStrip(int part, int seg, int gap, int strip)
Get strip volume;
TGeoVolume * GetVolumeAbsorber(int part, int seg, int absorber)
Get absorber volume;
TGeoPhysicalNode * GetPhysicalGap(int part, int seg, int gap)
Get rpc gas chamber node;
TGeoNode * GetStrip(int part, int seg, int gap, int strip)
Get strip node;
int GetStripNum(int part, int seg, int gap)
Get number of strip on gap;.
int GetPartNum()
Get number of part;.
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of ROOTGeo.
int GetGapNum(int part)
Get number of gap on part;.