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