CbmRoot
CbmTrdHitProducerClusterQa.cxx
Go to the documentation of this file.
1
// -----------------------------------------------------------------------
2
// ----- CbmTrdHitProducerClusterQa -----
3
// ----- Created 19.03.13 by C. Bergmann -----
4
// -----------------------------------------------------------------------
5
6
7
#include "
CbmTrdHitProducerClusterQa.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
CbmTrdHitProducerClusterQa::CbmTrdHitProducerClusterQa
()
27
:
CbmTrdHitProducerClusterQa
(
"TrdHitProducerClusterQa"
,
""
) {}
28
29
CbmTrdHitProducerClusterQa::CbmTrdHitProducerClusterQa
(
const
char
* name,
30
const
char
*)
31
: FairTask(name) {}
32
33
CbmTrdHitProducerClusterQa::~CbmTrdHitProducerClusterQa
() {}
34
35
InitStatus
CbmTrdHitProducerClusterQa::Init
() {
36
FairRootManager*
rootMgr
= FairRootManager::Instance();
37
if
(NULL ==
rootMgr
) {
38
cout <<
"-E- CbmTrdHitProducerClusterQa::Init : "
39
<<
"ROOT manager is not instantiated !"
<< endl;
40
return
kFATAL;
41
}
42
PrepareHistograms
();
43
return
kSUCCESS;
44
}
45
void
CbmTrdHitProducerClusterQa::Exec
(Option_t*) {}
46
void
CbmTrdHitProducerClusterQa::Finish
() {
WriteHistograms
(); }
47
void
CbmTrdHitProducerClusterQa::PrepareHistograms
() {}
48
void
CbmTrdHitProducerClusterQa::WriteHistograms
() {
49
gDirectory->mkdir(
"CbmTrdHitProducerClusterQa"
);
50
gDirectory->cd(
"CbmTrdHitProducerClusterQa"
);
51
gDirectory->cd(
".."
);
52
}
53
ClassImp
(
CbmTrdHitProducerClusterQa
);
CbmTrdHitProducerClusterQa::CbmTrdHitProducerClusterQa
CbmTrdHitProducerClusterQa()
Definition:
CbmTrdHitProducerClusterQa.cxx:26
rootMgr
static FairRootManager * rootMgr
Definition:
CbmDeviceHitBuilderTof.cxx:72
ClassImp
ClassImp(CbmTrdHitProducerClusterQa)
CbmTrdHitProducerClusterQa::PrepareHistograms
void PrepareHistograms()
Definition:
CbmTrdHitProducerClusterQa.cxx:47
CbmTrdHitProducerClusterQa::Exec
virtual void Exec(Option_t *option)
Definition:
CbmTrdHitProducerClusterQa.cxx:45
CbmTrdHitProducerClusterQa.h
CbmTrdHitProducerClusterQa::Finish
virtual void Finish()
Definition:
CbmTrdHitProducerClusterQa.cxx:46
CbmTrdHitProducerClusterQa::Init
InitStatus Init()
Definition:
CbmTrdHitProducerClusterQa.cxx:35
CbmTrdHit.h
Class for hits in TRD detector.
CbmTrdHitProducerClusterQa::WriteHistograms
void WriteHistograms()
Definition:
CbmTrdHitProducerClusterQa.cxx:48
CbmMCTrack.h
CbmTrdPoint.h
CbmTrdTrack.h
CbmTrdHitProducerClusterQa::~CbmTrdHitProducerClusterQa
virtual ~CbmTrdHitProducerClusterQa()
Definition:
CbmTrdHitProducerClusterQa.cxx:33
CbmTrdHitProducerClusterQa
Definition:
CbmTrdHitProducerClusterQa.h:10
reco
detectors
trd
qa
CbmTrdHitProducerClusterQa.cxx
Generated on Wed Oct 28 2020 15:11:48 for CbmRoot by
1.8.18