CbmRoot
Loading...
Searching...
No Matches
CbmMuchFindTracks.h
Go to the documentation of this file.
1/* Copyright (C) 2007-2012 St. Petersburg Polytechnic University, St. Petersburg
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev, Mikhail Ryzhinskiy [committer] */
4
16#ifndef CBMMUCHFINDTRACKS_H_
17#define CBMMUCHFINDTRACKS_H_ 1
18
19#include "FairTask.h"
20
22class TClonesArray;
23
24class CbmMuchFindTracks : public FairTask {
25 public:
28
34 CbmMuchFindTracks(const char* name, const char* title = "FairTask", CbmMuchTrackFinder* finder = NULL);
35
37 virtual ~CbmMuchFindTracks();
38
40 virtual InitStatus Init();
41
43 virtual void Exec(Option_t* opt);
44
46 virtual void Finish();
47
49 virtual void SetParContainers();
50
53 Int_t GetNofTracks() { return fNofTracks; };
54
56 void UseFinder(CbmMuchTrackFinder* finder) { fFinder = finder; };
57
58 private:
59 CbmMuchTrackFinder* fFinder; // Pointer to TrackFinder concrete class
60 TClonesArray* fTrackArray; // Output array of CbmTrdTracks
61 Int_t fNofTracks; // Number of tracks created
62
65
67};
68
69#endif
virtual void Exec(Option_t *opt)
CbmMuchTrackFinder * fFinder
CbmMuchTrackFinder * GetFinder()
virtual void SetParContainers()
void UseFinder(CbmMuchTrackFinder *finder)
virtual InitStatus Init()
CbmMuchFindTracks & operator=(const CbmMuchFindTracks &)
TClonesArray * fTrackArray
ClassDef(CbmMuchFindTracks, 1)
CbmMuchFindTracks(const CbmMuchFindTracks &)