3 #include "SimGeneral/NoiseGenerators/interface/CorrelatedNoisifier.icc" 5 #include "CLHEP/Random/RandGaussQ.h" 10 CSCAnalogSignal &, CLHEP::HepRandomEngine *,
const std::vector<double> *rangau)
const;
17 return CLHEP::RandGaussQ::shoot(engine,
gain(detId, channel),
gainSigma(detId, channel));
22 const float scaBinSize = 50.;
24 std::vector<float> binValues(nScaBins, 0.);
31 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
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