PandaRoot
PndMdtDigitization.h
Go to the documentation of this file.
1 #ifndef PNDMDTDIGITIZATION_H
2 #define PNDMDTDIGITIZATION_H 1
3 
4 #include <PndPersistencyTask.h>
5 #include "TVector3.h"
6 
7 class TClonesArray;
8 class PndMdtIGeometry;
9 class PndMdtDigi;
10 class PndMdtWaveform;
11 
13 
14  public:
16  PndMdtDigitization(Int_t verbose = 0, Bool_t store = kTRUE);
19 
21  virtual InitStatus Init();
22 
24  virtual void Exec(Option_t *opt);
25 
26  void SetStorageOfData(Bool_t) { ; } // val //[R.K.03/2017] unused variable(s)
27  void FinishTask();
28 
29  void RunTimeBased() { fTimeOrderedDigi = kTRUE; }
30 
31  private:
32  PndMdtDigi *AddDigiBox(Int_t detID, TVector3 &pos, Int_t);
33  PndMdtDigi *AddDigiStrip(Int_t detID, TVector3 &pos, Int_t);
34  PndMdtDigi *AddDigi(Int_t detID, TVector3 &pos, Int_t evtNo);
35  Bool_t Digitize(PndMdtWaveform *theWf, Double_t &time, Double_t &amp, Bool_t isWire);
36  void exec_t();
37  void exec_e();
38 
39  Double_t fWireNoiseSigma;
40  Double_t fStripNoiseSigma;
41  Double_t fSamplingInterval;
42 
43  PndMdtIGeometry *fGeoIF;
44 
46  TClonesArray *fWaveformArray;
47 
49  TClonesArray *fDigiBoxArray;
50  TClonesArray *fDigiStripArray;
51  TClonesArray *fDigiArray;
52 
53  Long_t HowManyWireWf;
54  Long_t HowManyWireDigi;
55  Long_t HowManyStripWf;
56  Long_t HowManyStripDigi;
57 
58  Bool_t fTimeOrderedDigi;
59 
60  ClassDef(PndMdtDigitization, 1);
61 };
62 
63 #endif
void SetStorageOfData(Bool_t)
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
PndMdtDigitization(Int_t verbose=0, Bool_t store=kTRUE)