#include <CastorAmplifier.h>
Public Member Functions | |
virtual void | amplify (CaloSamples &linearFrame, CLHEP::HepRandomEngine *) const |
CastorAmplifier (const CastorSimParameterMap *parameters, bool addNoise) | |
void | setDbService (const CastorDbService *service) |
the Producer will probably update this every event More... | |
void | setStartingCapId (int capId) |
virtual | ~CastorAmplifier () |
Private Attributes | |
bool | addNoise_ |
const CastorDbService * | theDbService |
const CastorSimParameterMap * | theParameterMap |
unsigned | theStartingCapId |
Definition at line 13 of file CastorAmplifier.h.
CastorAmplifier::CastorAmplifier | ( | const CastorSimParameterMap * | parameters, |
bool | addNoise | ||
) |
Definition at line 16 of file CastorAmplifier.cc.
|
inlinevirtual |
Definition at line 16 of file CastorAmplifier.h.
|
virtual |
Definition at line 24 of file CastorAmplifier.cc.
References addNoise_, assert(), CastorSimParameterMap::castorParameters(), CastorDbService::getPedestal(), CastorDbService::getPedestalWidth(), i, CaloSamples::id(), LogDebug, CastorPedestalWidth::makeNoise(), HLT_FULL_cff::noise, HLT_FULL_cff::parameters, EcalCondDBWriter_cfi::pedestal, CastorSimParameters::photoelectronsToAnalog(), CaloSamples::size(), theDbService, theParameterMap, and theStartingCapId.
Referenced by CastorElectronicsSim::convert().
|
inline |
the Producer will probably update this every event
Definition at line 19 of file CastorAmplifier.h.
References theDbService.
Referenced by CastorDigiProducer::initializeEvent().
|
inline |
Definition at line 25 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 28 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 31 of file CastorAmplifier.h.
Referenced by amplify(), and setStartingCapId().