PandaRoot
PndEmcWaveformDigitizer.h
Go to the documentation of this file.
1 //#pragma once
2 #ifndef PNDEMCWAVEFORMDIGITIZER_H_
3 #define PNDEMCWAVEFORMDIGITIZER_H_
4 
11  public:
13  PndEmcWaveformDigitizer(Int_t nBits, Double_t energyRange, Double_t inputScale);
14 
15  virtual void Modify(PndEmcWaveform *wf);
16  virtual Double_t GetScale() { return fTotalChannels / fInputScale; }
17 
18  private:
19  Int_t fNBits;
20  Double_t fEnergyRange; // in GeV;
21  Double_t fInputScale;
22 
23  Int_t fTotalChannels;
24  Double_t fOneBitResolution;
25 
26  ClassDef(PndEmcWaveformDigitizer, 0);
27 };
28 
29 #endif
interface for waveform modifiers
represents a simulated waveform in an emc crystal
virtual void Modify(PndEmcWaveform *wf)