CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
HcalNumberingFromDDD::HcalID unitID(int det, int layer, int depth, const math::XYZVectorD &pos) const
std::vector< int > etaMax_
std::pair< int, int > getPhi(const int &det, const int &ieta, const double &phi) const
constexpr std::array< uint8_t, layerIndexSize > layer
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::pair< int, int > getEta(const int &det, const math::XYZVectorD &pos) const
std::vector< double > phioff_
std::vector< int > depthHBHE_
static const int nEtas_
std::vector< double > phibin_
std::vector< std::vector< int > > segmentation_