er  dev
ERmuSiTrackFinder.h
1 // -------------------------------------------------------------------------
2 // ----- ERmuSiTrackFinder header file -----
3 // ----- Created 03/16 by V.Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERMUSITRACKFINDER_H
7 #define ERMUSITRACKFINDER_H
8 
9 #include "TClonesArray.h"
10 
11 #include "FairTask.h"
12 
13 #include "ERmuSiHit.h"
14 
15 class ERmuSiTrackFinder : public FairTask {
16 
17 public:
20 
24  ERmuSiTrackFinder(Int_t verbose);
25 
28 
30  virtual InitStatus Init();
31 
33  virtual void Exec(Option_t* opt);
34 
36  virtual void Finish();
37 
39  virtual void Reset();
40 
42  void SetAngleCut(Double_t angle){fAngleCut = angle;}
44 protected:
45  //Input arrays
46  TClonesArray *fmuSiHits;
47 
48  //Output arrays
49  TClonesArray *fmuSiTracks;
50 protected:
51 
52 private:
53  Double_t fAngleCut;
54 
55  virtual void SetParContainers();
56 
57  ClassDef(ERmuSiTrackFinder,1)
58 };
59 
60 struct ERmuSiSinglet {
61  ERmuSiHit* first;
62  ERmuSiHit* second;
63 };
64 
65 #endif
virtual InitStatus Init()
void SetAngleCut(Double_t angle)
TClonesArray * fmuSiHits
virtual void Exec(Option_t *opt)