PandaRoot
CbmGeaneTr.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // Task for the exercise 1 of the GEANE tutorial
14 // Authors A. Fontana & P. Genova, Sept. 2007
15 
16 #ifndef CBMGEANETR_H
17 #define CBMGEANETR_H 1
18 
19 #include "FairTask.h"
20 #include "TVector3.h"
21 #include "FairGeanePro.h"
22 
23 class TGeant3;
24 class TClonesArray;
25 class TTree;
26 class TFile;
27 class CbmPlanePoint;
28 
29 class FairGeaneTr : public FairTask {
30  public:
32  FairGeaneTr();
33 
35  ~FairGeaneTr();
36 
38  virtual InitStatus Init();
39 
41  virtual void Exec(Option_t *opt);
42 
43  private:
45  TClonesArray *fPointArray1;
46  TClonesArray *fPointArray2;
47  CbmPlanePoint *fPoint1;
48  CbmPlanePoint *fPoint2;
49 
50  TTree *t;
51  TFile *f;
53  TClonesArray *fTrackParIni;
54  TClonesArray *fTrackParGeane;
55  TClonesArray *fTrackParFinal;
56 
57  TGeant3 *gMC3;
58  ClassDef(FairGeaneTr, 1);
59  Int_t fEvent;
60  FairGeanePro *fPro;
61 };
62 
63 #endif
virtual void Exec(Option_t *opt)
virtual InitStatus Init()