CbmRoot
Loading...
Searching...
No Matches
CbmLitFindMvdTracks.h
Go to the documentation of this file.
1/* Copyright (C) 2011-2017 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
12#ifndef CBMLITFINDMVDTRACKS_H_
13#define CBMLITFINDMVDTRACKS_H_
14
15#include "FairTask.h"
16#include "base/CbmLitPtrTypes.h"
17#include "data/CbmLitHit.h"
18
19class CbmEvent;
20class TClonesArray;
21
33class CbmLitFindMvdTracks : public FairTask {
34 public:
39
43 virtual ~CbmLitFindMvdTracks();
44
48 virtual InitStatus Init();
49
53 virtual void Exec(Option_t* opt);
54
58 virtual void SetParContainers();
59
60 private:
64 virtual void Finish();
65
70
74 void ConvertInputData(CbmEvent* event);
75
79 void ConvertOutputData();
80
85
89 void ClearArrays();
90
91 // Pointers to data arrays
92 TClonesArray* fStsTracks; // CbmStsTrack array
93 TClonesArray* fMvdHits; // CbmMvdHits
94 TClonesArray* fEvents;
95
96 // littrack data arrays
99 TrackPtrVector fLitOutputTracks; // output Lit tracks
100
101 // Tools
102 TrackFinderPtr fFinder; // track finder
103
104 Int_t fEventNo; // event counter
105
108
110};
111
112#endif /* CBMLITFINDMVDTRACKS_H_ */
Base data class for hits.
Typedefs for algorithm interfaces.
boost::shared_ptr< CbmLitTrackFinder > TrackFinderPtr
std::vector< CbmTofTrack * > TrackPtrVector
Definition CbmTofTypes.h:26
std::vector< CbmTofHit * > HitPtrVector
Definition CbmTofTypes.h:20
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
virtual ~CbmLitFindMvdTracks()
Destructor.
virtual void Exec(Option_t *opt)
Inherited from FairTask.
void ConvertOutputData()
Convert output littrack data classes to CBMROOT data classes.
CbmLitFindMvdTracks & operator=(const CbmLitFindMvdTracks &)
void ClearArrays()
Clear arrays and free memory.
virtual InitStatus Init()
Inherited from FairTask.
virtual void SetParContainers()
Inherited from FairTask.
virtual void Finish()
Inherited from FairTask.
CbmLitFindMvdTracks(const CbmLitFindMvdTracks &)
ClassDef(CbmLitFindMvdTracks, 1)
void ReadAndCreateDataBranches()
Read necessary data branches from the input data files.
CbmLitFindMvdTracks()
Constructor.
TrackPtrVector fLitStsTracks
void ConvertInputData(CbmEvent *event)
Convert input data from CBMROOT data classes to littrack data classes.
void RunTrackReconstruction()
Run track reconstruction.
TrackPtrVector fLitOutputTracks