#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, CLHEP::HepRandomEngine *) |
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 |
virtual float | smearedGain (const CSCDetId &detId, int channel, CLHEP::HepRandomEngine *) const |
virtual | ~CSCStripConditions () |
Protected Member Functions | |
virtual void | fetchNoisifier (const CSCDetId &detId, int istrip)=0 |
Protected Attributes | |
CSCCorrelatedNoisifier * | theNoisifier |
Definition at line 13 of file CSCStripConditions.h.
Definition at line 16 of file CSCStripConditions.h.
Definition at line 17 of file CSCStripConditions.h.
CSCStripConditions::CSCStripConditions | ( | ) |
Definition at line 17 of file CSCStripConditions.cc.
|
virtual |
Definition at line 22 of file CSCStripConditions.cc.
float CSCStripConditions::analogNoise | ( | const CSCDetId & | detId, |
int | channel | ||
) | const |
calculated from pedestalSigma & gain
Definition at line 51 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.
References muonCSCDigis_cfi::gain, muonCSCDigis_cfi::pedestal, and muonCSCDigis_cfi::pedestalSigma.
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, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
superimposes noise, in fC, on the signal
Definition at line 33 of file CSCStripConditions.cc.
References fetchNoisifier(), gain(), CSCAnalogSignal::getElement(), CSCAnalogSignal::getTimeOffset(), CorrelatedNoisifier< M >::noisify(), muonCSCDigis_cfi::nScaBins, 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().
|
virtual |
Definition at line 27 of file CSCStripConditions.cc.
References gain(), and gainSigma().
Referenced by CSCStripElectronicsSim::createDigi().
|
protected |
Definition at line 50 of file CSCStripConditions.h.
Referenced by CSCConfigurableStripConditions::fetchNoisifier(), CSCDbStripConditions::fetchNoisifier(), noisify(), and CSCDbStripConditions::~CSCDbStripConditions().