CbmRoot
CbmTrdDigitizerPRFQa.cxx
Go to the documentation of this file.
1
// -----------------------------------------------------------------------
2
// ----- CbmTrdDigitizerPRFQa -----
3
// ----- Created 19.03.13 by C. Bergmann -----
4
// -----------------------------------------------------------------------
5
6
7
#include "
CbmTrdDigitizerPRFQa.h
"
8
9
#include "
CbmTrdHit.h
"
10
#include "
CbmTrdPoint.h
"
11
#include "
CbmTrdTrack.h
"
12
13
#include "
CbmMCTrack.h
"
14
#include "FairRootManager.h"
15
16
#include "TClonesArray.h"
17
#include "TH1F.h"
18
#include "TH2F.h"
19
#include "TMath.h"
20
#include "TVector3.h"
21
22
#include <iostream>
23
using
std::cout;
24
using
std::endl;
25
26
CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa
()
27
:
CbmTrdDigitizerPRFQa
(
"TrdDigitizerPRFQa"
,
""
) {}
28
29
CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa
(
const
char
* name,
const
char
*)
30
: FairTask(name) {}
31
32
CbmTrdDigitizerPRFQa::~CbmTrdDigitizerPRFQa
() {}
33
34
InitStatus
CbmTrdDigitizerPRFQa::Init
() {
35
FairRootManager*
rootMgr
= FairRootManager::Instance();
36
if
(NULL ==
rootMgr
) {
37
cout <<
"-E- CbmTrdDigitizerPRFQa::Init : "
38
<<
"ROOT manager is not instantiated !"
<< endl;
39
return
kFATAL;
40
}
41
PrepareHistograms
();
42
return
kSUCCESS;
43
}
44
void
CbmTrdDigitizerPRFQa::Exec
(Option_t*) {}
45
void
CbmTrdDigitizerPRFQa::Finish
() {
WriteHistograms
(); }
46
void
CbmTrdDigitizerPRFQa::PrepareHistograms
() {}
47
void
CbmTrdDigitizerPRFQa::WriteHistograms
() {
48
gDirectory->mkdir(
"CbmTrdDigitizerPRFQa"
);
49
gDirectory->cd(
"CbmTrdDigitizerPRFQa"
);
50
gDirectory->cd(
".."
);
51
}
52
ClassImp
(
CbmTrdDigitizerPRFQa
);
CbmTrdDigitizerPRFQa::~CbmTrdDigitizerPRFQa
virtual ~CbmTrdDigitizerPRFQa()
Definition:
CbmTrdDigitizerPRFQa.cxx:32
rootMgr
static FairRootManager * rootMgr
Definition:
CbmDeviceHitBuilderTof.cxx:72
CbmTrdDigitizerPRFQa::PrepareHistograms
void PrepareHistograms()
Definition:
CbmTrdDigitizerPRFQa.cxx:46
CbmTrdDigitizerPRFQa::Finish
virtual void Finish()
Definition:
CbmTrdDigitizerPRFQa.cxx:45
CbmTrdDigitizerPRFQa::Exec
virtual void Exec(Option_t *option)
Definition:
CbmTrdDigitizerPRFQa.cxx:44
CbmTrdDigitizerPRFQa.h
CbmTrdDigitizerPRFQa
Definition:
CbmTrdDigitizerPRFQa.h:10
CbmTrdHit.h
Class for hits in TRD detector.
ClassImp
ClassImp(CbmTrdDigitizerPRFQa)
CbmTrdDigitizerPRFQa::Init
InitStatus Init()
Definition:
CbmTrdDigitizerPRFQa.cxx:34
CbmMCTrack.h
CbmTrdPoint.h
CbmTrdDigitizerPRFQa::WriteHistograms
void WriteHistograms()
Definition:
CbmTrdDigitizerPRFQa.cxx:47
CbmTrdTrack.h
CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa
CbmTrdDigitizerPRFQa()
Definition:
CbmTrdDigitizerPRFQa.cxx:26
sim
detectors
trd
qa
CbmTrdDigitizerPRFQa.cxx
Generated on Wed Oct 28 2020 15:11:48 for CbmRoot by
1.8.18