CMS 3D CMS Logo

FastTimeDDDConstants.h
Go to the documentation of this file.
1 #ifndef HGCalCommonData_FastTimeDDDConstants_h
2 #define HGCalCommonData_FastTimeDDDConstants_h
3 
13 #include <string>
14 #include <vector>
15 
18 
20 public:
23 
24  std::pair<int, int> getZPhi(double z, double phi) const;
25  std::pair<int, int> getEtaPhi(double r, double phi) const;
26  GlobalPoint getPosition(int type, int izeta, int iphi, int zside) const;
27  std::vector<GlobalPoint> getCorners(int type, int izeta, int iphi, int zside) const;
28  int getCells(int type) const;
29  double getRin(int type) const;
30  double getRout(int type) const;
31  double getZHalf(int type) const;
32  double getZPos(int type) const;
33  bool isValidXY(int type, int izeta, int iphi) const;
34  int numberEtaZ(int type) const;
35  int numberPhi(int type) const;
36 
37 private:
38  void initialize();
39 
41  double etaMin_, etaMax_, dEta_;
43  std::vector<double> rLimits_;
44 };
45 
46 #endif
double getRin(int type) const
double getZHalf(int type) const
int numberEtaZ(int type) const
FastTimeDDDConstants(const FastTimeParameters *ftp)
int zside(DetId const &)
double getRout(int type) const
std::pair< int, int > getZPhi(double z, double phi) const
std::vector< double > rLimits_
std::pair< int, int > getEtaPhi(double r, double phi) const
GlobalPoint getPosition(int type, int izeta, int iphi, int zside) const
bool isValidXY(int type, int izeta, int iphi) const
double getZPos(int type) const
std::vector< GlobalPoint > getCorners(int type, int izeta, int iphi, int zside) const
int getCells(int type) const
const FastTimeParameters * ftpar_
int numberPhi(int type) const