EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairMCStack.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairMCStack.h
1 // -------------------------------------------------------------------------
2 // ----- FairMCStack header file -----
3 // ----- Created 09/10/08 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 
6 
14 #ifndef FairMCStack_H
15 #define FairMCStack_H
16 
17 
18 #include "FairTask.h"
19 #include "TEveTrackPropagator.h"
20 #include "TString.h"
21 class FairGeanePro;
22 class TGeant3;
23 class TEveTrackList;
24 class FairEventManager;
25 class TObjArray;
26 class FairTrajFilter;
27 
28 //class TEveElementList;
29 class FairMCStack : public FairTask
30 {
31 
32  public:
33 
35  FairMCStack();
36 
37 
38 
43  FairMCStack(const char* name, Int_t iVerbose = 1);
44 
46  virtual ~FairMCStack();
47 
49  void SetVerbose(Int_t iVerbose);
51  virtual void Exec(Option_t* option);
52  virtual InitStatus Init();
53  virtual void SetParContainers();
54 
56  virtual void Finish();
57  void Reset();
58  TEveTrackList* GetTrGroup(TParticle* P);
59 
60  protected:
61 
62 
63  TClonesArray* fTrackList;
64  TEveTrackPropagator* fTrPr;
66  TObjArray* fEveTrList;
67  TString fEvent;
68  TEveTrackList* fTrList;
69  //TEveElementList *fTrackCont;
70  Float_t x1[3];
71  Float_t p1[3];
72  Float_t ein[15];
73  Float_t x2[3];
74  Float_t p2[3];
75  TGeant3* gMC3;
76  Double_t MinEnergyLimit;
77  Double_t MaxEnergyLimit;
78  Double_t PEnergy;
82 
83 };
84 
85 
86 #endif