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);
virtual float pedestalSigma(const CSCDetId &detId, int channel) const =0
virtual void fetchNoisifier(const CSCDetId &detId, int istrip)=0
void noisify(const CSCDetId &detId, CSCAnalogSignal &signal, CLHEP::HepRandomEngine *)
superimposes noise, in fC, on the signal
float analogNoise(const CSCDetId &detId, int channel) const
calculated from pedestalSigma & gain
void superimpose(const CSCAnalogSignal &signal2)
virtual float gain(const CSCDetId &detId, int channel) const =0
virtual float gainSigma(const CSCDetId &detId, int channel) const =0
float getTimeOffset() const
CSCCorrelatedNoisifier * theNoisifier
virtual ~CSCStripConditions()
virtual float smearedGain(const CSCDetId &detId, int channel, CLHEP::HepRandomEngine *) const
int getElement() const
constructor from time and amp shape