PandaRoot
PndEmcShashlykNoiseAdder.h
Go to the documentation of this file.
1 //#pragma once
2 #ifndef PNDEMCSHASHLYKNOISEADDER_H_
3 #define PNDEMCSHASHLYKNOISEADDER_H_
4 
6 #include "TString.h"
7 #include "TRandom3.h"
8 
9 class PndEmcWaveform;
10 
17 {
18  public:
21  PndEmcShashlykNoiseAdder(Double_t sigma, Int_t seed);
22 
23  virtual void Modify(PndEmcWaveform* wf);
24 
25  private:
26  TRandom3* fRandom;
27  Double_t fSigma;
28  void get_rnd_noise(PndEmcWaveform* wf, Double_t noise);
29 
31 };
32 
33 #endif
interface for waveform modifiers
virtual void Modify(PndEmcWaveform *wf)
ClassDef(PndEmcAbsWaveformModifier, 1)
represents a simulated waveform in an emc crystal
waveform modifier to add noise to waveform