CbmRoot
Loading...
Searching...
No Matches
CbmMvdHitfinderTB.h
Go to the documentation of this file.
1/* Copyright (C) 2017 Institut fuer Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Philipp Sitzmann [committer] */
4
5// ----------------------------------------------------------------------------
6// ----- CbmMvdHitfinderTB header file -----
7// ----- Created by C. Dritsa (2009) -----
8// ----- Maintained by M.Deveaux (m.deveaux(att)gsi.de) -----
9// ----------------------------------------------------------------------------
10
11#ifndef CBMMVDHITFINDERTB_H
12#define CBMMVDHITFINDERTB_H 1
13
14#include "FairTask.h"
15#include "TStopwatch.h"
16
17#include <string>
18
19class CbmMvdDetector;
20
21
22class CbmMvdHitfinderTB : public FairTask {
23
24 public:
27
28
33 CbmMvdHitfinderTB(const char* name, Int_t iVerbose = 1);
34 CbmMvdHitfinderTB(const char* name, Int_t mode, Int_t iVerbose);
35
37 virtual ~CbmMvdHitfinderTB();
38
39 void Exec(Option_t* opt);
40 void UseClusterfinder(Bool_t clusterfinderFlag)
41 {
42 useClusterfinder = clusterfinderFlag;
43 }; //* enable use of external clusterfinder
45
46 protected:
47 private:
49
50 TClonesArray* fInputDigis;
51 TClonesArray* fInputCluster;
52 TClonesArray* fHits;
53
57 TStopwatch fTimer;
58 Int_t fmode;
59
60 // ----- Private methods ---------------------------------------------
62 virtual InitStatus Init();
63
64
66 virtual InitStatus ReInit();
67
68
70 virtual void Finish();
71
72
74 void Register();
75
76
78 void Reset();
79
80 void GetMvdGeometry();
81
83 void PrintParameters() const;
84 std::string ParametersToString() const;
85
86 private:
89
91};
92
93
94#endif
TStopwatch fTimer
ROOT timer.
void UseClusterfinder(Bool_t clusterfinderFlag)
CbmMvdDetector * fDetector
TClonesArray * fHits
TClonesArray * fInputDigis
CbmMvdHitfinderTB(const CbmMvdHitfinderTB &)
CbmMvdHitfinderTB operator=(const CbmMvdHitfinderTB &)
ClassDef(CbmMvdHitfinderTB, 1)
std::string ParametersToString() const
TClonesArray * fInputCluster
virtual InitStatus Init()
void Exec(Option_t *opt)
virtual InitStatus ReInit()