EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairMCTracks.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairMCTracks.h
1 // -------------------------------------------------------------------------
2 // ----- FairMCTracks header file -----
3 // ----- Created 10/12/07 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 
6 
14 #ifndef FAIRMCTRACKS_H
15 #define FAIRMCTRACKS_H
16 
17 #include "FairTask.h"
18 #include "TEveTrackPropagator.h"
19 #include "TString.h"
20 
21 class FairEventManager;
22 
23 //class TEveTrackPropagator;
24 class TEveTrackList;
25 class TObjArray;
26 class TParticle;
27 
28 class FairMCTracks : public FairTask
29 {
30 
31  public:
32 
34  FairMCTracks();
35 
36 
41  FairMCTracks(const char* name, Int_t iVerbose = 1);
42 
44  virtual ~FairMCTracks();
45 
47  void SetVerbose(Int_t iVerbose) {fVerbose = iVerbose;}
49  virtual void Exec(Option_t* option);
50  virtual InitStatus Init();
51  virtual void SetParContainers();
52 
54  virtual void Finish();
55  void Reset();
56  TEveTrackList* GetTrGroup(TParticle* P);
57 
58  protected:
59 
60 
61  TClonesArray* fTrackList;
62  TEveTrackPropagator* fTrPr;
64  TObjArray* fEveTrList;
65  TString fEvent;
66  TEveTrackList* fTrList;
67  //TEveElementList *fTrackCont;
68 
69  Double_t MinEnergyLimit;
70  Double_t MaxEnergyLimit;
71  Double_t PEnergy;
72 
73  private:
74  FairMCTracks(const FairMCTracks&);
76 
78 
79 };
80 
81 
82 #endif