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