er  dev
ERmuSiMatcher.h
1 // -------------------------------------------------------------------------
2 // ----- ERmuSiMatcher header file -----
3 // ----- Created 03/16 by V.Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERMUSIMATCHER_H
7 #define ERMUSIMATCHER_H
8 
9 #include "TClonesArray.h"
10 #include "TH1F.h"
11 
12 #include "FairTask.h"
13 
14 class ERmuSiMatcher : public FairTask {
15 
16 public:
18  ERmuSiMatcher();
19 
23  ERmuSiMatcher(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  //Input arrays
45  TClonesArray *fmuSiPoints;
46  TClonesArray *fmuSiHits;
47  TClonesArray *fmuSiTracks;
48  TClonesArray *fmuSiVertecies;
49  TClonesArray *fMCTracks;
50  Int_t fTrueTracksNb;
51  Int_t fWrongTracksNb;
52  Int_t fMCTracksNb;
53  Int_t fShortMCTracksNb;
54  Int_t fNotFoundedVerteciesNb;
55 
56  //Histo
57  TH1F* fHVertexDz;
58  TH1F* fHVertexDxy;
59 protected:
60 
61 private:
62  virtual void SetParContainers();
63 
64  ClassDef(ERmuSiMatcher,1)
65 };
66 
67 struct MCVertex{
68  Float_t x;
69  Float_t y;
70  Float_t z;
71  MCVertex(Float_t x_, Float_t y_, Float_t z_){x =x_; y=y_; z=z_;}
72 };
73 
74 #endif
TClonesArray * fmuSiPoints
Definition: ERmuSiMatcher.h:45
virtual void Finish()
virtual void Exec(Option_t *opt)
virtual void Reset()
virtual InitStatus Init()