CbmRoot
Loading...
Searching...
No Matches
CbmMvdReadoutSimple.h
Go to the documentation of this file.
1/* Copyright (C) 2016-2017 Institut furr Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Philipp Sitzmann [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmMvdReadoutSimple header file -----
7// ----- Created 17/10/16 by P. Sitzmann -----
8// -------------------------------------------------------------------------
9
10
18#ifndef CBMMVDREADOUTSIMPLE_H
19#define CBMMVDREADOUTSIMPLE_H 1
20
21#include <FairTask.h> // for FairTask, InitStatus
22
23#include <Rtypes.h> // for ClassDef
24#include <RtypesCore.h> // for Int_t, Bool_t, Option_t, kTRUE
25
26class TBuffer;
27class TClass;
28class TClonesArray;
29class TFile;
30class TH1F;
31class TH1I;
32class TH2F;
33class TH2I;
34class TMemberInspector;
35
36class CbmMvdReadoutSimple : public FairTask {
37public:
39 CbmMvdReadoutSimple(const char* name, Int_t iVerbose = 0);
42
44
45 InitStatus Init();
46
47 void Exec(Option_t* opt);
48
49 void ShowHistograms() { fshow = kTRUE; };
50
51 void SetHistogramFile(TFile* file) { foutFile = file; };
52
53 void Finish();
54
55private:
56 TFile* foutFile;
57
58 Bool_t fshow;
59 TH2F* fMvdMCBank[63];
73
74 TClonesArray* fMcPoints;
75 TClonesArray* fListMCTracks;
76
78
79 void DrawHistograms();
80 void WriteHistograms();
81 void SetupHistograms();
82
84};
85#endif
CbmMvdReadoutSimple(const CbmMvdReadoutSimple &)=delete
ClassDef(CbmMvdReadoutSimple, 1)
void SetHistogramFile(TFile *file)
void Exec(Option_t *opt)
TClonesArray * fListMCTracks
CbmMvdReadoutSimple & operator=(const CbmMvdReadoutSimple &)=delete