CbmRoot
Loading...
Searching...
No Matches
CbmTrdDigitizerPRFQa.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2013-2016 Institut fuer Kernphysik, Westfaelische Wilhelms-Universitaet Muenster, Muenster
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Cyrano Bergmann [committer] */
4
5
// -----------------------------------------------------------------------
6
// ----- CbmTrdDigitizerPRFQa -----
7
// ----- Created 19.03.13 by C. Bergmann -----
8
// -----------------------------------------------------------------------
9
10
11
#include "
CbmTrdDigitizerPRFQa.h
"
12
13
#include "
CbmMCTrack.h
"
14
#include "
CbmTrdHit.h
"
15
#include "
CbmTrdPoint.h
"
16
#include "
CbmTrdTrack.h
"
17
18
#include "FairRootManager.h"
19
20
#include "TClonesArray.h"
21
#include "TH1F.h"
22
#include "TH2F.h"
23
#include "TMath.h"
24
#include "TVector3.h"
25
26
#include <iostream>
27
using
std::cout;
28
using
std::endl;
29
30
CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa
() :
CbmTrdDigitizerPRFQa
(
"TrdDigitizerPRFQa"
,
""
) {}
31
32
CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa
(
const
char
* name,
const
char
*) : FairTask(name) {}
33
34
CbmTrdDigitizerPRFQa::~CbmTrdDigitizerPRFQa
() {}
35
36
InitStatus
CbmTrdDigitizerPRFQa::Init
()
37
{
38
FairRootManager*
rootMgr
= FairRootManager::Instance();
39
if
(NULL ==
rootMgr
) {
40
cout <<
"-E- CbmTrdDigitizerPRFQa::Init : "
41
<<
"ROOT manager is not instantiated !"
<< endl;
42
return
kFATAL;
43
}
44
PrepareHistograms
();
45
return
kSUCCESS;
46
}
47
void
CbmTrdDigitizerPRFQa::Exec
(Option_t*) {}
48
void
CbmTrdDigitizerPRFQa::Finish
() {
WriteHistograms
(); }
49
void
CbmTrdDigitizerPRFQa::PrepareHistograms
() {}
50
void
CbmTrdDigitizerPRFQa::WriteHistograms
()
51
{
52
gDirectory->mkdir(
"CbmTrdDigitizerPRFQa"
);
53
gDirectory->cd(
"CbmTrdDigitizerPRFQa"
);
54
gDirectory->cd(
".."
);
55
}
56
ClassImp
(
CbmTrdDigitizerPRFQa
);
rootMgr
static FairRootManager * rootMgr
Definition
CbmDeviceHitBuilderTof.cxx:80
CbmMCTrack.h
ClassImp
ClassImp(CbmTrdDigitizerPRFQa)
CbmTrdDigitizerPRFQa.h
CbmTrdHit.h
Class for hits in TRD detector.
CbmTrdPoint.h
CbmTrdTrack.h
CbmTrdDigitizerPRFQa
Definition
CbmTrdDigitizerPRFQa.h:14
CbmTrdDigitizerPRFQa::Exec
virtual void Exec(Option_t *option)
Definition
CbmTrdDigitizerPRFQa.cxx:47
CbmTrdDigitizerPRFQa::Finish
virtual void Finish()
Definition
CbmTrdDigitizerPRFQa.cxx:48
CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa
CbmTrdDigitizerPRFQa()
Definition
CbmTrdDigitizerPRFQa.cxx:30
CbmTrdDigitizerPRFQa::PrepareHistograms
void PrepareHistograms()
Definition
CbmTrdDigitizerPRFQa.cxx:49
CbmTrdDigitizerPRFQa::~CbmTrdDigitizerPRFQa
virtual ~CbmTrdDigitizerPRFQa()
Definition
CbmTrdDigitizerPRFQa.cxx:34
CbmTrdDigitizerPRFQa::Init
InitStatus Init()
Definition
CbmTrdDigitizerPRFQa.cxx:36
CbmTrdDigitizerPRFQa::WriteHistograms
void WriteHistograms()
Definition
CbmTrdDigitizerPRFQa.cxx:50
sim
detectors
trd
qa
CbmTrdDigitizerPRFQa.cxx
Generated on Sun Dec 22 2024 23:04:19 for CbmRoot by
1.12.0