CbmRoot
Loading...
Searching...
No Matches
CbmMvdClusterfinderTB.h
Go to the documentation of this file.
1/* Copyright (C) 2017-2020 Institut fuer Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Philipp Sitzmann [committer] */
4
5// ----------------------------------------------------------------------------
6// ----- CbmMvdClusterfinderTB header file -----
7// ----- Created by P.Sitzmann 03.12.2014 -----
8// ----------------------------------------------------------------------------
9
10
11#ifndef CBMMVDCLUSTERFINDERTB_H
12#define CBMMVDCLUSTERFINDERTB_H 1
13
14
15#include "FairTask.h"
16#include "TStopwatch.h"
17
18#include <string>;
19
20class CbmMvdDetector;
21class TClonesArray;
22class TString;
23class CbmDigiManager;
24
25
26class CbmMvdClusterfinderTB : public FairTask {
27
28 public:
31
32
37 CbmMvdClusterfinderTB(const char* name, Int_t mode = 0, Int_t iVerbose = 1);
38
39
42
43 void Exec(Option_t* opt);
44
46
47 private:
49 Int_t fMode;
52
53 TClonesArray* fEvents;
55 TClonesArray* fEventDigis;
56 TClonesArray* fCluster;
57
58
60
61 TString fBranchName; // Name of input branch (MvdDigi)
62
63
64 TStopwatch fTimer;
65
66
67 // ----- Private methods ---------------------------------------------
69 virtual InitStatus Init();
70
71
73 virtual InitStatus ReInit();
74
75
77 virtual void Finish();
78
79
81 void Register();
82
83 void GetMvdGeometry();
84
85
87 void Reset();
88
89
91 void PrintParameters() const;
92 std::string ParametersToString() const;
93
94 private:
97
99};
100
101
102#endif
CbmDigiManager.
ClassDef(CbmMvdClusterfinderTB, 1)
CbmMvdClusterfinderTB(const CbmMvdClusterfinderTB &)
TStopwatch fTimer
ROOT timer.
std::string ParametersToString() const
CbmMvdClusterfinderTB operator=(const CbmMvdClusterfinderTB &)