15#include <TGeoPhysicalNode.h>
16#include <TGeoVolume.h>
36 void InitFromGdml(
const char* gdmlFile,
const char* setupName );
87 TGeoVolume*
GetVolumeStrip(
int part,
int seg,
int gap,
int strip );
93 TGeoVolume*
GetVolumeBakelite(
int part,
int seg,
int gap,
int panel,
int bakelite );
102 TGeoNode*
GetGap(
int part,
int seg,
int gap );
111 TGeoNode*
GetStrip(
int part,
int seg,
int gap,
int strip );
126 TGeoPhysicalNode*
GetPhysicalStrip(
int part,
int seg,
int gap,
int strip );
129 static const int m_kPart = 3;
130 static const int m_kSegMax = 8;
131 static const int m_kAbsorberMax = 9;
132 static const int m_kGapMax = 9;
133 static const int m_kPanelMax = 4;
134 static const int m_kStripMax = 112;
135 static const int m_kBakelite = 4;
136 static const int m_kGasChamber = 2;
138 static const int m_kSeg[m_kPart];
139 static const int m_kAbsorber[m_kPart];
140 static const int m_kGap[m_kPart];
141 static const int m_kPanel[m_kPart];
143 int m_StripNum[m_kPart][m_kSegMax][m_kGapMax];
146 TGeoNode* m_NodeGap[m_kPart][m_kSegMax][m_kGapMax];
148 TGeoNode* m_NodeStripPlane[m_kPart][m_kSegMax][m_kGapMax];
149 TGeoNode* m_NodeStrip[m_kPart][m_kSegMax][m_kGapMax][m_kStripMax];
151 TGeoPhysicalNode* m_PhysicalGap[m_kPart][m_kSegMax][m_kGapMax];
153 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;.
SubDetectorROOTGeo()
Constructor.