17#ifndef ALICEO2_ECAL_GEOMETRY_H
18#define ALICEO2_ECAL_GEOMETRY_H
44 void detIdToRelIndex(
int cellId,
int& chamber,
int& sector,
int& iphi,
int& iz)
const;
76 int mNSuperModules{0};
77 int mNCrystalModulesZ{0};
78 int mNSamplingModulesZ{0};
79 int mNCrystalModulesPhi{0};
80 int mNSamplingModulesPhi{0};
81 double mCrystalModW{0.};
82 double mSamplingModW{0.};
83 double mSamplingAlpha{0.};
84 double mCrystalAlpha{0.};
85 double mMarginCrystalToSampling{0.};
87 std::vector<double> mFrontFaceZatMinR;
88 std::vector<double> mFrontFaceCenterR;
89 std::vector<double> mFrontFaceCenterZ;
90 std::vector<double> mFrontFaceCenterSamplingPhi;
91 std::vector<double> mFrontFaceCenterCrystalPhi;
92 std::vector<double> mFrontFaceCenterTheta;
93 std::vector<double> mTanBeta;
95 ClassDefNV(Geometry, 1);
double getFrontFaceCenterTheta(int i)
double getFrontFaceCenterCrystalPhi(int i)
std::pair< int, int > globalRowColFromIndex(int cellID) const
double getSamplingPhiMin()
double getSamplingAlpha()
bool isAtTheEdge(int cellId)
void detIdToGlobalPosition(int detId, double &x, double &y, double &z)
std::pair< int, int > getSectorChamber(int cellId) const
bool isCrystal(int cellID)
double getFrontFaceZatMinR(int i)
double getFrontFaceCenterR(int i)
double getFrontFaceCenterSamplingPhi(int i)
double getFrontFaceCenterZ(int i)
static Geometry & instance()
void fillFrontFaceCenterCoordinates()
double getSamplingDeltaPhi()
double getCrystalPhiMin()
void detIdToRelIndex(int cellId, int &chamber, int §or, int &iphi, int &iz) const
double getCrystalDeltaPhi()
int areNeighboursVertex(int detId1, int detId2) const
double getFrontFaceMaxEta(int i)
int getCellID(int moduleId, int sectorId, bool isCrystal)
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...