3 #include "SimGeneral/NoiseGenerators/interface/CorrelatedNoisifier.icc" 5 #include "CLHEP/Random/RandGaussQ.h" 13 CLHEP::HepRandomEngine*,
14 const std::vector<double>* rangau)
const ;
29 return CLHEP::RandGaussQ::shoot(engine,
gain(detId, channel),
gainSigma(detId, channel) );
36 const float scaBinSize = 50.;
38 std::vector<float> binValues(nScaBins, 0.);
46 tmpSignal *= 1./
gain(detId, channel);
float analogNoise(const CSCDetId &detId, int channel) const
calculated from pedestalSigma & gain
virtual void fetchNoisifier(const CSCDetId &detId, int istrip)=0
virtual float gainSigma(const CSCDetId &detId, int channel) const =0
int getElement() const
constructor from time and amp shape
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
virtual float gain(const CSCDetId &detId, int channel) const =0
virtual float pedestalSigma(const CSCDetId &detId, int channel) const =0
float getTimeOffset() const
void noisify(const CSCDetId &detId, CSCAnalogSignal &signal, CLHEP::HepRandomEngine *)
superimposes noise, in fC, on the signal
void superimpose(const CSCAnalogSignal &signal2)
CSCCorrelatedNoisifier * theNoisifier
virtual ~CSCStripConditions()
virtual float smearedGain(const CSCDetId &detId, int channel, CLHEP::HepRandomEngine *) const