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
FastTimeDDDConstants::getRout
double getRout(int type) const
Definition: FastTimeDDDConstants.cc:134
FastTimeDDDConstants::rLimits_
std::vector< double > rLimits_
Definition: FastTimeDDDConstants.h:43
FastTimeDDDConstants::etaMax_
double etaMax_
Definition: FastTimeDDDConstants.h:41
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
FastTimeDDDConstants::initialize
void initialize()
Definition: FastTimeDDDConstants.cc:194
FastTimeDDDConstants::dZBarrel_
double dZBarrel_
Definition: FastTimeDDDConstants.h:42
FastTimeDDDConstants
Definition: FastTimeDDDConstants.h:19
FastTimeDDDConstants::getZPos
double getZPos(int type) const
Definition: FastTimeDDDConstants.cc:154
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
FastTimeDDDConstants::getRin
double getRin(int type) const
Definition: FastTimeDDDConstants.cc:124
FastTimeDDDConstants::~FastTimeDDDConstants
~FastTimeDDDConstants()
Definition: FastTimeDDDConstants.cc:18
FastTimeDDDConstants::getZPhi
std::pair< int, int > getZPhi(double z, double phi) const
Definition: FastTimeDDDConstants.cc:24
DDAxes::z
FastTimeDDDConstants::dEta_
double dEta_
Definition: FastTimeDDDConstants.h:41
Point3DBase< float, GlobalTag >
FastTimeDDDConstants::FastTimeDDDConstants
FastTimeDDDConstants(const FastTimeParameters *ftp)
Definition: FastTimeDDDConstants.cc:10
FastTimeDDDConstants::getCells
int getCells(int type) const
Definition: FastTimeDDDConstants.cc:114
FastTimeDDDConstants::numberPhi
int numberPhi(int type) const
Definition: FastTimeDDDConstants.cc:184
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
FastTimeDDDConstants::etaMin_
double etaMin_
Definition: FastTimeDDDConstants.h:41
FastTimeDDDConstants::numberEtaZ
int numberEtaZ(int type) const
Definition: FastTimeDDDConstants.cc:174
FastTimeDDDConstants::getEtaPhi
std::pair< int, int > getEtaPhi(double r, double phi) const
Definition: FastTimeDDDConstants.cc:40
FastTimeParameters
Definition: FastTimeParameters.h:9
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDAxes::phi
FastTimeDDDConstants::dPhiBarrel_
double dPhiBarrel_
Definition: FastTimeDDDConstants.h:42
FastTimeDDDConstants::ftpar_
const FastTimeParameters * ftpar_
Definition: FastTimeDDDConstants.h:40
FastTimeDDDConstants::isValidXY
bool isValidXY(int type, int izeta, int iphi) const
Definition: FastTimeDDDConstants.cc:164
FastTimeDDDConstants::dPhiEndcap_
double dPhiEndcap_
Definition: FastTimeDDDConstants.h:42
FastTimeDDDConstants::getZHalf
double getZHalf(int type) const
Definition: FastTimeDDDConstants.cc:144
FastTimeDDDConstants::getCorners
std::vector< GlobalPoint > getCorners(int type, int izeta, int iphi, int zside) const
Definition: FastTimeDDDConstants.cc:80
FastTimeDDDConstants::getPosition
GlobalPoint getPosition(int type, int izeta, int iphi, int zside) const
Definition: FastTimeDDDConstants.cc:60
GlobalPoint.h
FastTimeParameters.h