CbmRoot
CbmMuchFindTracks.h
Go to the documentation of this file.
1 
12 #ifndef CBMMUCHFINDTRACKS_H_
13 #define CBMMUCHFINDTRACKS_H_ 1
14 
15 #include "FairTask.h"
16 
17 class CbmMuchTrackFinder;
18 class TClonesArray;
19 
20 class CbmMuchFindTracks : public FairTask {
21 public:
24 
30  CbmMuchFindTracks(const char* name,
31  const char* title = "FairTask",
32  CbmMuchTrackFinder* finder = NULL);
33 
35  virtual ~CbmMuchFindTracks();
36 
38  virtual InitStatus Init();
39 
41  virtual void Exec(Option_t* opt);
42 
44  virtual void Finish();
45 
47  virtual void SetParContainers();
48 
51  Int_t GetNofTracks() { return fNofTracks; };
52 
54  void UseFinder(CbmMuchTrackFinder* finder) { fFinder = finder; };
55 
56 private:
57  CbmMuchTrackFinder* fFinder; // Pointer to TrackFinder concrete class
58  TClonesArray* fTrackArray; // Output array of CbmTrdTracks
59  Int_t fNofTracks; // Number of tracks created
60 
63 
65 };
66 
67 #endif
CbmMuchFindTracks::Init
virtual InitStatus Init()
Definition: CbmMuchFindTracks.cxx:32
CbmMuchFindTracks::operator=
CbmMuchFindTracks & operator=(const CbmMuchFindTracks &)
CbmMuchFindTracks::ClassDef
ClassDef(CbmMuchFindTracks, 1)
CbmMuchFindTracks::~CbmMuchFindTracks
virtual ~CbmMuchFindTracks()
Definition: CbmMuchFindTracks.cxx:28
CbmMuchTrackFinder
Definition: CbmMuchTrackFinder.h:15
CbmMuchFindTracks::Finish
virtual void Finish()
Definition: CbmMuchFindTracks.cxx:65
CbmMuchFindTracks::CbmMuchFindTracks
CbmMuchFindTracks(const CbmMuchFindTracks &)
CbmMuchFindTracks
Definition: CbmMuchFindTracks.h:20
CbmMuchFindTracks::UseFinder
void UseFinder(CbmMuchTrackFinder *finder)
Definition: CbmMuchFindTracks.h:54
CbmMuchFindTracks::fTrackArray
TClonesArray * fTrackArray
Definition: CbmMuchFindTracks.h:58
CbmMuchFindTracks::fNofTracks
Int_t fNofTracks
Definition: CbmMuchFindTracks.h:59
CbmMuchFindTracks::Exec
virtual void Exec(Option_t *opt)
Definition: CbmMuchFindTracks.cxx:57
CbmMuchFindTracks::fFinder
CbmMuchTrackFinder * fFinder
Definition: CbmMuchFindTracks.h:54
CbmMuchFindTracks::SetParContainers
virtual void SetParContainers()
Definition: CbmMuchFindTracks.cxx:53
CbmMuchFindTracks::GetNofTracks
Int_t GetNofTracks()
Definition: CbmMuchFindTracks.h:51
CbmMuchFindTracks::GetFinder
CbmMuchTrackFinder * GetFinder()
Definition: CbmMuchFindTracks.h:50
CbmMuchFindTracks::CbmMuchFindTracks
CbmMuchFindTracks()
Definition: CbmMuchFindTracks.cxx:16