CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiGaussianTailNoiseAdder.h
Go to the documentation of this file.
1 #ifndef _TRACKER_SIGAUSSIANTAILNOISEADDER_H
2 #define _TRACKER_SIGAUSSIANTAILNOISEADDER_H
3 
6 
11 namespace CLHEP {
12  class HepRandomEngine;
13  class RandGaussQ;
14 }
15 
17  public:
18  SiGaussianTailNoiseAdder(float,CLHEP::HepRandomEngine&);
20  void addNoise(std::vector<double>&, size_t&, size_t&, int, float);
21  //void createRaw(std::vector<double>&, size_t&, size_t&, int, float, float);
22 
23  void addNoiseVR(std::vector<double> &, std::vector<float> &);
24  void addPedestals(std::vector<double> &, std::vector<float> &);
25  void addCMNoise(std::vector<double> &, float, std::vector<bool> &);
26  void addBaselineShift(std::vector<double> &, std::vector<bool> &);
27 
28  private:
29  //int numStrips;
30  //float noiseRMS;
31  float pedValue;
32  float threshold;
33  CLHEP::HepRandomEngine& rndEngine;
34  CLHEP::RandGaussQ* gaussDistribution;
36 };
37 #endif
38 
GaussianTailNoiseGenerator * genNoise
void addCMNoise(std::vector< double > &, float, std::vector< bool > &)
CLHEP::HepRandomEngine & rndEngine
void addBaselineShift(std::vector< double > &, std::vector< bool > &)
void addNoiseVR(std::vector< double > &, std::vector< float > &)
SiGaussianTailNoiseAdder(float, CLHEP::HepRandomEngine &)
CLHEP::RandGaussQ * gaussDistribution
void addNoise(std::vector< double > &, size_t &, size_t &, int, float)
void addPedestals(std::vector< double > &, std::vector< float > &)