CbmRoot
CbmRecoTracks.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2016 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 // -------------------------------------------------------------------------
9 // ----- CbmRecoTracks header file -----
10 // ----- Created 12/02/16 by T. Ablyazimov -----
11 // -------------------------------------------------------------------------
12 
13 
21 #ifndef CBMRECOTRACKS_H
22 #define CBMRECOTRACKS_H
23 
24 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
25 #include <RtypesCore.h> // for Int_t, Double_t, Option_t
26 //#include <TEveTrackPropagator.h> // IWYU pragma: keep needed by cint
27 #include <TClonesArray.h> // IWYU pragma: keep needed by cliong
28 #include <TEveVector.h> // for TEveVector
29 #include <TString.h> // for TString
30 
31 #include <FairTask.h> // for FairTask, InitStatus
32 
33 class CbmPixelHit;
34 class CbmStsTrack;
35 class CbmTrack;
36 class FairEventManager;
37 class TEveTrack;
38 class TEveTrackList;
39 class TObjArray;
40 class TParticle;
41 class TEveTrackPropagator;
42 
43 class CbmRecoTracks : public FairTask {
44 
45 public:
47  CbmRecoTracks();
48 
49 
54  CbmRecoTracks(const char* name, Int_t iVerbose = 1);
55 
57  virtual ~CbmRecoTracks();
58 
60  void SetVerbose(Int_t iVerbose) { fVerbose = iVerbose; }
62  virtual void Exec(Option_t* option);
63  virtual InitStatus Init();
64  virtual void SetParContainers();
65 
67  virtual void Finish();
68  void Reset();
69  TEveTrackList* GetTrGroup(TParticle* P);
70 
71 protected:
72  void HandlePixelHit(TEveTrack* eveTrack,
73  Int_t& n,
74  const CbmPixelHit* hit,
75  TEveVector* pMom);
76  void HandleTrack(TEveTrack* eveTrack, Int_t& n, const CbmTrack* recoTrack);
77  void
78  HandleStsTrack(TEveTrack* eveTrack, Int_t& n, const CbmStsTrack* stsTrack);
79 
80  TClonesArray* fGlobalTracks;
81  TClonesArray* fMvdHits;
82  TClonesArray* fStsHits;
83  TClonesArray* fStsTracks;
84  TClonesArray* fRichRings;
85  TClonesArray* fRichHits;
86  TClonesArray* fMuchPixelHits;
87  TClonesArray* fMuchTracks;
88  TClonesArray* fTrdHits;
89  TClonesArray* fTrdTracks;
90  TClonesArray* fTofHits;
91  TEveTrackPropagator* fTrPr;
92  FairEventManager* fEventManager;
93  TObjArray* fEveTrList;
94  TString fEvent;
95  TEveTrackList* fTrList;
96  //TEveElementList *fTrackCont;
97 
98  Double_t MinEnergyLimit;
99  Double_t MaxEnergyLimit;
100  Double_t PEnergy;
101 
102 private:
105 
107 };
108 
109 
110 #endif
CbmRecoTracks::fEventManager
FairEventManager * fEventManager
Definition: CbmRecoTracks.h:92
CbmRecoTracks::fEvent
TString fEvent
Definition: CbmRecoTracks.h:94
CbmRecoTracks::HandleTrack
void HandleTrack(TEveTrack *eveTrack, Int_t &n, const CbmTrack *recoTrack)
Definition: CbmRecoTracks.cxx:143
CbmRecoTracks::CbmRecoTracks
CbmRecoTracks()
Definition: CbmRecoTracks.cxx:44
CbmRecoTracks::fStsHits
TClonesArray * fStsHits
Definition: CbmRecoTracks.h:82
CbmRecoTracks::fTrdTracks
TClonesArray * fTrdTracks
Definition: CbmRecoTracks.h:89
CbmRecoTracks::Init
virtual InitStatus Init()
Definition: CbmRecoTracks.cxx:91
CbmRecoTracks::fTrPr
TEveTrackPropagator * fTrPr
Definition: CbmRecoTracks.h:91
CbmRecoTracks::fMuchTracks
TClonesArray * fMuchTracks
Definition: CbmRecoTracks.h:87
CbmRecoTracks::fRichRings
TClonesArray * fRichRings
Definition: CbmRecoTracks.h:84
CbmRecoTracks::SetVerbose
void SetVerbose(Int_t iVerbose)
Definition: CbmRecoTracks.h:60
CbmRecoTracks::MaxEnergyLimit
Double_t MaxEnergyLimit
Definition: CbmRecoTracks.h:99
CbmTrack
Definition: CbmTrack.h:32
CbmRecoTracks::PEnergy
Double_t PEnergy
Definition: CbmRecoTracks.h:100
CbmRecoTracks::fMuchPixelHits
TClonesArray * fMuchPixelHits
Definition: CbmRecoTracks.h:86
CbmRecoTracks::fRichHits
TClonesArray * fRichHits
Definition: CbmRecoTracks.h:85
CbmRecoTracks::operator=
CbmRecoTracks & operator=(const CbmRecoTracks &)
CbmRecoTracks::CbmRecoTracks
CbmRecoTracks(const CbmRecoTracks &)
CbmRecoTracks::fMvdHits
TClonesArray * fMvdHits
Definition: CbmRecoTracks.h:81
CbmRecoTracks::HandleStsTrack
void HandleStsTrack(TEveTrack *eveTrack, Int_t &n, const CbmStsTrack *stsTrack)
Definition: CbmRecoTracks.cxx:177
CbmRecoTracks::Reset
void Reset()
Definition: CbmRecoTracks.cxx:282
CbmRecoTracks::fTofHits
TClonesArray * fTofHits
Definition: CbmRecoTracks.h:90
CbmRecoTracks::SetParContainers
virtual void SetParContainers()
Definition: CbmRecoTracks.cxx:277
CbmRecoTracks::fTrList
TEveTrackList * fTrList
Definition: CbmRecoTracks.h:95
CbmRecoTracks::fTrdHits
TClonesArray * fTrdHits
Definition: CbmRecoTracks.h:88
CbmRecoTracks::Finish
virtual void Finish()
Definition: CbmRecoTracks.cxx:280
CbmRecoTracks::~CbmRecoTracks
virtual ~CbmRecoTracks()
Definition: CbmRecoTracks.cxx:275
CbmRecoTracks::fEveTrList
TObjArray * fEveTrList
Definition: CbmRecoTracks.h:93
CbmRecoTracks
Definition: CbmRecoTracks.h:43
CbmPixelHit
Definition: CbmPixelHit.h:21
CbmRecoTracks::MinEnergyLimit
Double_t MinEnergyLimit
Definition: CbmRecoTracks.h:98
CbmRecoTracks::ClassDef
ClassDef(CbmRecoTracks, 1)
CbmRecoTracks::Exec
virtual void Exec(Option_t *option)
Definition: CbmRecoTracks.cxx:207
CbmStsTrack
Definition: CbmStsTrack.h:37
CbmRecoTracks::HandlePixelHit
void HandlePixelHit(TEveTrack *eveTrack, Int_t &n, const CbmPixelHit *hit, TEveVector *pMom)
Definition: CbmRecoTracks.cxx:127
CbmRecoTracks::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmRecoTracks.h:80
CbmRecoTracks::GetTrGroup
TEveTrackList * GetTrGroup(TParticle *P)
Definition: CbmRecoTracks.cxx:290
CbmRecoTracks::fStsTracks
TClonesArray * fStsTracks
Definition: CbmRecoTracks.h:83