1 #ifndef Geometry_HcalTowerAlgo_HcalDDDSimConstants_h
2 #define Geometry_HcalTowerAlgo_HcalDDDSimConstants_h
30 const int& det,
const int&
zside,
const int&
depth,
const int& etaR,
const int& iphi)
const;
31 int findDepth(
const int& det,
const int&
eta,
const int&
phi,
const int& zside,
const int& lay)
const;
34 int getDepthEta16(
const int& det,
const int& phi,
const int& zside)
const;
36 int getDepthEta29(
const int& phi,
const int& zside,
const int&
i)
const;
38 std::pair<int, double>
getDetEta(
const double& eta,
const int& depth)
const;
39 int getEta(
const int& det,
const int& lay,
const double& hetaR)
const;
41 const int& det,
int etaR,
const int& phi,
const int& zside,
int depth,
const int& lay)
const;
42 double getEtaHO(
const double& etaR,
const double&
x,
const double&
y,
const double&
z)
const;
47 double getLayer0Wt(
const int& det,
const int& phi,
const int& zside)
const;
50 int getLayerFront(
const int& det,
const int& eta,
const int& phi,
const int& zside,
const int& depth)
const;
51 int getLayerBack(
const int& det,
const int& eta,
const int& phi,
const int& zside,
const int& depth)
const;
52 int getLayerMax(
const int& eta,
const int& depth)
const;
54 int getMaxDepth(
const int& det,
const int& eta,
const int& phi,
const int& zside,
const bool& partialOnly)
const;
56 int getMinDepth(
const int& det,
const int& eta,
const int& phi,
const int& zside,
const bool& partialOnly)
const;
58 std::pair<double, double>
getPhiCons(
const int& det,
const int& ieta)
const;
59 std::vector<std::pair<int, double> >
getPhis(
const int& subdet,
const int& ieta)
const;
66 int maxHFDepth(
const int& ieta,
const int& iphi)
const;
71 int unitPhi(
const int& det,
const int& etaR)
const;
72 int unitPhi(
const double& dphi)
const;
80 double deltaEta(
const int& det,
const int& eta,
const int& depth)
const;
81 double getEta(
const int& det,
const int& etaR,
const int& zside,
int depth = 1)
const;
82 double getEta(
const double&
r,
const double& z)
const;
85 void printTileHB(
const int& eta,
const int& phi,
const int& zside,
const int& depth)
const;
86 void printTileHE(
const int& eta,
const int& phi,
const int& zside,
const int& depth)
const;
89 unsigned int layerGroup(
int det,
int eta,
int phi,
int zside,
int i)
const;
unsigned int layerGroupSize(int eta) const
int findDepth(const int &det, const int &eta, const int &phi, const int &zside, const int &lay) const
unsigned int layerGroup(int eta, int i) const
std::vector< int > maxDepth
int getFrontLayer(const int &det, const int &eta) const
static const int maxLayer_
std::pair< int, double > getDetEta(const double &eta, const int &depth) const
int getLayerFront(const int &det, const int &eta, const int &phi, const int &zside, const int &depth) const
int getMinDepth(const int &det, const int &eta, const int &phi, const int &zside, const bool &partialOnly) const
std::pair< int, int > depthMaxDf_
int phiNumber(const int &phi, const int &unit) const
void printTileHB(const int &eta, const int &phi, const int &zside, const int &depth) const
HcalDDDSimConstants(const HcalParameters *hp)
HcalCellType::HcalCell cell(const int &det, const int &zside, const int &depth, const int &etaR, const int &iphi) const
double getEtaHO(const double &etaR, const double &x, const double &y, const double &z) const
std::vector< double > etaTableHF
int getShift(const HcalSubdetector &subdet, const int &depth) const
std::pair< int, int > getiEtaRange(const int &i) const
std::vector< int > etaMax
std::vector< int > depths[nDepthMax]
constexpr std::array< uint8_t, layerIndexSize > layer
std::pair< int, int > getMaxDepthDet(const int &i) const
std::vector< std::pair< double, double > > getConstHBHE(const int &type) const
int getMaxDepth(const int &type) const
const std::vector< double > & getRTableHF() const
int getDepthEta29(const int &phi, const int &zside, const int &i) const
int unitPhi(const int &det, const int &etaR) const
unsigned int findLayer(const int &layer, const std::vector< HcalParameters::LayerItem > &layerGroup) const
std::pair< int, int > depthMaxSp_
const std::vector< double > & getPhiTableHF() const
std::vector< HcalCellType > HcalCellTypes() const
int getLayerMax(const int &eta, const int &depth) const
std::vector< HcalDetId > idHF2QIE
int getLastLayer(const int &det, const int &eta) const
unsigned int numberOfCells(const HcalSubdetector &) const
double getLayer0Wt(const int &det, const int &phi, const int &zside) const
int getDepthEta16M(const int &det) const
int getDepthEta29M(const int &i, const bool &planOne) const
const std::vector< double > & getGparHF() const
const HcalParameters * parameter() const
std::vector< double > gparHF
std::pair< int, int > getModHalfHBHE(const int &type) const
int getLayerBack(const int &det, const int &eta, const int &phi, const int &zside, const int &depth) const
const std::vector< double > & getEtaTableHF() const
int getEta(const int &det, const int &lay, const double &hetaR) const
double deltaEta(const int &det, const int &eta, const int &depth) const
std::vector< double > rTable
std::vector< double > phitable
std::pair< int, int > getEtaDepth(const int &det, int etaR, const int &phi, const int &zside, int depth, const int &lay) const
const std::vector< HcalDetId > & getIdHF2QIE() const
const HcalParameters * hpar
int maxHFDepth(const int &ieta, const int &iphi) const
static const int nDepthMax
void printTileHE(const int &eta, const int &phi, const int &zside, const int &depth) const
std::pair< double, double > getPhiCons(const int &det, const int &ieta) const
static const int maxLayerHB_
double getGain(const HcalSubdetector &subdet, const int &depth) const
std::vector< std::pair< int, double > > getPhis(const int &subdet, const int &ieta) const
std::vector< int > etaMin
Basic3DVector unit() const
int getDepthEta16(const int &det, const int &phi, const int &zside) const
const HcalLayerDepthMap * ldMap() const