Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
OTFReader.h
1
/*
2
* OTFReader.h
3
*
4
* Created on: 28 maj 2022
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#ifndef HAL_EXAMPLES_ONTHEFLY_OTFREADER_H_
10
#define HAL_EXAMPLES_ONTHEFLY_OTFREADER_H_
11
12
#include "Reader.h"
13
14
#include "OTFData.h"
15
16
#include <vector>
17
18
#include <Rtypes.h>
19
#include <RtypesCore.h>
20
#include <TH2.h>
21
22
namespace
HalOTF
{
23
class
McEvent;
24
class
RecoEvent;
25
class
ComplexEvent;
26
}
/* namespace HalOTF */
27
31
namespace
HalOTF
{
32
class
Reader
:
public
Hal::Reader
{
33
protected
:
34
enum class
ETranslate { kNone, kMc, kReco, kComplex };
35
ETranslate fTranslate = {ETranslate::kNone};
36
OTF::McEvent
* fMcEvent;
37
OTF::RecoEvent
* fRecoEvent;
38
HalOTF::ComplexEvent
* fHalComplexEvent = {
nullptr
};
39
HalOTF::RecoEvent
* fHalRecoEvent = {
nullptr
};
40
HalOTF::McEvent
* fHalMcEvent = {
nullptr
};
41
Hal::EventInterface
* fTranslateInterface = {
nullptr
};
42
43
public
:
44
Reader
();
50
void
Translate
(TString opt);
51
virtual
void
Exec(Option_t* opt);
52
virtual
Hal::Task::EInitFlag
Init
();
53
virtual
~Reader
();
54
ClassDef(
Reader
, 1)
55
};
56
}
// namespace HalOTF
57
#endif
/* HAL_EXAMPLES_ONTHEFLY_OTFREADER_H_ */
HalOTF::ComplexEvent
Definition
OTFComplexEvent.h:15
HalOTF::McEvent
Definition
OTFMcEvent.h:16
HalOTF::Reader
Definition
OTFReader.h:32
HalOTF::Reader::Init
virtual Hal::Task::EInitFlag Init()
Definition
OTFReader.cxx:33
HalOTF::Reader::Translate
void Translate(TString opt)
Definition
OTFReader.cxx:103
HalOTF::RecoEvent
Definition
OTFRecoEvent.h:20
Hal::EventInterface
Definition
EventInterface.h:16
Hal::Reader
Definition
Reader.h:22
OTF::McEvent
Definition
OTFData.h:91
OTF::RecoEvent
Definition
OTFData.h:72
HalOTF
Definition
OTFComplexEvent.cxx:17
examples
onthefly
OTFReader.h
Generated on Wed Oct 23 2024 15:07:52 for Heavy ion Analysis Libriares by
1.12.0