#include <RPGaussianTailNoiseAdder.h>
Public Member Functions | |
simromanpot::strip_charge_map | addNoise (const simromanpot::strip_charge_map &theSignal) |
RPGaussianTailNoiseAdder (int numStrips, double theNoiseInElectrons, double theStripThresholdInE, CLHEP::HepRandomEngine &eng, int verbosity) | |
Private Attributes | |
int | numStrips_ |
CLHEP::HepRandomEngine & | rndEngine_ |
double | strips_above_threshold_prob_ |
double | theNoiseInElectrons |
double | theStripThresholdInE |
int | verbosity_ |
Definition at line 7 of file RPGaussianTailNoiseAdder.h.
RPGaussianTailNoiseAdder::RPGaussianTailNoiseAdder | ( | int | numStrips, |
double | theNoiseInElectrons, | ||
double | theStripThresholdInE, | ||
CLHEP::HepRandomEngine & | eng, | ||
int | verbosity | ||
) |
Definition at line 12 of file RPGaussianTailNoiseAdder.cc.
References mathSSE::sqrt(), strips_above_threshold_prob_, theNoiseInElectrons, and theStripThresholdInE.
simromanpot::strip_charge_map RPGaussianTailNoiseAdder::addNoise | ( | const simromanpot::strip_charge_map & | theSignal | ) |
Definition at line 22 of file RPGaussianTailNoiseAdder.cc.
References mps_fire::i, dqmiolumiharvest::j, hgchebackDigitizer_cfi::noise, numStrips_, rndEngine_, digitizers_cfi::strip, strips_above_threshold_prob_, theNoiseInElectrons, theStripThresholdInE, and verbosity_.
|
private |
Definition at line 17 of file RPGaussianTailNoiseAdder.h.
Referenced by addNoise().
|
private |
Definition at line 21 of file RPGaussianTailNoiseAdder.h.
Referenced by addNoise().
|
private |
Definition at line 20 of file RPGaussianTailNoiseAdder.h.
Referenced by addNoise(), and RPGaussianTailNoiseAdder().
|
private |
Definition at line 18 of file RPGaussianTailNoiseAdder.h.
Referenced by addNoise(), and RPGaussianTailNoiseAdder().
|
private |
Definition at line 19 of file RPGaussianTailNoiseAdder.h.
Referenced by addNoise(), and RPGaussianTailNoiseAdder().
|
private |
Definition at line 22 of file RPGaussianTailNoiseAdder.h.
Referenced by addNoise().