CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HFSimParameters.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HFSimParameters_h
2 #define HcalSimAlgos_HFSimParameters_h
3 
7 
9 {
10 public:
11  HFSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor,
12  double timePhase, bool syncPhase);
14 
15  virtual ~HFSimParameters() {}
16 
17  void setDbService(const HcalDbService * service) {theDbService = service;}
18 
19  virtual double photoelectronsToAnalog(const DetId & detId) const;
20 
21  double fCtoGeV(const DetId & detId) const;
22 
23 private:
26 };
27 
28 #endif
29 
virtual ~HFSimParameters()
void setDbService(const HcalDbService *service)
double fCtoGeV(const DetId &detId) const
Main class for Parameters in different subdetectors.
double timePhase() const
the adjustment you need to apply to get the signal where you want it
double simHitToPhotoelectrons() const
HFSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
Definition: DetId.h:18
const HcalDbService * theDbService
double theSamplingFactor
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
bool syncPhase() const
choice of the ADC time alignment (synchronous for LHC, asynchronous for test beams) ...