SimPPS
RPDigiProducer
plugins
RPGaussianTailNoiseAdder.h
Go to the documentation of this file.
1
#ifndef SimPPS_RPDigiProducer_RP_GAUSSIAN_TAIL_NOISE_ADDER_H
2
#define SimPPS_RPDigiProducer_RP_GAUSSIAN_TAIL_NOISE_ADDER_H
3
4
#include "
SimPPS/RPDigiProducer/plugins/RPHitChargeConverter.h
"
5
#include "
SimPPS/RPDigiProducer/interface/RPSimTypes.h
"
6
7
class
RPGaussianTailNoiseAdder
{
8
public
:
9
RPGaussianTailNoiseAdder
(
int
numStrips,
10
double
theNoiseInElectrons
,
11
double
theStripThresholdInE
,
12
CLHEP::HepRandomEngine &eng,
13
int
verbosity
);
14
simromanpot::strip_charge_map
addNoise
(
const
simromanpot::strip_charge_map
&theSignal);
15
16
private
:
17
int
numStrips_
;
18
double
theNoiseInElectrons
;
19
double
theStripThresholdInE
;
20
double
strips_above_threshold_prob_
;
21
CLHEP::HepRandomEngine &
rndEngine_
;
22
int
verbosity_
;
23
};
24
25
#endif //SimPPS_RPDigiProducer_RP_GAUSSIAN_TAIL_NOISE_ADDER_H
ctppsCommonDQMSource_cfi.verbosity
verbosity
Definition:
ctppsCommonDQMSource_cfi.py:14
RPGaussianTailNoiseAdder::verbosity_
int verbosity_
Definition:
RPGaussianTailNoiseAdder.h:22
RPGaussianTailNoiseAdder::RPGaussianTailNoiseAdder
RPGaussianTailNoiseAdder(int numStrips, double theNoiseInElectrons, double theStripThresholdInE, CLHEP::HepRandomEngine &eng, int verbosity)
Definition:
RPGaussianTailNoiseAdder.cc:12
simromanpot::strip_charge_map
std::map< unsigned short, double > strip_charge_map
Definition:
RPSimTypes.h:14
RPGaussianTailNoiseAdder::theStripThresholdInE
double theStripThresholdInE
Definition:
RPGaussianTailNoiseAdder.h:19
RPGaussianTailNoiseAdder::addNoise
simromanpot::strip_charge_map addNoise(const simromanpot::strip_charge_map &theSignal)
Definition:
RPGaussianTailNoiseAdder.cc:22
RPGaussianTailNoiseAdder::strips_above_threshold_prob_
double strips_above_threshold_prob_
Definition:
RPGaussianTailNoiseAdder.h:20
RPGaussianTailNoiseAdder
Definition:
RPGaussianTailNoiseAdder.h:7
RPHitChargeConverter.h
RPGaussianTailNoiseAdder::rndEngine_
CLHEP::HepRandomEngine & rndEngine_
Definition:
RPGaussianTailNoiseAdder.h:21
RPSimTypes.h
RPGaussianTailNoiseAdder::numStrips_
int numStrips_
Definition:
RPGaussianTailNoiseAdder.h:17
RPGaussianTailNoiseAdder::theNoiseInElectrons
double theNoiseInElectrons
Definition:
RPGaussianTailNoiseAdder.h:18
Generated for CMSSW Reference Manual by
1.8.16