CMS 3D CMS Logo

HcalNumberingFromPS.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HcalNumberingFromPS_h
2 #define SimG4CMS_HcalNumberingFromPS_h
3 
7 #
8 #include <cstdint>
9 #include <vector>
10 
12 public:
15 
16  HcalNumberingFromDDD::HcalID unitID(int det, int layer, int depth, const math::XYZVectorD& pos) const;
17  std::pair<int, int> getEta(const int& det, const math::XYZVectorD& pos) const;
18  std::pair<int, int> getPhi(const int& det, const int& ieta, const double& phi) const;
19 
20 private:
21  static const int nEtas_ = 29;
22  std::vector<double> etaTable_, phibin_, phioff_;
23  std::vector<int> etaMin_, etaMax_, depthHBHE_;
25  double rMinHO_;
26  std::vector<double> zHO_;
27  std::vector<std::vector<int> > segmentation_;
28 };
29 
30 #endif
HcalNumberingFromPS::etaMax_
std::vector< int > etaMax_
Definition: HcalNumberingFromPS.h:23
HcalNumberingFromPS::unitID
HcalNumberingFromDDD::HcalID unitID(int det, int layer, int depth, const math::XYZVectorD &pos) const
Definition: HcalNumberingFromPS.cc:67
HcalNumberingFromPS::etaHBHE_
int etaHBHE_
Definition: HcalNumberingFromPS.h:24
HcalNumberingFromDDD::HcalID
Definition: HcalNumberingFromDDD.h:21
CaloNumberingScheme.h
pos
Definition: PixelAliasList.h:18
HcalNumberingFromPS::getPhi
std::pair< int, int > getPhi(const int &det, const int &ieta, const double &phi) const
Definition: HcalNumberingFromPS.cc:130
HcalNumberingFromDDD.h
HcalNumberingFromPS
Definition: HcalNumberingFromPS.h:11
HcalNumberingFromPS::depthHBHE_
std::vector< int > depthHBHE_
Definition: HcalNumberingFromPS.h:23
HcalNumberingFromPS::etaTable_
std::vector< double > etaTable_
Definition: HcalNumberingFromPS.h:22
HcalNumberingFromPS::rMinHO_
double rMinHO_
Definition: HcalNumberingFromPS.h:25
HcalNumberingFromPS::phioff_
std::vector< double > phioff_
Definition: HcalNumberingFromPS.h:22
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
HcalNumberingFromPS::HcalNumberingFromPS
HcalNumberingFromPS(const edm::ParameterSet &)
Definition: HcalNumberingFromPS.cc:13
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
edm::ParameterSet
Definition: ParameterSet.h:47
HcalNumberingFromPS::segmentation_
std::vector< std::vector< int > > segmentation_
Definition: HcalNumberingFromPS.h:27
HcalNumberingFromPS::depth29Mx_
int depth29Mx_
Definition: HcalNumberingFromPS.h:24
HcalNumberingFromPS::nEtas_
static const int nEtas_
Definition: HcalNumberingFromPS.h:21
DDAxes::phi
HcalNumberingFromPS::getEta
std::pair< int, int > getEta(const int &det, const math::XYZVectorD &pos) const
Definition: HcalNumberingFromPS.cc:98
HcalNumberingFromPS::zHO_
std::vector< double > zHO_
Definition: HcalNumberingFromPS.h:26
ParameterSet.h
HcalNumberingFromPS::~HcalNumberingFromPS
~HcalNumberingFromPS()
Definition: HcalNumberingFromPS.h:14
HcalNumberingFromPS::etaMin_
std::vector< int > etaMin_
Definition: HcalNumberingFromPS.h:23
HcalNumberingFromPS::phibin_
std::vector< double > phibin_
Definition: HcalNumberingFromPS.h:22