PandaRoot
BSEmcBwEndcapTimebasedWaveforms.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------
2 // Author List:
3 // Phil Strother Original author
4 // Dima Melnichuk - adaption for PANDA
5 // Philippp Mahlberg - integrtion in timebased simulation concept
6 // Guang Zhao - implementation for bwec
7 //----------------------------------------------------------------------
8 
9 //#pragma once
10 #ifndef BSEMCBWENDCAPTIMEBASEDWAVEFORMS_HH
11 #define BSEMCBWENDCAPTIMEBASEDWAVEFORMS_HH
12 
14 
16 
26  public:
27  // Constructors
28  BSEmcBwEndcapTimebasedWaveforms(const std::string &t_detectorname = "BwEndcap", Bool_t t_storewaves = kFALSE);
29  // Destructor
31 
32  void SingleAPDMode(Bool_t t_mode = kTRUE) { fSingleAPDMode = t_mode; }
33  void NoiseMode(Int_t t_mode = 1) { fNoiseMode = t_mode; } // 1 for reduced ifft, 0 for full ifft
34  void RunTestMode(Double_t t_energy = 0.01)
35  {
36  fTestMode = kTRUE;
37  fTestEnergy = t_energy;
38  }
39 
40  protected:
41  virtual void SetupSimulator() /*override*/;
42 
43  private:
44  // don't allow copying (-Weffc++)
46  BSEmcBwEndcapTimebasedWaveforms &operator=(const BSEmcBwEndcapTimebasedWaveforms &); // no implementation
47 
48  private:
49  Bool_t fSingleAPDMode{kFALSE};
50  Int_t fNoiseMode{1};
51  Bool_t fTestMode{kFALSE};
52  Double_t fTestEnergy{0};
53 
55 };
56 
57 #endif /*BSEMCBWENDCAPTIMEBASEDWAVEFORMS_HH*/
BSEmcBwEndcapTimebasedWaveforms(const std::string &t_detectorname="BwEndcap", Bool_t t_storewaves=kFALSE)
parameter set of Emc digitisation
ClassDef(BSEmcMCHitToTimebasedWaveforms, 2)
Taks to create waveforms from hits.
Taks to create waveforms from hits.