CbmRoot
Loading...
Searching...
No Matches
CbmTrdDigitizerPRFQa.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// ----- CbmTrdDigitizerPRFQa -----
7// ----- Created 19.03.13 by C. Bergmann -----
8// -----------------------------------------------------------------------
9
10
12
13#include "CbmMCTrack.h"
14#include "CbmTrdHit.h"
15#include "CbmTrdPoint.h"
16#include "CbmTrdTrack.h"
17
18#include "FairRootManager.h"
19
20#include "TClonesArray.h"
21#include "TH1F.h"
22#include "TH2F.h"
23#include "TMath.h"
24#include "TVector3.h"
25
26#include <iostream>
27using std::cout;
28using std::endl;
29
31
32CbmTrdDigitizerPRFQa::CbmTrdDigitizerPRFQa(const char* name, const char*) : FairTask(name) {}
33
35
37{
38 FairRootManager* rootMgr = FairRootManager::Instance();
39 if (NULL == rootMgr) {
40 cout << "-E- CbmTrdDigitizerPRFQa::Init : "
41 << "ROOT manager is not instantiated !" << endl;
42 return kFATAL;
43 }
45 return kSUCCESS;
46}
51{
52 gDirectory->mkdir("CbmTrdDigitizerPRFQa");
53 gDirectory->cd("CbmTrdDigitizerPRFQa");
54 gDirectory->cd("..");
55}
static FairRootManager * rootMgr
ClassImp(CbmTrdDigitizerPRFQa)
Class for hits in TRD detector.
virtual void Exec(Option_t *option)