PandaRoot
CbmGeaneTr.h
Go to the documentation of this file.
1 // Task for the exercise 1 of the GEANE tutorial
2 // Authors A. Fontana & P. Genova, Sept. 2007
3 
4 #ifndef CBMGEANETR_H
5 #define CBMGEANETR_H 1
6 
7 #include "FairTask.h"
8 #include "TVector3.h"
9 #include "FairGeanePro.h"
10 
11 class TGeant3;
12 class TClonesArray;
13 class TTree;
14 class TFile;
15 class CbmPlanePoint;
16 
17 class FairGeaneTr : public FairTask {
18  public:
20  FairGeaneTr();
21 
23  ~FairGeaneTr();
24 
26  virtual InitStatus Init();
27 
29  virtual void Exec(Option_t *opt);
30 
31  private:
33  TClonesArray *fPointArray1;
34  TClonesArray *fPointArray2;
35  CbmPlanePoint *fPoint1;
36  CbmPlanePoint *fPoint2;
37 
38  TTree *t;
39  TFile *f;
41  TClonesArray *fTrackParIni;
42  TClonesArray *fTrackParGeane;
43  TClonesArray *fTrackParFinal;
44 
45  TGeant3 *gMC3;
46  ClassDef(FairGeaneTr, 1);
47  Int_t fEvent;
48  FairGeanePro *fPro;
49 };
50 
51 #endif
virtual void Exec(Option_t *opt)
virtual InitStatus Init()