CbmRoot
CbmMvdDigitizerTB.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// ----- CbmMvdDigitizerTB header file -----
3
// ----- Created by P.Sitzmann (p.sitzmann(att)gsi.de -----
4
// ----------------------------------------------------------------------------
5
6
#ifndef CBMMVDDIGITIZERTB_H
7
#define CBMMVDDIGITIZERTB_H 1
8
9
#include "FairTask.h"
10
11
#include "TStopwatch.h"
12
#include "TString.h"
13
14
class
FairTask;
15
class
CbmMvdDetector
;
16
class
CbmMvdPileupManager
;
17
18
using
std::pair;
19
20
21
class
CbmMvdDigitizerTB
:
public
FairTask {
22
23
public
:
25
CbmMvdDigitizerTB
();
26
27
32
CbmMvdDigitizerTB
(
const
char
* name, Int_t mode = 0, Int_t iVerbose = 1);
33
34
36
~CbmMvdDigitizerTB
();
37
38
void
Exec
(Option_t* opt);
39
void
SetMisalignment
(Float_t misalignment[3]) {
40
for
(Int_t
i
= 0;
i
< 3;
i
++)
41
epsilon
[
i
] = misalignment[
i
];
42
}
// set the misalignment in cm
43
void
ShowDebugHistograms
() {
fShowDebugHistos
= kTRUE; }
44
void
SetProduceNoise
() {
fNoiseSensors
= kTRUE; };
45
46
private
:
48
Int_t
fMode
;
49
Int_t
eventNumber
;
50
51
Bool_t
fShowDebugHistos
;
52
Bool_t
fNoiseSensors
;
53
54
CbmMvdDetector
*
fDetector
;
55
56
TClonesArray*
fInputPoints
;
57
TClonesArray*
fTracks
;
58
TClonesArray*
fDigis
;
59
TClonesArray*
fDigiMatch
;
60
61
std::pair<Float_t, Int_t>
fPerformanceDigi
;
62
63
UInt_t
fDigiPluginNr
;
64
65
Double_t
fFakeRate
;
// Fake hit rate
66
67
Float_t
epsilon
[3];
68
69
TString
fBranchName
;
// Name of input branch (MvdPoint)
70
71
TStopwatch
fTimer
;
72
73
// ----- Private methods ---------------------------------------------
75
virtual
InitStatus
Init
();
76
77
79
virtual
InitStatus
ReInit
();
80
81
83
virtual
void
Finish
();
84
85
87
void
Register
();
88
89
void
GetMvdGeometry
();
90
91
93
void
Reset
();
94
95
97
void
PrintParameters
();
98
99
private
:
100
CbmMvdDigitizerTB
(
const
CbmMvdDigitizerTB
&);
101
CbmMvdDigitizerTB
operator=
(
const
CbmMvdDigitizerTB
&);
102
103
ClassDef
(
CbmMvdDigitizerTB
, 1);
104
};
105
106
107
#endif
CbmMvdDigitizerTB::fDigiMatch
TClonesArray * fDigiMatch
Definition:
CbmMvdDigitizerTB.h:59
CbmMvdPileupManager
Definition:
CbmMvdPileupManager.h:28
CbmMvdDigitizerTB::Init
virtual InitStatus Init()
Definition:
CbmMvdDigitizerTB.cxx:99
CbmMvdDigitizerTB::GetMvdGeometry
void GetMvdGeometry()
Definition:
CbmMvdDigitizerTB.cxx:168
CbmMvdDigitizerTB::fMode
Int_t fMode
Definition:
CbmMvdDigitizerTB.h:44
CbmMvdDigitizerTB::Finish
virtual void Finish()
Definition:
CbmMvdDigitizerTB.cxx:155
CbmMvdDigitizerTB::fTimer
TStopwatch fTimer
ROOT timer.
Definition:
CbmMvdDigitizerTB.h:71
i
int i
Definition:
L1/vectors/P4_F32vec4.h:25
CbmMvdDigitizerTB::PrintParameters
void PrintParameters()
Definition:
CbmMvdDigitizerTB.cxx:173
CbmMvdDigitizerTB::fPerformanceDigi
std::pair< Float_t, Int_t > fPerformanceDigi
Definition:
CbmMvdDigitizerTB.h:61
CbmMvdDigitizerTB::ClassDef
ClassDef(CbmMvdDigitizerTB, 1)
CbmMvdDigitizerTB::fShowDebugHistos
Bool_t fShowDebugHistos
Definition:
CbmMvdDigitizerTB.h:51
CbmMvdDigitizerTB::fInputPoints
TClonesArray * fInputPoints
Definition:
CbmMvdDigitizerTB.h:56
CbmMvdDigitizerTB::ShowDebugHistograms
void ShowDebugHistograms()
Definition:
CbmMvdDigitizerTB.h:43
CbmMvdDigitizerTB::eventNumber
Int_t eventNumber
Definition:
CbmMvdDigitizerTB.h:49
CbmMvdDigitizerTB::SetProduceNoise
void SetProduceNoise()
Definition:
CbmMvdDigitizerTB.h:44
CbmMvdDigitizerTB::CbmMvdDigitizerTB
CbmMvdDigitizerTB()
Definition:
CbmMvdDigitizerTB.cxx:29
CbmMvdDigitizerTB::fBranchName
TString fBranchName
Definition:
CbmMvdDigitizerTB.h:69
CbmMvdDigitizerTB::fDigiPluginNr
UInt_t fDigiPluginNr
Definition:
CbmMvdDigitizerTB.h:63
CbmMvdDigitizerTB::fFakeRate
Double_t fFakeRate
Definition:
CbmMvdDigitizerTB.h:65
CbmMvdDetector
Definition:
CbmMvdDetector.h:39
CbmMvdDigitizerTB::fDetector
CbmMvdDetector * fDetector
Definition:
CbmMvdDigitizerTB.h:54
CbmMvdDigitizerTB::Exec
void Exec(Option_t *opt)
Definition:
CbmMvdDigitizerTB.cxx:66
CbmMvdDigitizerTB::fDigis
TClonesArray * fDigis
Definition:
CbmMvdDigitizerTB.h:58
CbmMvdDigitizerTB::SetMisalignment
void SetMisalignment(Float_t misalignment[3])
Definition:
CbmMvdDigitizerTB.h:39
CbmMvdDigitizerTB::epsilon
Float_t epsilon[3]
Definition:
CbmMvdDigitizerTB.h:67
CbmMvdDigitizerTB
Definition:
CbmMvdDigitizerTB.h:21
CbmMvdDigitizerTB::Register
void Register()
CbmMvdDigitizerTB::fNoiseSensors
Bool_t fNoiseSensors
Definition:
CbmMvdDigitizerTB.h:52
CbmMvdDigitizerTB::CbmMvdDigitizerTB
CbmMvdDigitizerTB(const CbmMvdDigitizerTB &)
CbmMvdDigitizerTB::operator=
CbmMvdDigitizerTB operator=(const CbmMvdDigitizerTB &)
CbmMvdDigitizerTB::Reset
void Reset()
Definition:
CbmMvdDigitizerTB.cxx:164
CbmMvdDigitizerTB::~CbmMvdDigitizerTB
~CbmMvdDigitizerTB()
Definition:
CbmMvdDigitizerTB.cxx:56
CbmMvdDigitizerTB::fTracks
TClonesArray * fTracks
Definition:
CbmMvdDigitizerTB.h:57
CbmMvdDigitizerTB::ReInit
virtual InitStatus ReInit()
Definition:
CbmMvdDigitizerTB.cxx:150
mvd
CbmMvdDigitizerTB.h
Generated on Wed Oct 28 2020 15:11:43 for CbmRoot by
1.8.18