CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/SimRomanPot/SimFP420/interface/GaussNoiseFP420.h

Go to the documentation of this file.
00001 #ifndef GaussNoiseFP420_h
00002 #define GaussNoiseFP420_h
00003 
00004 #include "SimRomanPot/SimFP420/interface/GNoiseFP420.h"
00005 
00006 // add noise for channels only with amplitudes greater  threshold
00007 class GaussNoiseFP420 : public GNoiseFP420{
00008  public:
00009   // GaussNoiseFP420(int,float,float,bool);
00010   GaussNoiseFP420(int ns, float nrms, float th, bool aNpixel, int verbosity);
00011   PileUpFP420::signal_map_type addNoise(PileUpFP420::signal_map_type);
00012   void setNumPixels(int in){numPixels = in;}
00013   void setThreshold(float in){threshold = in;}
00014 
00015  private:
00016   int numPixels;
00017   float noiseRMS;
00018   float threshold;
00019   bool addNoisyPixels;
00020   int verbosi;
00021 };
00022 #endif