CbmRoot
Loading...
Searching...
No Matches
CbmTrdHitProducerClusterQa.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
// ----- CbmTrdHitProducerClusterQa -----
7
// ----- Created 19.03.13 by C. Bergmann -----
8
// -----------------------------------------------------------------------
9
10
11
#include "
CbmTrdHitProducerClusterQa.h
"
12
13
#include "
CbmMCTrack.h
"
14
#include "
CbmTrdHit.h
"
15
#include "
CbmTrdPoint.h
"
16
#include "
CbmTrdTrack.h
"
17
#include "FairRootManager.h"
18
#include "TClonesArray.h"
19
#include "TH1F.h"
20
#include "TH2F.h"
21
#include "TMath.h"
22
#include "TVector3.h"
23
24
#include <iostream>
25
using
std::cout;
26
using
std::endl;
27
28
CbmTrdHitProducerClusterQa::CbmTrdHitProducerClusterQa
() :
CbmTrdHitProducerClusterQa
(
"TrdHitProducerClusterQa"
,
""
) {}
29
30
CbmTrdHitProducerClusterQa::CbmTrdHitProducerClusterQa
(
const
char
* name,
const
char
*) : FairTask(name) {}
31
32
CbmTrdHitProducerClusterQa::~CbmTrdHitProducerClusterQa
() {}
33
34
InitStatus
CbmTrdHitProducerClusterQa::Init
()
35
{
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
{
50
gDirectory->mkdir(
"CbmTrdHitProducerClusterQa"
);
51
gDirectory->cd(
"CbmTrdHitProducerClusterQa"
);
52
gDirectory->cd(
".."
);
53
}
54
ClassImp
(
CbmTrdHitProducerClusterQa
);
rootMgr
static FairRootManager * rootMgr
Definition
CbmDeviceHitBuilderTof.cxx:80
CbmMCTrack.h
ClassImp
ClassImp(CbmTrdHitProducerClusterQa)
CbmTrdHitProducerClusterQa.h
CbmTrdHit.h
Class for hits in TRD detector.
CbmTrdPoint.h
CbmTrdTrack.h
CbmTrdHitProducerClusterQa
Definition
CbmTrdHitProducerClusterQa.h:14
CbmTrdHitProducerClusterQa::CbmTrdHitProducerClusterQa
CbmTrdHitProducerClusterQa()
Definition
CbmTrdHitProducerClusterQa.cxx:28
CbmTrdHitProducerClusterQa::~CbmTrdHitProducerClusterQa
virtual ~CbmTrdHitProducerClusterQa()
Definition
CbmTrdHitProducerClusterQa.cxx:32
CbmTrdHitProducerClusterQa::Exec
virtual void Exec(Option_t *option)
Definition
CbmTrdHitProducerClusterQa.cxx:45
CbmTrdHitProducerClusterQa::WriteHistograms
void WriteHistograms()
Definition
CbmTrdHitProducerClusterQa.cxx:48
CbmTrdHitProducerClusterQa::PrepareHistograms
void PrepareHistograms()
Definition
CbmTrdHitProducerClusterQa.cxx:47
CbmTrdHitProducerClusterQa::Init
InitStatus Init()
Definition
CbmTrdHitProducerClusterQa.cxx:34
CbmTrdHitProducerClusterQa::Finish
virtual void Finish()
Definition
CbmTrdHitProducerClusterQa.cxx:46
reco
detectors
trd
qa
CbmTrdHitProducerClusterQa.cxx
Generated on Sun Dec 22 2024 23:04:15 for CbmRoot by
1.12.0