6 #ifndef PNDEMCSTRUCTURE_H 7 #define PNDEMCSTRUCTURE_H 28 typedef std::map<Int_t, Float_t>
mapper;
34 const mapper &
GetEmcX()
const {
return emcX; };
35 const mapper &
GetEmcY()
const {
return emcY; };
36 const mapper &
GetEmcZ()
const {
return emcZ; };
41 void Print(
string, Int_t option = 1)
const;
44 bool crystal_name_analysis(TString,
int &module,
int ©,
int &row,
int &crystal);
61 #endif // PNDEMCSTRUCTURE_HH const mapper & GetEmcZ() const
static PndEmcStructure * Instance()
void Print(string, Int_t option=1) const
PndEmcStructure(TGeoManager *)
const PndEmcTciXtalMap & GetTciXtalMap() const
represents coordinates of one crystal
stores crystal index coordinates (x,y) or (theta,phi)
PndEmcTwoCoordIndex * locateIndex(double theta, double phi) const
virtual ~PndEmcStructure()
const mapper & GetEmcY() const
std::map< PndEmcTwoCoordIndex *, PndEmcXtal * > PndEmcTciXtalMap
std::map< Int_t, Float_t > mapper
const mapper & GetEmcX() const