#include <CSCStripConditions.h>
Public Types | |
typedef math::ErrorD< 8 >::type | CSCCorrelatedNoiseMatrix |
typedef CorrelatedNoisifier < CSCCorrelatedNoiseMatrix > | CSCCorrelatedNoisifier |
Public Member Functions | |
float | analogNoise (const CSCDetId &detId, int channel) const |
calculated from pedestalSigma & gain More... | |
virtual void | crosstalk (const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const =0 |
CSCStripConditions () | |
virtual float | gain (const CSCDetId &detId, int channel) const =0 |
virtual float | gainSigma (const CSCDetId &detId, int channel) const =0 |
virtual void | initializeEvent (const edm::EventSetup &es) |
virtual bool | isInBadChamber (const CSCDetId &id) const |
is supplied layer/chamber flagged as bad? (default impl. is no) More... | |
void | noisify (const CSCDetId &detId, CSCAnalogSignal &signal) |
superimposes noise, in fC, on the signal More... | |
virtual float | pedestal (const CSCDetId &detId, int channel) const =0 |
in ADC counts More... | |
virtual float | pedestalSigma (const CSCDetId &detId, int channel) const =0 |
void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
virtual float | smearedGain (const CSCDetId &detId, int channel) const |
virtual | ~CSCStripConditions () |
Protected Member Functions | |
virtual void | fetchNoisifier (const CSCDetId &detId, int istrip)=0 |
Protected Attributes | |
CSCCorrelatedNoisifier * | theNoisifier |
CLHEP::RandGaussQ * | theRandGaussQ |
Definition at line 11 of file CSCStripConditions.h.
Definition at line 14 of file CSCStripConditions.h.
Definition at line 15 of file CSCStripConditions.h.
CSCStripConditions::CSCStripConditions | ( | ) |
Definition at line 14 of file CSCStripConditions.cc.
|
virtual |
Definition at line 20 of file CSCStripConditions.cc.
References theRandGaussQ.
float CSCStripConditions::analogNoise | ( | const CSCDetId & | detId, |
int | channel | ||
) | const |
calculated from pedestalSigma & gain
Definition at line 57 of file CSCStripConditions.cc.
References gain(), pedestalSigma(), and mathSSE::sqrt().
|
pure virtual |
Implemented in CSCDbStripConditions, and CSCConfigurableStripConditions.
Referenced by CSCStripElectronicsSim::addCrosstalk().
|
protectedpure virtual |
Implemented in CSCDbStripConditions, and CSCConfigurableStripConditions.
Referenced by noisify().
|
pure virtual |
channels count from 1 gain is the ratio that takes us from fC to ADC. Nominally around 2
Implemented in CSCDbStripConditions, and CSCConfigurableStripConditions.
Referenced by analogNoise(), noisify(), and smearedGain().
|
pure virtual |
Implemented in CSCDbStripConditions, and CSCConfigurableStripConditions.
Referenced by smearedGain().
|
inlinevirtual |
Reimplemented in CSCDbStripConditions.
Definition at line 25 of file CSCStripConditions.h.
Referenced by CSCDigiProducer::produce().
|
inlinevirtual |
is supplied layer/chamber flagged as bad? (default impl. is no)
Reimplemented in CSCDbStripConditions.
Definition at line 45 of file CSCStripConditions.h.
Referenced by CSCDigitizer::doAction().
void CSCStripConditions::noisify | ( | const CSCDetId & | detId, |
CSCAnalogSignal & | signal | ||
) |
superimposes noise, in fC, on the signal
Definition at line 39 of file CSCStripConditions.cc.
References fetchNoisifier(), gain(), CSCAnalogSignal::getElement(), CSCAnalogSignal::getTimeOffset(), CorrelatedNoisifier< M >::noisify(), CSCAnalogSignal::superimpose(), and theNoisifier.
Referenced by CSCStripElectronicsSim::makeNoiseSignal().
|
pure virtual |
in ADC counts
Implemented in CSCDbStripConditions, and CSCConfigurableStripConditions.
Referenced by CSCStripElectronicsSim::createDigi().
|
pure virtual |
Implemented in CSCDbStripConditions, and CSCConfigurableStripConditions.
Referenced by analogNoise().
void CSCStripConditions::setRandomEngine | ( | CLHEP::HepRandomEngine & | engine | ) |
Definition at line 26 of file CSCStripConditions.cc.
References theRandGaussQ.
Referenced by CSCDigiProducer::CSCDigiProducer().
|
virtual |
Definition at line 33 of file CSCStripConditions.cc.
References gain(), gainSigma(), and theRandGaussQ.
Referenced by CSCStripElectronicsSim::createDigi().
|
protected |
Definition at line 50 of file CSCStripConditions.h.
Referenced by CSCConfigurableStripConditions::fetchNoisifier(), CSCDbStripConditions::fetchNoisifier(), noisify(), and CSCDbStripConditions::~CSCDbStripConditions().
|
protected |
Definition at line 51 of file CSCStripConditions.h.
Referenced by setRandomEngine(), smearedGain(), and ~CSCStripConditions().