CbmRoot
CbmLitFitTracks.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITFITTRACKS_H_
9 #define CBMLITFITTRACKS_H_
10 
11 #include "FairTask.h"
12 #include "TStopwatch.h"
13 
14 class CbmLitFitTracks : public FairTask {
15 public:
20 
24  virtual ~CbmLitFitTracks();
25 
29  virtual InitStatus Init();
30 
34  virtual void Exec(Option_t* opt);
35 
39  virtual void Finish();
40 
41 private:
45  void ReadDataBranches();
46 
50  void DoFit();
51 
56 
57  // Data branches
58  TClonesArray* fGlobalTracks;
59  TClonesArray* fStsTracks;
60  TClonesArray* fTrdTracks;
61  TClonesArray* fMuchTracks;
62  TClonesArray* fTrdHits;
63  TClonesArray* fMuchPixelHits;
64  TClonesArray* fMuchStrawHits;
65 
66  // stopwatches
67  TStopwatch fFitWatch; // stopwatch for track fit without IO
68  TStopwatch fFitWithIOWatch; // stopwatch for track fit including IO
69 
72 
74 };
75 
76 #endif /* CBMLITFITTRACKSPARALLEL_H_ */
CbmLitFitTracks::Exec
virtual void Exec(Option_t *opt)
Derived from FairTask.
Definition: CbmLitFitTracks.cxx:53
CbmLitFitTracks::fTrdHits
TClonesArray * fTrdHits
Definition: CbmLitFitTracks.h:62
CbmLitFitTracks::fMuchStrawHits
TClonesArray * fMuchStrawHits
Definition: CbmLitFitTracks.h:64
CbmLitFitTracks::ClassDef
ClassDef(CbmLitFitTracks, 1)
CbmLitFitTracks::operator=
CbmLitFitTracks & operator=(const CbmLitFitTracks &)
CbmLitFitTracks::Finish
virtual void Finish()
Derived from FairTask.
Definition: CbmLitFitTracks.cxx:60
CbmLitFitTracks::CbmLitFitTracks
CbmLitFitTracks()
Constructor.
Definition: CbmLitFitTracks.cxx:32
CbmLitFitTracks
Definition: CbmLitFitTracks.h:14
CbmLitFitTracks::ReadDataBranches
void ReadDataBranches()
Read data branches.
Definition: CbmLitFitTracks.cxx:62
CbmLitFitTracks::fFitWithIOWatch
TStopwatch fFitWithIOWatch
Definition: CbmLitFitTracks.h:68
CbmLitFitTracks::fTrdTracks
TClonesArray * fTrdTracks
Definition: CbmLitFitTracks.h:60
CbmLitFitTracks::fMuchPixelHits
TClonesArray * fMuchPixelHits
Definition: CbmLitFitTracks.h:63
CbmLitFitTracks::PrintStopwatchStatistics
void PrintStopwatchStatistics()
Print stopwatch statistics.
Definition: CbmLitFitTracks.cxx:138
CbmLitFitTracks::fFitWatch
TStopwatch fFitWatch
Definition: CbmLitFitTracks.h:67
CbmLitFitTracks::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmLitFitTracks.h:58
CbmLitFitTracks::DoFit
void DoFit()
Performs track fit.
Definition: CbmLitFitTracks.cxx:75
CbmLitFitTracks::~CbmLitFitTracks
virtual ~CbmLitFitTracks()
Destructor.
Definition: CbmLitFitTracks.cxx:42
CbmLitFitTracks::CbmLitFitTracks
CbmLitFitTracks(const CbmLitFitTracks &)
CbmLitFitTracks::fStsTracks
TClonesArray * fStsTracks
Definition: CbmLitFitTracks.h:59
CbmLitFitTracks::fMuchTracks
TClonesArray * fMuchTracks
Definition: CbmLitFitTracks.h:61
CbmLitFitTracks::Init
virtual InitStatus Init()
Derived from FairTask.
Definition: CbmLitFitTracks.cxx:44