16#include <TGeoVolume.h>
18#include <TGeoPhysicalNode.h>
40 void InitFromGdml(
const char *gdmlFile,
const char *setupName );
88 TGeoNode *
GetReplica(
int layer,
int replica );
95 static const int m_kSegment = 66;
96 static const int m_kStereoLayerIn = 8;
97 static const int m_kAxialLayerIn = 12;
98 static const int m_kStereoLayerOut = 16;
99 static const int m_kAxialLayerOut = 7;
100 static const int m_kLayer = 50;
101 static const int m_kReplicaMax = 288;
102 static const int m_kReplica[m_kLayer];
103 static const int m_kCorrectLayer = 10;
104 static const int m_kiCorrectLayer[m_kCorrectLayer];
105 static const int m_kiCorrectReplica[m_kCorrectLayer];
107 std::map<int ,int> m_CorrectMap;
108 typedef std::map<int, int> intMap;
111 TGeoNode *m_NodeReplica[m_kLayer][m_kReplicaMax];
112 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.