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
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>
25using std::cout;
26using std::endl;
27
29
30CbmTrdClusterizerFastQa::CbmTrdClusterizerFastQa(const char* name, const char*) : FairTask(name) {}
31
33
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 }
43 return kSUCCESS;
44}
49{
50 gDirectory->mkdir("CbmTrdClusterizerFastQa");
51 gDirectory->cd("CbmTrdClusterizerFastQa");
52 gDirectory->cd("..");
53}
static FairRootManager * rootMgr
ClassImp(CbmTrdClusterizerFastQa)
Class for hits in TRD detector.
virtual void Exec(Option_t *option)