er  dev
ERNeuRadHitFinderWBT.h
1 // -------------------------------------------------------------------------
2 // ----- ERNeuRadHitFinderWBT header file -----
3 // ----- Created 03/16 by V.Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERNeuRadHitFinderWBT_H
7 #define ERNeuRadHitFinderWBT_H
8 
9 #include "TClonesArray.h"
10 
11 #include "FairTask.h"
12 
13 #include "ERNeuRadDigiPar.h"
14 #include "ERNeuRadHitWBT.h"
15 
16 class ERNeuRadHitFinderWBT : public FairTask {
17 
18 public:
19 
22 
23  ERNeuRadHitFinderWBT(Int_t verbose);
24 
27 
29  virtual InitStatus Init();
30 
32  virtual void Exec(Option_t* opt);
33 
35  virtual void Finish();
36 
38  virtual void Reset();
39 
43 protected:
44 
45  //Input arrays
46  TClonesArray *fNeuRadPMTSignals;
47 
48  //Output arrays
49  TClonesArray *fNeuRadHits;
50 
51  ERNeuRadDigiPar* fDigiPar;
52 
53  static Int_t fEvent;
54 
55 protected:
56 
57  ERNeuRadHitWBT* AddHit(Int_t detID, TVector3& pos, TVector3& dpos,
58  Int_t ModuleIndex, Int_t FiberIndex, Float_t time, Float_t qInteg);
59 
60 private:
61 
62  virtual void SetParContainers();
63 
64  ClassDef(ERNeuRadHitFinderWBT,1)
65 };
66 
67 #endif // ERNeuRadHitFinderWBT_H
virtual void Exec(Option_t *opt)
TClonesArray * fNeuRadPMTSignals
virtual InitStatus Init()