CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 getZPos(int type) const
std::pair< int, int > getEtaPhi(double r, double phi) const
bool isValidXY(int type, int izeta, int iphi) const
int numberEtaZ(int type) const
FastTimeDDDConstants(const FastTimeParameters *ftp)
int zside(DetId const &)
int numberPhi(int type) const
std::pair< int, int > getZPhi(double z, double phi) const
std::vector< double > rLimits_
std::vector< GlobalPoint > getCorners(int type, int izeta, int iphi, int zside) const
int getCells(int type) const
double getRin(int type) const
double getRout(int type) const
GlobalPoint getPosition(int type, int izeta, int iphi, int zside) const
double getZHalf(int type) const
const FastTimeParameters * ftpar_