1 #ifndef Geometry_HcalTowerAlgo_HcalDDDSimConstants_h 2 #define Geometry_HcalTowerAlgo_HcalDDDSimConstants_h 32 const int depth,
const int etaR,
33 const int iphi)
const;
35 const int phi,
const int zside,
37 unsigned int findLayer(
int layer,
const std::vector<HcalParameters::LayerItem>&
layerGroup)
const;
40 const int zside)
const;
44 std::pair<int,double>
getDetEta(
const double eta,
const int depth);
45 int getEta(
const int det,
const int lay,
const double hetaR);
46 std::pair<int,int>
getEtaDepth(
const int det,
int etaR,
int phi,
47 int zside,
int depth,
int lay);
48 double getEtaHO(
double& etaR,
double&
x,
double&
y,
55 const int zside)
const;
58 const int phi,
const int zside,
59 const int depth)
const;
61 const int phi,
const int zside,
62 const int depth)
const;
63 int getLayerMax(
const int eta,
const int depth)
const;
66 const int phi,
const int zside,
67 bool partialOnly)
const;
70 const int phi,
const int zside,
71 bool partialOnly)
const;
73 std::pair<double,double>
getPhiCons(
const int det,
const int ieta)
const;
74 std::vector<std::pair<int,double> >
getPhis(
const int subdet,
const int ieta)
const;
82 int maxHFDepth(
const int ieta,
const int iphi)
const;
86 int unitPhi(
const int det,
const int etaR)
const;
87 int unitPhi(
const double dphi)
const;
91 double deltaEta(
const int det,
const int eta,
92 const int depth)
const;
93 double getEta(
const int det,
const int etaR,
94 const int zside,
const int depth=1)
const;
95 double getEta(
const double r,
const double z)
const;
97 const int depth)
const;
99 const int depth)
const;
101 const int zside,
const int depth)
const;
103 const int zside,
const int depth)
const;
105 unsigned int layerGroup(
const int eta,
const int i)
const;
106 unsigned int layerGroup(
const int det,
const int eta,
107 const int phi,
const int zside,
std::pair< int, int > getMaxDepthDet(const int i) const
int findDepth(const int det, const int eta, const int phi, const int zside, const int lay) const
int maxHFDepth(const int ieta, const int iphi) const
std::pair< int, int > getEtaDepth(const int det, int etaR, int phi, int zside, int depth, int lay)
int getLayerBack(const int det, const int eta, const int phi, const int zside, const int depth) const
std::vector< int > maxDepth
std::pair< double, double > getPhiCons(const int det, const int ieta) const
double getGain(const HcalSubdetector subdet, const int depth) const
static const int maxLayer_
int getMaxDepth(const int type) const
std::vector< std::pair< double, double > > getConstHBHE(const int type) const
HcalDDDSimConstants(const HcalParameters *hp)
int getShift(const HcalSubdetector subdet, const int depth) const
void printTileHE(const int eta, const int phi, const int zside, const int depth) const
std::vector< double > etaTableHF
unsigned int numberOfCells(HcalSubdetector) const
std::vector< int > etaMax
std::vector< int > depths[nDepthMax]
int getDepthEta29M(const int i, const bool planOne) const
double deltaEta(const int det, const int eta, const int depth) const
std::vector< std::pair< int, double > > getPhis(const int subdet, const int ieta) const
int getFrontLayer(const int det, const int eta) const
double getEtaHO(double &etaR, double &x, double &y, double &z) const
std::pair< int, double > getDetEta(const double eta, const int depth)
const std::vector< double > & getRTableHF() const
int getDepthEta29(const int phi, int zside, int i) const
void printTileHB(const int eta, const int phi, const int zside, const int depth) const
std::pair< int, int > depthMaxDf_
const std::vector< double > & getPhiTableHF() const
std::vector< HcalCellType > HcalCellTypes() const
std::vector< HcalDetId > idHF2QIE
std::pair< int, int > getModHalfHBHE(const int type) const
int getMinDepth(const int det, const int eta, const int phi, const int zside, bool partialOnly) const
int getDepthEta16(const int det, const int phi, const int zside) const
unsigned int findLayer(int layer, const std::vector< HcalParameters::LayerItem > &layerGroup) const
unsigned int layerGroup(const int eta, const int i) const
double getLayer0Wt(const int det, const int phi, const int zside) const
const std::vector< double > & getGparHF() const
std::vector< double > gparHF
unsigned int layerGroupSize(const int eta) const
int getEta(const int det, const int lay, const double hetaR)
const std::vector< double > & getEtaTableHF() const
int getLayerFront(const int det, const int eta, const int phi, const int zside, const int depth) const
std::vector< double > rTable
std::vector< double > phitable
int phiNumber(const int phi, const int unit) const
int getDepthEta16M(const int det) const
int unitPhi(const int det, const int etaR) const
HcalCellType::HcalCell cell(const int det, const int zside, const int depth, const int etaR, const int iphi) const
std::pair< int, int > getiEtaRange(const int i) const
std::pair< int, int > depthMaxSp_
const std::vector< HcalDetId > & getIdHF2QIE() const
const HcalParameters * hpar
static const int nDepthMax
static const int maxLayerHB_
int getLayerMax(const int eta, const int depth) const
std::vector< int > etaMin
const HcalLayerDepthMap * ldMap() const