17#include <TGeoPhysicalNode.h>
18#include <TGeoVolume.h>
38 void InitFromGdml(
const char* gdmlFile,
const char* setupName );
86 TGeoNode*
GetReplica(
int layer,
int replica );
92 static const int m_kSegment = 66;
93 static const int m_kStereoLayerIn = 8;
94 static const int m_kAxialLayerIn = 12;
95 static const int m_kStereoLayerOut = 16;
96 static const int m_kAxialLayerOut = 7;
97 static const int m_kLayer = 50;
98 static const int m_kReplicaMax = 288;
99 static const int m_kReplica[m_kLayer];
100 static const int m_kCorrectLayer = 10;
101 static const int m_kiCorrectLayer[m_kCorrectLayer];
102 static const int m_kiCorrectReplica[m_kCorrectLayer];
104 std::map<int, int> m_CorrectMap;
105 typedef std::map<int, int> intMap;
108 TGeoNode* m_NodeReplica[m_kLayer][m_kReplicaMax];
109 TGeoPhysicalNode* m_PhysicalReplica[m_kLayer][m_kReplicaMax];
TGeoNode * GetSegment(int segment, int no)
Get segment node;.
int GetSegmentNb()
Get number of segments;.
int CorrectReplica(int layer, int replica)
Correct some axial layer id to copyNo;.
TGeoVolume * GetVolumeLayer(int layer)
Get layer volume;.
int GetReplicaNb(int layer)
Get number of replicas on each layer;.
void SetQuarterVisible()
Set quater visible;.
void SetNode()
Set the pointers to theirs nodes;.
int GetLayerNb()
Get number of layers;.
TGeoNode * GetLayer(int layer)
Get layer node;.
TGeoNode * GetReplica(int layer, int replica)
Get replica node;.
void SetDefaultVis()
Set default visual attributes;.
TGeoVolume * GetVolumeReplica(int layer)
Get replica volume;.
TGeoVolume * GetVolumeSegment(int segment)
Get segment volume;.
TGeoPhysicalNode * GetPhysicalReplica(int layer, int replica)
Get replica physical node;.
void SetPhysicalNode()
Set the pointers to the physical nodes;.
void SetAllVisible()
Set all visible;.
TGeoVolume * GetVolumeMdc()
Get Mdc volume;.
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of ROOTGeo.
SubDetectorROOTGeo()
Constructor.