CbmRoot
Loading...
Searching...
No Matches
CbmMvdDigiToHit.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// ----- CbmMvdDigiToHit header file -----
7// ----- Created by P.Sitzmann 03.12.2014 -----
8// ----------------------------------------------------------------------------
9
10
11#ifndef CBMMVDDIGITOHIT_H
12#define CBMMVDDIGITOHIT_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 CbmMvdDigiToHit : public FairTask {
26
27 public:
30
31
36 CbmMvdDigiToHit(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* fInputDigis;
53 TClonesArray* fHit;
54
56
57 TString fBranchName; // Name of input branch (MvdDigi)
58
59
60 TStopwatch fTimer;
61
62
63 // ----- Private methods ---------------------------------------------
65 virtual InitStatus Init();
66
67
69 virtual InitStatus ReInit();
70
71
73 virtual void Finish();
74
75
77 void Register();
78
79 void GetMvdGeometry();
80
81
83 void Reset();
84
85
87 void PrintParameters() const;
88 std::string ParametersToString() const;
89
90 private:
93
95};
96
97
98#endif
virtual InitStatus Init()
ClassDef(CbmMvdDigiToHit, 1)
TClonesArray * fInputDigis
void PrintParameters() const
virtual void Finish()
void Exec(Option_t *opt)
virtual InitStatus ReInit()
CbmMvdDigiToHit(const CbmMvdDigiToHit &)
std::string ParametersToString() const
CbmMvdDetector * fDetector
TClonesArray * fHit
TStopwatch fTimer
ROOT timer.
CbmMvdDigiToHit operator=(const CbmMvdDigiToHit &)