CMS 3D CMS Logo

SiGaussianTailNoiseAdder.h
Go to the documentation of this file.
1 #ifndef _TRACKER_SIGAUSSIANTAILNOISEADDER_H
2 #define _TRACKER_SIGAUSSIANTAILNOISEADDER_H
3 
4 #include <memory>
5 
6 #include "SiNoiseAdder.h"
8 
13 namespace CLHEP {
14  class HepRandomEngine;
15 }
16 
18 public:
20  ~SiGaussianTailNoiseAdder() override;
21  void addNoise(std::vector<float> &, size_t &, size_t &, int, float, CLHEP::HepRandomEngine *) const override;
22 
23  void addNoiseVR(std::vector<float> &, std::vector<float> &, CLHEP::HepRandomEngine *) const override;
24  void addPedestals(std::vector<float> &, std::vector<float> &) const override;
25  void addCMNoise(std::vector<float> &, float, std::vector<bool> &, CLHEP::HepRandomEngine *) const override;
26  void addBaselineShift(std::vector<float> &, std::vector<bool> &) const override;
27 
28 private:
29  const float threshold;
30  std::unique_ptr<GaussianTailNoiseGenerator> genNoise;
31 };
32 #endif
SiGaussianTailNoiseAdder::SiGaussianTailNoiseAdder
SiGaussianTailNoiseAdder(float)
Definition: SiGaussianTailNoiseAdder.cc:4
SiGaussianTailNoiseAdder::addCMNoise
void addCMNoise(std::vector< float > &, float, std::vector< bool > &, CLHEP::HepRandomEngine *) const override
Definition: SiGaussianTailNoiseAdder.cc:52
SiGaussianTailNoiseAdder::addNoise
void addNoise(std::vector< float > &, size_t &, size_t &, int, float, CLHEP::HepRandomEngine *) const override
Definition: SiGaussianTailNoiseAdder.cc:9
SiGaussianTailNoiseAdder::addNoiseVR
void addNoiseVR(std::vector< float > &, std::vector< float > &, CLHEP::HepRandomEngine *) const override
Definition: SiGaussianTailNoiseAdder.cc:34
SiNoiseAdder.h
GaussianTailNoiseGenerator.h
SiGaussianTailNoiseAdder::threshold
const float threshold
Definition: SiGaussianTailNoiseAdder.h:29
SiGaussianTailNoiseAdder::addBaselineShift
void addBaselineShift(std::vector< float > &, std::vector< bool > &) const override
Definition: SiGaussianTailNoiseAdder.cc:66
SiNoiseAdder
Definition: SiNoiseAdder.h:13
CLHEP
Definition: CocoaGlobals.h:27
SiGaussianTailNoiseAdder
Definition: SiGaussianTailNoiseAdder.h:17
SiGaussianTailNoiseAdder::addPedestals
void addPedestals(std::vector< float > &, std::vector< float > &) const override
Definition: SiGaussianTailNoiseAdder.cc:45
SiGaussianTailNoiseAdder::genNoise
std::unique_ptr< GaussianTailNoiseGenerator > genNoise
Definition: SiGaussianTailNoiseAdder.h:30
SiGaussianTailNoiseAdder::~SiGaussianTailNoiseAdder
~SiGaussianTailNoiseAdder() override
Definition: SiGaussianTailNoiseAdder.cc:7