CbmRoot
CbmLitFitTracksParallel.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITFITTRACKSPARALLEL_H_
9 #define CBMLITFITTRACKSPARALLEL_H_
10 
11 #include "FairTask.h"
12 #include "TStopwatch.h"
13 
14 class CbmLitFitTracksParallel : public FairTask {
15 public:
20 
24  virtual ~CbmLitFitTracksParallel();
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_ */
CbmLitFitTracksParallel::Exec
virtual void Exec(Option_t *opt)
Derived from FairTask.
Definition: CbmLitFitTracksParallel.cxx:53
CbmLitFitTracksParallel::fStsTracks
TClonesArray * fStsTracks
Definition: CbmLitFitTracksParallel.h:59
CbmLitFitTracksParallel::DoFit
void DoFit()
Performs track fit.
Definition: CbmLitFitTracksParallel.cxx:76
CbmLitFitTracksParallel::fMuchPixelHits
TClonesArray * fMuchPixelHits
Definition: CbmLitFitTracksParallel.h:63
CbmLitFitTracksParallel::Init
virtual InitStatus Init()
Derived from FairTask.
Definition: CbmLitFitTracksParallel.cxx:44
CbmLitFitTracksParallel::Finish
virtual void Finish()
Derived from FairTask.
Definition: CbmLitFitTracksParallel.cxx:61
CbmLitFitTracksParallel::fTrdTracks
TClonesArray * fTrdTracks
Definition: CbmLitFitTracksParallel.h:60
CbmLitFitTracksParallel::fFitWatch
TStopwatch fFitWatch
Definition: CbmLitFitTracksParallel.h:67
CbmLitFitTracksParallel::PrintStopwatchStatistics
void PrintStopwatchStatistics()
Print stopwatch statistics.
Definition: CbmLitFitTracksParallel.cxx:153
CbmLitFitTracksParallel::operator=
CbmLitFitTracksParallel & operator=(const CbmLitFitTracksParallel &)
CbmLitFitTracksParallel::ClassDef
ClassDef(CbmLitFitTracksParallel, 1)
CbmLitFitTracksParallel::fFitWithIOWatch
TStopwatch fFitWithIOWatch
Definition: CbmLitFitTracksParallel.h:68
CbmLitFitTracksParallel::fMuchTracks
TClonesArray * fMuchTracks
Definition: CbmLitFitTracksParallel.h:61
CbmLitFitTracksParallel::~CbmLitFitTracksParallel
virtual ~CbmLitFitTracksParallel()
Destructor.
Definition: CbmLitFitTracksParallel.cxx:42
CbmLitFitTracksParallel::CbmLitFitTracksParallel
CbmLitFitTracksParallel()
Constructor.
Definition: CbmLitFitTracksParallel.cxx:32
CbmLitFitTracksParallel::ReadDataBranches
void ReadDataBranches()
Read data branches.
Definition: CbmLitFitTracksParallel.cxx:63
CbmLitFitTracksParallel::fMuchStrawHits
TClonesArray * fMuchStrawHits
Definition: CbmLitFitTracksParallel.h:64
CbmLitFitTracksParallel::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmLitFitTracksParallel.h:58
CbmLitFitTracksParallel::CbmLitFitTracksParallel
CbmLitFitTracksParallel(const CbmLitFitTracksParallel &)
CbmLitFitTracksParallel
Definition: CbmLitFitTracksParallel.h:14
CbmLitFitTracksParallel::fTrdHits
TClonesArray * fTrdHits
Definition: CbmLitFitTracksParallel.h:62