CbmRoot
Loading...
Searching...
No Matches
CbmTrdClusterizerFastQa.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
// ----- CbmTrdClusterizerFastQa -----
7
// ----- Created 19.03.13 by C. Bergmann -----
8
// -----------------------------------------------------------------------
9
10
11
#include "
CbmTrdClusterizerFastQa.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
CbmTrdClusterizerFastQa::CbmTrdClusterizerFastQa
() :
CbmTrdClusterizerFastQa
(
"TrdClusterizerFastQa"
,
""
) {}
29
30
CbmTrdClusterizerFastQa::CbmTrdClusterizerFastQa
(
const
char
* name,
const
char
*) : FairTask(name) {}
31
32
CbmTrdClusterizerFastQa::~CbmTrdClusterizerFastQa
() {}
33
34
InitStatus
CbmTrdClusterizerFastQa::Init
()
35
{
36
FairRootManager*
rootMgr
= FairRootManager::Instance();
37
if
(NULL ==
rootMgr
) {
38
cout <<
"-E- CbmTrdClusterizerFastQa::Init : "
39
<<
"ROOT manager is not instantiated !"
<< endl;
40
return
kFATAL;
41
}
42
PrepareHistograms
();
43
return
kSUCCESS;
44
}
45
void
CbmTrdClusterizerFastQa::Exec
(Option_t*) {}
46
void
CbmTrdClusterizerFastQa::Finish
() {
WriteHistograms
(); }
47
void
CbmTrdClusterizerFastQa::PrepareHistograms
() {}
48
void
CbmTrdClusterizerFastQa::WriteHistograms
()
49
{
50
gDirectory->mkdir(
"CbmTrdClusterizerFastQa"
);
51
gDirectory->cd(
"CbmTrdClusterizerFastQa"
);
52
gDirectory->cd(
".."
);
53
}
54
ClassImp
(
CbmTrdClusterizerFastQa
);
rootMgr
static FairRootManager * rootMgr
Definition
CbmDeviceHitBuilderTof.cxx:80
CbmMCTrack.h
ClassImp
ClassImp(CbmTrdClusterizerFastQa)
CbmTrdClusterizerFastQa.h
CbmTrdHit.h
Class for hits in TRD detector.
CbmTrdPoint.h
CbmTrdTrack.h
CbmTrdClusterizerFastQa
Definition
CbmTrdClusterizerFastQa.h:14
CbmTrdClusterizerFastQa::Finish
virtual void Finish()
Definition
CbmTrdClusterizerFastQa.cxx:46
CbmTrdClusterizerFastQa::PrepareHistograms
void PrepareHistograms()
Definition
CbmTrdClusterizerFastQa.cxx:47
CbmTrdClusterizerFastQa::Exec
virtual void Exec(Option_t *option)
Definition
CbmTrdClusterizerFastQa.cxx:45
CbmTrdClusterizerFastQa::~CbmTrdClusterizerFastQa
virtual ~CbmTrdClusterizerFastQa()
Definition
CbmTrdClusterizerFastQa.cxx:32
CbmTrdClusterizerFastQa::WriteHistograms
void WriteHistograms()
Definition
CbmTrdClusterizerFastQa.cxx:48
CbmTrdClusterizerFastQa::CbmTrdClusterizerFastQa
CbmTrdClusterizerFastQa()
Definition
CbmTrdClusterizerFastQa.cxx:28
CbmTrdClusterizerFastQa::Init
InitStatus Init()
Definition
CbmTrdClusterizerFastQa.cxx:34
reco
detectors
trd
qa
CbmTrdClusterizerFastQa.cxx
Generated on Sun Dec 22 2024 23:04:15 for CbmRoot by
1.12.0