CbmRoot
Loading...
Searching...
No Matches
CbmMvdDigiToHitTB.h
Go to the documentation of this file.
1/* Copyright (C) 2019 Frankfurt Institute for Advanced Studies, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andreas Redelbach [committer] */
4
5// ----------------------------------------------------------------------------
6// ----- CbmMvdDigiToHitTB header file -----
7// ----- Created by P.Sitzmann 03.12.2014 -----
8// ----------------------------------------------------------------------------
9
10
11#ifndef CBMMVDDIGITOHITTB_H
12#define CBMMVDDIGITOHITTB_H 1
13
14
15#include "FairTask.h"
16#include "TStopwatch.h"
17
18#include <string>
19
20class CbmMvdDetector;
21class TClonesArray;
22class TString;
23
24
25class CbmMvdDigiToHitTB : public FairTask {
26
27 public:
30
31
36 CbmMvdDigiToHitTB(const char* name, Int_t mode = 0, Int_t iVerbose = 1);
37
38
41
42 void Exec(Option_t* opt);
43
45
46 private:
48 Int_t fMode;
51
52 TClonesArray* fEvents;
53 TClonesArray* fInputDigis;
54 TClonesArray* fEventDigis;
55 TClonesArray* fCluster;
56
57
59
60 TString fBranchName; // Name of input branch (MvdDigi)
61
62
63 TStopwatch fTimer;
64
65
66 // ----- Private methods ---------------------------------------------
68 virtual InitStatus Init();
69
70
72 virtual InitStatus ReInit();
73
74
76 virtual void Finish();
77
78
80 void Register();
81
82 void GetMvdGeometry();
83
84
86 void Reset();
87
88
90 void PrintParameters() const;
91 std::string ParametersToString() const;
92
93 private:
96
98};
99
100
101#endif
void Exec(Option_t *opt)
TStopwatch fTimer
ROOT timer.
CbmMvdDigiToHitTB(const CbmMvdDigiToHitTB &)
TClonesArray * fCluster
TClonesArray * fEvents
std::string ParametersToString() const
CbmMvdDigiToHitTB operator=(const CbmMvdDigiToHitTB &)
TClonesArray * fEventDigis
CbmMvdDetector * fDetector
virtual InitStatus ReInit()
ClassDef(CbmMvdDigiToHitTB, 1)
TClonesArray * fInputDigis
virtual InitStatus Init()