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,
28  int zside) const;
29  int getCells(int type) const;
30  double getRin(int type) const;
31  double getRout(int type) const;
32  double getZHalf(int type) const;
33  double getZPos(int type) const;
34  bool isValidXY(int type, int izeta, int iphi) const;
35  int numberEtaZ(int type) const;
36  int numberPhi(int type) const;
37 
38  private:
39  void initialize();
40 
42  double etaMin_, etaMax_, dEta_;
44  std::vector<double> rLimits_;
45 };
46 
47 #endif
type
Definition: HCALResponse.h:21
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_