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
std::pair< int, int > getEta(const int &det, const math::XYZVectorD &pos) const
std::vector< int > etaMax_
std::vector< double > zHO_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
std::vector< int > etaMin_
HcalNumberingFromPS(const edm::ParameterSet &)
std::vector< double > etaTable_
std::vector< double > phioff_
HcalNumberingFromDDD::HcalID unitID(int det, int layer, int depth, const math::XYZVectorD &pos) const
std::pair< int, int > getPhi(const int &det, const int &ieta, const double &phi) const
std::vector< int > depthHBHE_
static const int nEtas_
std::vector< double > phibin_
std::vector< std::vector< int > > segmentation_