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 #include<iostream>
16 
19 
21 
22 public:
23 
26 
27  std::pair<int,int> getZPhi(double z, double phi) const;
28  std::pair<int,int> getEtaPhi(double r, double phi) const;
29  GlobalPoint getPosition(int type, int izeta, int iphi,
30  int zside) const;
31  std::vector<GlobalPoint> getCorners(int type, int izeta,int iphi,
32  int zside) const;
33  int getCells(int type) const;
34  double getRin(int type) const;
35  double getRout(int type) const;
36  double getZHalf(int type) const;
37  double getZPos(int type) const;
38  bool isValidXY(int type, int izeta, int iphi) const;
39  int numberEtaZ(int type) const;
40  int numberPhi(int type) const;
41 
42 private:
43  void initialize();
44 
46  double etaMin_, etaMax_, dEta_;
48  std::vector<double> rLimits_;
49 };
50 
51 #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_