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