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 {
10 public:
11 
14 
15 ~CastorSimParameters() override {}
16 
18 
19 double getNominalfCperPE() const;
20 
21 double photoelectronsToAnalog(const DetId & detId) const override;
22 
23 double fCtoGeV(const DetId & detId) const;
24 
25 
26 private:
30 };
31 
32 #endif
void setDbService(const CastorDbService *service)
double getNominalfCperPE() const
const CastorDbService * theDbService
Main class for Parameters in different subdetectors.
CastorSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
double timePhase() const
the adjustment you need to apply to get the signal where you want it
double simHitToPhotoelectrons() const
double fCtoGeV(const DetId &detId) const
Definition: DetId.h:18
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) ...