1 #ifndef CastorSim_CastorSimParameters_h
2 #define CastorSim_CastorSimParameters_h
void setDbService(const CastorDbService *service)
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
virtual ~CastorSimParameters()
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) ...