#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 17 of file CastorAmplifier.cc.
|
inlinevirtual |
Definition at line 16 of file CastorAmplifier.h.
|
virtual |
Definition at line 20 of file CastorAmplifier.cc.
References addNoise_, cms::cuda::assert(), CastorSimParameterMap::castorParameters(), amptDefault_cfi::frame, CastorDbService::getPedestal(), CastorDbService::getPedestalWidth(), mps_fire::i, LogDebug, CastorPedestalWidth::makeNoise(), hgchebackDigitizer_cfi::noise, EcalCondDBWriter_cfi::pedestal, 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 23 of file CastorAmplifier.h.
References theStartingCapId.
Referenced by CastorElectronicsSim::newEvent().
|
private |
Definition at line 30 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 26 of file CastorAmplifier.h.
Referenced by amplify(), and setDbService().
|
private |
Definition at line 27 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 29 of file CastorAmplifier.h.
Referenced by amplify(), and setStartingCapId().