CMS 3D CMS Logo

GaussNoiseFP420.h
Go to the documentation of this file.
1 #ifndef GaussNoiseFP420_h
2 #define GaussNoiseFP420_h
3 
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);
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;
20  int verbosi;
21 };
22 #endif
PileUpFP420::signal_map_type addNoise(const PileUpFP420::signal_map_type &)
void setThreshold(float in)
GaussNoiseFP420(int ns, float nrms, float th, bool aNpixel, int verbosity)
std::map< int, Amplitude, std::less< int > > signal_map_type
Definition: PileUpFP420.h:15
void setNumPixels(int in)