CbmRoot
Loading...
Searching...
No Matches
CbmKfFitTracksTask.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2023 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: S.Gorbunov[committer] */
4
9
10
11#pragma once
12
13#include "CbmKfTrackFitter.h"
14#include "FairTask.h"
15
16class TClonesArray;
17
21class CbmKfFitTracksTask : public FairTask {
22 public:
29
30 // Constructors/Destructors ---------
31 CbmKfFitTracksTask(FitMode mode = FitMode::kSts, Int_t iVerbose = 0);
32
35
36 virtual ~CbmKfFitTracksTask();
37
38 InitStatus Init() override;
39 void Exec(Option_t* opt) override;
40 void Finish() override;
41
45
46 private:
48
50
51 TClonesArray* fGlobalTracks{nullptr};
52 TClonesArray* fStsTracks{nullptr};
53 TClonesArray* fMuchTracks{nullptr};
54 TClonesArray* fTrdTracks{nullptr};
55 TClonesArray* fTofTracks{nullptr};
56
58
60
61 // ClassDefOverride(CbmKfFitTracksTask, 0);
62};
Task class for refitting global or sts tracks.
TClonesArray * fGlobalTracks
input data arrays
TClonesArray * fTrdTracks
trd tracks
TClonesArray * fMuchTracks
much tracks
CbmKfFitTracksTask(const CbmKfFitTracksTask &)=delete
CbmKfTrackFitter fFitter
track fitter
const CbmKfFitTracksTask & operator=(const CbmKfFitTracksTask &)=delete
void Exec(Option_t *opt) override
Int_t fNeventsProcessed
number of processed events
TClonesArray * fStsTracks
sts tracks
TClonesArray * fTofTracks
tof tracks
InitStatus Init() override
CbmKfFitTracksTask(FitMode mode=FitMode::kSts, Int_t iVerbose=0)