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