CbmRoot
CbmLitFindMvdTracks.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITFINDMVDTRACKS_H_
9 #define CBMLITFINDMVDTRACKS_H_
10 
11 #include "FairTask.h"
12 #include "base/CbmLitPtrTypes.h"
13 #include "data/CbmLitHit.h"
14 
15 class CbmEvent;
16 
28 class CbmLitFindMvdTracks : public FairTask {
29 public:
34 
38  virtual ~CbmLitFindMvdTracks();
39 
43  virtual InitStatus Init();
44 
48  virtual void Exec(Option_t* opt);
49 
53  virtual void SetParContainers();
54 
55 private:
59  virtual void Finish();
60 
65 
69  void ConvertInputData(CbmEvent* event);
70 
74  void ConvertOutputData();
75 
80 
84  void ClearArrays();
85 
86  // Pointers to data arrays
87  TClonesArray* fStsTracks; // CbmStsTrack array
88  TClonesArray* fMvdHits; // CbmMvdHits
89  TClonesArray* fEvents;
90 
91  // littrack data arrays
94  TrackPtrVector fLitOutputTracks; // output Lit tracks
95 
96  // Tools
97  TrackFinderPtr fFinder; // track finder
98 
99  Int_t fEventNo; // event counter
100 
103 
105 };
106 
107 #endif /* CBMLITFINDMVDTRACKS_H_ */
CbmLitFindMvdTracks::fStsTracks
TClonesArray * fStsTracks
Definition: CbmLitFindMvdTracks.h:87
CbmLitFindMvdTracks::ReadAndCreateDataBranches
void ReadAndCreateDataBranches()
Read necessary data branches from the input data files.
Definition: CbmLitFindMvdTracks.cxx:84
CbmLitFindMvdTracks::SetParContainers
virtual void SetParContainers()
Inherited from FairTask.
Definition: CbmLitFindMvdTracks.cxx:76
CbmLitFindMvdTracks::fMvdHits
TClonesArray * fMvdHits
Definition: CbmLitFindMvdTracks.h:88
CbmLitFindMvdTracks::fLitStsTracks
TrackPtrVector fLitStsTracks
Definition: CbmLitFindMvdTracks.h:92
CbmLitFindMvdTracks::CbmLitFindMvdTracks
CbmLitFindMvdTracks(const CbmLitFindMvdTracks &)
CbmLitFindMvdTracks::Exec
virtual void Exec(Option_t *opt)
Inherited from FairTask.
Definition: CbmLitFindMvdTracks.cxx:50
CbmLitFindMvdTracks::operator=
CbmLitFindMvdTracks & operator=(const CbmLitFindMvdTracks &)
CbmLitFindMvdTracks::fEvents
TClonesArray * fEvents
Definition: CbmLitFindMvdTracks.h:89
CbmLitFindMvdTracks::ConvertOutputData
void ConvertOutputData()
Convert output littrack data classes to CBMROOT data classes.
Definition: CbmLitFindMvdTracks.cxx:116
CbmLitFindMvdTracks::ConvertInputData
void ConvertInputData(CbmEvent *event)
Convert input data from CBMROOT data classes to littrack data classes.
Definition: CbmLitFindMvdTracks.cxx:95
TrackPtrVector
std::vector< CbmTofTrack * > TrackPtrVector
Definition: CbmTofTypes.h:22
CbmLitFindMvdTracks::ClassDef
ClassDef(CbmLitFindMvdTracks, 1)
CbmLitFindMvdTracks::ClearArrays
void ClearArrays()
Clear arrays and free memory.
Definition: CbmLitFindMvdTracks.cxx:136
CbmLitFindMvdTracks::fFinder
TrackFinderPtr fFinder
Definition: CbmLitFindMvdTracks.h:97
CbmLitFindMvdTracks::fLitMvdHits
HitPtrVector fLitMvdHits
Definition: CbmLitFindMvdTracks.h:93
CbmLitFindMvdTracks::fEventNo
Int_t fEventNo
Definition: CbmLitFindMvdTracks.h:99
CbmLitFindMvdTracks::~CbmLitFindMvdTracks
virtual ~CbmLitFindMvdTracks()
Destructor.
Definition: CbmLitFindMvdTracks.cxx:40
CbmLitFindMvdTracks::CbmLitFindMvdTracks
CbmLitFindMvdTracks()
Constructor.
Definition: CbmLitFindMvdTracks.cxx:30
CbmLitFindMvdTracks
Definition: CbmLitFindMvdTracks.h:28
CbmEvent
Class characterising one event by a collection of links (indices) to data objects,...
Definition: CbmEvent.h:30
CbmLitPtrTypes.h
Typedefs for algorithm interfaces.
CbmLitFindMvdTracks::Finish
virtual void Finish()
Inherited from FairTask.
Definition: CbmLitFindMvdTracks.cxx:82
TrackFinderPtr
boost::shared_ptr< CbmLitTrackFinder > TrackFinderPtr
Definition: CbmTofPtrTypes.h:29
CbmLitFindMvdTracks::Init
virtual InitStatus Init()
Inherited from FairTask.
Definition: CbmLitFindMvdTracks.cxx:42
CbmLitHit.h
Base data class for hits.
CbmLitFindMvdTracks::RunTrackReconstruction
void RunTrackReconstruction()
Run track reconstruction.
Definition: CbmLitFindMvdTracks.cxx:146
HitPtrVector
std::vector< CbmTofHit * > HitPtrVector
Definition: CbmTofTypes.h:14
CbmLitFindMvdTracks::fLitOutputTracks
TrackPtrVector fLitOutputTracks
Definition: CbmLitFindMvdTracks.h:94