CbmRoot
CbmTrdHitProducerClusterQa.cxx
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // ----- CbmTrdHitProducerClusterQa -----
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  : CbmTrdHitProducerClusterQa("TrdHitProducerClusterQa", "") {}
28 
30  const char*)
31  : FairTask(name) {}
32 
34 
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  }
43  return kSUCCESS;
44 }
49  gDirectory->mkdir("CbmTrdHitProducerClusterQa");
50  gDirectory->cd("CbmTrdHitProducerClusterQa");
51  gDirectory->cd("..");
52 }
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