1 #ifndef Geometry_HcalTowerAlgo_HcalDDDRecConstants_h 2 #define Geometry_HcalTowerAlgo_HcalDDDRecConstants_h 35 std::vector<std::pair<int, int>>
layer;
36 std::vector<std::pair<int, double>>
phis;
37 HcalEtaBin(
int eta = 0,
int zs = 1,
double dfi = 0,
double et1 = 0,
double et2 = 0)
60 std::vector<std::pair<double, double>> gcons;
64 std::vector<int>
getDepth(
const int& det,
const int&
phi,
const int&
zside,
const unsigned int&
eta)
const;
65 std::vector<int>
getDepth(
const unsigned int&
eta,
const bool& extra)
const;
72 std::vector<HcalEtaBin>
getEtaBins(
const int& itype)
const;
73 std::pair<double, double>
getEtaPhi(
const int& subdet,
const int&
ieta,
const int&
iphi)
const;
80 HcalID
getHCID(
int subdet,
int ieta,
int iphi,
int lay,
int idepth)
const;
97 std::vector<std::pair<int, double>>
getPhis(
const int& subdet,
const int&
ieta)
const;
101 double getRZ(
const int& subdet,
const int&
ieta,
const int&
depth)
const;
102 double getRZ(
const int& subdet,
const int&
ieta,
const int&
iphi,
const int&
depth)
const;
103 double getRZ(
const int& subdet,
const int&
layer)
const;
117 unsigned int nCells()
const;
122 void specialRBXHBHE(
const std::vector<HcalDetId>&, std::vector<HcalDetId>&)
const;
134 std::map<int, int>&
layers,
136 std::vector<HcalDDDRecConstants::HcalEtaBin>&
bins)
const;
153 std::vector<std::pair<double, double>>
gconsHB;
154 std::vector<std::pair<double, double>>
gconsHE;
int getMinDepth(const int &itype, const int &ieta, const int &iphi, const int &zside) const
std::map< HcalDetId, HcalDetId > detIdSp_
double getRZ(const int &subdet, const int &ieta, const int &depth) const
std::pair< int, int > getEtaRange(const int &i) const
std::vector< int > iEtaMin
std::vector< int > etagroup
const std::vector< double > & getPhiOffs() const
std::pair< int, int > depthMaxSp_
int getDepthEta16(const int &det, const int &iphi, const int &zside) const
bool withSpecialRBXHBHE() const
HcalDetId mergedDepthDetId(const HcalDetId &id) const
double getPhiBin(const int &i) const
void getOneEtaBin(HcalSubdetector subdet, int ieta, int zside, std::vector< std::pair< int, double >> &phis, std::map< int, int > &layers, bool planOne, std::vector< HcalDDDRecConstants::HcalEtaBin > &bins) const
int getNPhi(const int &type) const
std::vector< std::pair< int, double > > getPhis(const int &subdet, const int &ieta) const
int maxHFDepth(const int &ieta, const int &iphi) const
bool mergedDepthList29(int ieta, int iphi, int depth) const
int getDepthEta29(const int &phi, const int &zside, const int &i) const
double getLayer0Wt(const int &det, const int &phi, const int &zside) const
static const int maxLayer_
HcalID getHCID(int subdet, int ieta, int iphi, int lay, int idepth) const
HcalDetId idBack(const HcalDetId &id) const
std::vector< int > maxDepth
int getTriggerMode() const
unsigned int nCells() const
std::vector< HcalEtaBin > getEtaBins(const int &itype) const
std::vector< double > etaTableHF
HcalEtaBin(int eta=0, int zs=1, double dfi=0, double et1=0, double et2=0)
constexpr std::array< uint8_t, layerIndexSize > layer
std::vector< int > phiUnitS
std::vector< HFCellParameters > getHFCellParameters() const
std::vector< std::pair< double, double > > gconsHE
const HcalParameters * hpar
std::pair< double, double > getEtaPhi(const int &subdet, const int &ieta, const int &iphi) const
void specialRBXHBHE(const std::vector< HcalDetId > &, std::vector< HcalDetId > &) const
std::pair< int, int > depthMaxDf_
std::vector< double > phibin
HFCellParameters(int ie=0, int d=1, int ffi=1, int sfi=2, int nfi=36, double r1=0, double r2=0)
std::pair< double, double > getEtaLimit(const int &i) const
double getPhiOff(const int &i) const
HcalActiveLength(int ie=0, int d=0, int z=0, int s=0, double et=0, double t=0)
std::vector< int > iEtaMax
const std::vector< double > & getEtaTable() const
std::vector< int > ietaMap
std::vector< int > nPhiBins
const HcalLayerDepthMap * ldMap() const
std::vector< std::pair< int, int > > layer
std::vector< std::pair< int, int > > etaSimValu
int getMaxDepth(const int &type) const
unsigned int layerGroupSize(int eta) const
std::vector< HcalCellType > HcalCellTypes(HcalSubdetector) const
const std::vector< double > & getEtaTableHF() const
std::vector< std::pair< double, double > > gconsHB
bool isPlan1ToBeMergedId(const HcalDetId &id) const
std::vector< double > phioff
int getPhiZOne(std::vector< std::pair< int, int >> &phiz) const
std::vector< double > etaTable
HcalDDDRecConstants(const HcalParameters *hp, const HcalDDDSimConstants &hc)
HcalID(int sub=0, int et=0, int fi=0, int d=0)
unsigned int numberOfCells(HcalSubdetector) const
void getLayerDepth(const int &ieta, std::map< int, int > &layers) const
int maxHFDepth(int ieta, int iphi) const
double getLayer0Wt(const int &det, const int &phi, const int &zside) const
std::vector< double > phitable
HcalDetId idFront(const HcalDetId &id) const
int getNoff(const int &i) const
int getLayerFront(const int &det, const int &eta, const int &phi, const int &depth) const
bool isPlan1MergedId(const HcalDetId &id) const
const HcalDDDSimConstants & hcons
std::vector< HcalActiveLength > getThickActive(const int &type) const
unsigned int layerGroup(int eta, int i) const
const std::vector< double > & getPhiTable() const
const HcalDDDSimConstants * dddConstants() const
std::vector< std::pair< int, double > > phis
std::vector< std::pair< double, double > > getConstHBHE(const int &type) const
const std::vector< double > & getPhiTableHF() const
void unmergeDepthDetId(const HcalDetId &id, std::vector< HcalDetId > &ids) const
int getDepthEta29(const int &iphi, const int &zside, const int &type) const
std::vector< int > getDepth(const int &det, const int &phi, const int &zside, const unsigned int &eta) const
bool isPlan1(const HcalDetId &id) const
static const int maxLayerHB_
int getDepthEta16(const int &det, const int &phi, const int &zside) const
int getLayerBack(const int &det, const int &eta, const int &phi, const int &depth) const
std::map< HcalDetId, std::vector< HcalDetId > > detIdSpR_