1 #ifndef CSCDigitizer_CSCStripConditions_h
2 #define CSCDigitizer_CSCStripConditions_h
8 #include "CLHEP/Random/RandGaussQ.h"
29 virtual float gain(
const CSCDetId & detId,
int channel)
const = 0;
41 double stripLength,
bool leftRight,
42 float & capacitive,
float & resistive)
const = 0;
virtual float pedestalSigma(const CSCDetId &detId, int channel) const =0
virtual float pedestal(const CSCDetId &detId, int channel) const =0
in ADC counts
float analogNoise(const CSCDetId &detId, int channel) const
calculated from pedestalSigma & gain
void setRandomEngine(CLHEP::HepRandomEngine &engine)
virtual void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const =0
virtual void fetchNoisifier(const CSCDetId &detId, int istrip)=0
void noisify(const CSCDetId &detId, CSCAnalogSignal &signal)
superimposes noise, in fC, on the signal
virtual void initializeEvent(const edm::EventSetup &es)
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > type
virtual float gain(const CSCDetId &detId, int channel) const =0
virtual float gainSigma(const CSCDetId &detId, int channel) const =0
virtual float smearedGain(const CSCDetId &detId, int channel) const
CLHEP::RandGaussQ * theRandGaussQ
CSCCorrelatedNoisifier * theNoisifier
virtual ~CSCStripConditions()
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier
virtual bool isInBadChamber(const CSCDetId &id) const
is supplied layer/chamber flagged as bad? (default impl. is no)