CMS 3D CMS Logo

CastorSimParameters.h
Go to the documentation of this file.
1 #ifndef CastorSim_CastorSimParameters_h
2 #define CastorSim_CastorSimParameters_h
3 
7 
9 public:
12  double samplingFactor,
13  double timePhase,
14  bool syncPhase);
16 
17  ~CastorSimParameters() override {}
18 
20 
21  double getNominalfCperPE() const;
22 
23  double photoelectronsToAnalog(const DetId &detId) const override;
24 
25  double fCtoGeV(const DetId &detId) const;
26 
27 private:
31 };
32 
33 #endif
void setDbService(const CastorDbService *service)
double getNominalfCperPE() const
double fCtoGeV(const DetId &detId) const
const CastorDbService * theDbService
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
Main class for Parameters in different subdetectors.
CastorSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
double simHitToPhotoelectrons() const
double timePhase() const
the adjustment you need to apply to get the signal where you want it
bool syncPhase() const
Definition: DetId.h:17