Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:35

0001 #ifndef _TRACKER_SINOISEADDER_H
0002 #define _TRACKER_SINOISEADDER_H
0003 
0004 #include "SimTracker/SiStripDigitizer/interface/SiPileUpSignals.h"
0005 
0006 namespace CLHEP {
0007   class HepRandomEngine;
0008 }
0009 
0010 /**
0011  * Base class to add noise to the strips.
0012  */
0013 class SiNoiseAdder {
0014 public:
0015   virtual ~SiNoiseAdder() {}
0016   virtual void addNoise(std::vector<float> &, size_t &, size_t &, int, float, CLHEP::HepRandomEngine *) const = 0;
0017   //virtual void createRaw(std::vector<float>&,size_t&,size_t&,int,float,float) const = 0;
0018 
0019   virtual void addNoiseVR(std::vector<float> &, std::vector<float> &, CLHEP::HepRandomEngine *) const = 0;
0020   virtual void addPedestals(std::vector<float> &, std::vector<float> &) const = 0;
0021   virtual void addCMNoise(std::vector<float> &, float, std::vector<bool> &, CLHEP::HepRandomEngine *) const = 0;
0022   virtual void addBaselineShift(std::vector<float> &, std::vector<bool> &) const = 0;
0023 
0024   //virtual void addNoiseVR(std::vector<float> &, std::vector<std::pair<int, float> > &) const=0;
0025   //virtual void addPedestals(std::vector<float> &, std::vector<std::pair<int, float> > &) const=0;
0026   //virtual void addConstNoise(std::vector<float> &, float) const=0;
0027   //virtual void addSingleStripNoise(std::vector<float> &, std::vector<float> &) const=0;
0028   //virtual void addConstPed(std::vector<float> &, float) const=0;
0029   //virtual void addRealPed(std::vector<float> &, std::vector<float> &) const=0;
0030   //virtual void addCMNoise(std::vector<float> &, std::vector<std::pair<int, float> > &) const=0;
0031   //virtual void addBaselineShift(std::vector<float> &, std::vector<std::pair<int, float> > &) const=0;
0032 };
0033 #endif