CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HFSimParameters.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HFSimParameters_h
2 #define HcalSimAlgos_HFSimParameters_h
3 
7 
9 public:
12  double samplingFactor,
13  double timePhase,
14  bool syncPhase);
16 
17  ~HFSimParameters() override {}
18 
19  void setDbService(const HcalDbService* service) { theDbService = service; }
20 
21  double photoelectronsToAnalog(const DetId& detId) const override;
22 
23  double fCtoGeV(const DetId& detId) const;
24 
25  double samplingFactor() const;
26  double threshold_currentTDC() const { return threshold_currentTDC_; }
27 
28 private:
32 };
33 
34 #endif
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
~HFSimParameters() override
double simHitToPhotoelectrons() const
double threshold_currentTDC() const
HFSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
Definition: DetId.h:17
const HcalDbService * theDbService
double theSamplingFactor
double threshold_currentTDC_
double samplingFactor() const
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
bool syncPhase() const