#include <CastorAmplifier.h>
Public Member Functions | |
virtual void | amplify (CaloSamples &linearFrame) const |
CastorAmplifier (const CastorSimParameterMap *parameters, bool addNoise) | |
void | setDbService (const CastorDbService *service) |
the Producer will probably update this every event More... | |
void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
void | setStartingCapId (int capId) |
virtual | ~CastorAmplifier () |
Private Attributes | |
bool | addNoise_ |
const CastorDbService * | theDbService |
const CastorSimParameterMap * | theParameterMap |
CLHEP::RandGaussQ * | theRandGaussQ |
unsigned | theStartingCapId |
Definition at line 10 of file CastorAmplifier.h.
CastorAmplifier::CastorAmplifier | ( | const CastorSimParameterMap * | parameters, |
bool | addNoise | ||
) |
Definition at line 14 of file CastorAmplifier.cc.
|
inlinevirtual |
|
virtual |
Definition at line 29 of file CastorAmplifier.cc.
References addNoise_, CastorSimParameterMap::castorParameters(), CastorDbService::getPedestal(), CastorDbService::getPedestalWidth(), i, CaloSamples::id(), LogDebug, CastorPedestalWidth::makeNoise(), Parameters::parameters, CastorSimParameters::photoelectronsToAnalog(), CaloSamples::size(), theDbService, theParameterMap, theRandGaussQ, and theStartingCapId.
Referenced by CastorElectronicsSim::convert().
|
inline |
the Producer will probably update this every event
Definition at line 16 of file CastorAmplifier.h.
References theDbService.
Referenced by CastorDigiProducer::initializeEvent().
void CastorAmplifier::setRandomEngine | ( | CLHEP::HepRandomEngine & | engine | ) |
|
inline |
Definition at line 24 of file CastorAmplifier.h.
References theStartingCapId.
Referenced by CastorElectronicsSim::newEvent().
|
private |
Definition at line 32 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 27 of file CastorAmplifier.h.
Referenced by amplify(), and setDbService().
|
private |
Definition at line 29 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 28 of file CastorAmplifier.h.
Referenced by amplify(), setRandomEngine(), and ~CastorAmplifier().
|
private |
Definition at line 31 of file CastorAmplifier.h.
Referenced by amplify(), and setStartingCapId().