PandaRoot
CbmGeaneTrEmc.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 CBMGEANETREMC_H
17 #define CBMGEANETREMC_H 1
18 
19 #include "FairTask.h"
20 #include "TVector3.h"
21 #include "FairGeanePro.h"
22 #include "PndEmcPoint.h"
23 #include "PndMCTrack.h"
24 
25 class TGeant3;
26 class TClonesArray;
27 class TTree;
28 class TFile;
29 
30 class FairGeaneTrEmc : public FairTask {
31  public:
34 
37 
39  virtual InitStatus Init();
40 
42  virtual void Exec(Option_t *opt);
43 
44  private:
46  TClonesArray *fPointArray1;
47  TClonesArray *fPointArray2;
48  // CbmPlanePoint *fPoint1;
49  PndMCTrack *fPoint1;
50  PndEmcPoint *fPoint2;
51 
52  TTree *t;
53  TFile *f;
55  TClonesArray *fTrackParIni;
56  TClonesArray *fTrackParGeane;
57  TClonesArray *fTrackParFinal;
58 
59  TGeant3 *gMC3;
60  ClassDef(FairGeaneTrEmc, 1);
61  Int_t fEvent;
62  FairGeanePro *fPro;
63 };
64 
65 #endif
represents a mc hit in an emc crystal
Definition: PndEmcPoint.h:31
virtual void Exec(Option_t *opt)
virtual InitStatus Init()