src
SimRomanPot
SimFP420
interface
GaussNoiseFP420.h
Go to the documentation of this file.
1
#ifndef GaussNoiseFP420_h
2
#define GaussNoiseFP420_h
3
4
#include "
SimRomanPot/SimFP420/interface/GNoiseFP420.h
"
5
6
// add noise for channels only with amplitudes greater threshold
7
class
GaussNoiseFP420
:
public
GNoiseFP420
{
8
public
:
9
// GaussNoiseFP420(int,float,float,bool);
10
GaussNoiseFP420
(
int
ns,
float
nrms,
float
th,
bool
aNpixel,
int
verbosity
);
11
PileUpFP420::signal_map_type
addNoise
(
const
PileUpFP420::signal_map_type
&)
override
;
12
void
setNumPixels
(
int
in
) {
numPixels
=
in
; }
13
void
setThreshold
(
float
in
) {
threshold
=
in
; }
14
15
private
:
16
int
numPixels
;
17
float
noiseRMS
;
18
float
threshold
;
19
bool
addNoisyPixels
;
20
int
verbosi
;
21
};
22
#endif
ctppsCommonDQMSource_cfi.verbosity
verbosity
Definition:
ctppsCommonDQMSource_cfi.py:14
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
GaussNoiseFP420
Definition:
GaussNoiseFP420.h:7
GaussNoiseFP420::noiseRMS
float noiseRMS
Definition:
GaussNoiseFP420.h:17
GaussNoiseFP420::threshold
float threshold
Definition:
GaussNoiseFP420.h:18
GaussNoiseFP420::numPixels
int numPixels
Definition:
GaussNoiseFP420.h:16
GaussNoiseFP420::verbosi
int verbosi
Definition:
GaussNoiseFP420.h:20
GaussNoiseFP420::setThreshold
void setThreshold(float in)
Definition:
GaussNoiseFP420.h:13
GaussNoiseFP420::addNoisyPixels
bool addNoisyPixels
Definition:
GaussNoiseFP420.h:19
PileUpFP420::signal_map_type
std::map< int, Amplitude, std::less< int > > signal_map_type
Definition:
PileUpFP420.h:13
GaussNoiseFP420::GaussNoiseFP420
GaussNoiseFP420(int ns, float nrms, float th, bool aNpixel, int verbosity)
Definition:
GaussNoiseFP420.cc:11
GNoiseFP420.h
GaussNoiseFP420::addNoise
PileUpFP420::signal_map_type addNoise(const PileUpFP420::signal_map_type &) override
Definition:
GaussNoiseFP420.cc:14
GaussNoiseFP420::setNumPixels
void setNumPixels(int in)
Definition:
GaussNoiseFP420.h:12
GNoiseFP420
Definition:
GNoiseFP420.h:7
Generated for CMSSW Reference Manual by
1.8.14