CbmRoot
Loading...
Searching...
No Matches
CbmLitFitTracks.h
Go to the documentation of this file.
1/* Copyright (C) 2013 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
12#ifndef CBMLITFITTRACKS_H_
13#define CBMLITFITTRACKS_H_
14
15#include "FairTask.h"
16#include "TStopwatch.h"
17
18class TClonesArray;
19
20class CbmLitFitTracks : public FairTask {
21 public:
26
30 virtual ~CbmLitFitTracks();
31
35 virtual InitStatus Init();
36
40 virtual void Exec(Option_t* opt);
41
45 virtual void Finish();
46
47 private:
51 void ReadDataBranches();
52
56 void DoFit();
57
62
63 // Data branches
64 TClonesArray* fGlobalTracks;
65 TClonesArray* fStsTracks;
66 TClonesArray* fTrdTracks;
67 TClonesArray* fMuchTracks;
68 TClonesArray* fTrdHits;
69 TClonesArray* fMuchPixelHits;
70 TClonesArray* fMuchStrawHits;
71
72 // stopwatches
73 TStopwatch fFitWatch; // stopwatch for track fit without IO
74 TStopwatch fFitWithIOWatch; // stopwatch for track fit including IO
75
78
80};
81
82#endif /* CBMLITFITTRACKSPARALLEL_H_ */
TClonesArray * fTrdHits
CbmLitFitTracks()
Constructor.
virtual ~CbmLitFitTracks()
Destructor.
TClonesArray * fMuchTracks
TStopwatch fFitWatch
virtual InitStatus Init()
Derived from FairTask.
virtual void Finish()
Derived from FairTask.
TClonesArray * fGlobalTracks
TClonesArray * fStsTracks
ClassDef(CbmLitFitTracks, 1)
virtual void Exec(Option_t *opt)
Derived from FairTask.
TStopwatch fFitWithIOWatch
CbmLitFitTracks(const CbmLitFitTracks &)
TClonesArray * fMuchPixelHits
void ReadDataBranches()
Read data branches.
void PrintStopwatchStatistics()
Print stopwatch statistics.
CbmLitFitTracks & operator=(const CbmLitFitTracks &)
TClonesArray * fTrdTracks
TClonesArray * fMuchStrawHits
void DoFit()
Performs track fit.