#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_, CastorSimParameterMap::castorParameters(), CastorDbService::getPedestal(), CastorDbService::getPedestalWidth(), mps_fire::i, CaloSamples::id(), LogDebug, CastorPedestalWidth::makeNoise(), muonCSCDigis_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.
Referenced by CastorDigiProducer::initializeEvent().
|
inline |
|
private |
Definition at line 32 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 28 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 29 of file CastorAmplifier.h.
Referenced by amplify().
|
private |
Definition at line 31 of file CastorAmplifier.h.
Referenced by amplify().