Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
OTFSource.h
1
/*
2
* OTFSource.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_OTFSOURCE_H_
10
#define HAL_EXAMPLES_ONTHEFLY_OTFSOURCE_H_
11
12
#include <Rtypes.h>
13
#include <RtypesCore.h>
14
#include <vector>
15
16
#include "Source.h"
17
18
namespace
Hal
{
19
class
IOManager;
20
}
21
namespace
HalOTF
{
22
class
EventGenerator;
23
class
IOManager;
24
}
// namespace HalOTF
25
namespace
OTF {
26
class
McEvent;
27
class
RecoEvent;
28
}
// namespace OTF
29
30
namespace
HalOTF
{
31
class
Source
:
public
Hal::Source
{
32
friend
class
HalOTF::IOManager
;
33
Int_t fEvents = {0};
34
Bool_t fRegister = {kFALSE};
35
std::vector<HalOTF::EventGenerator*> fGenerators;
36
OTF::McEvent
* fMcEvent = {
nullptr
};
37
OTF::RecoEvent
* fRecoEvent = {
nullptr
};
38
39
protected
:
44
void
RegisterOutputs
(
HalOTF::IOManager
* mngr);
45
46
public
:
47
Source
(Int_t entries = 0);
48
virtual
Hal::IOManager
*
GetIOManager
()
const
;
49
void
AddEventGenerator(
HalOTF::EventGenerator
* evgen) { fGenerators.push_back(evgen); }
50
Bool_t
Init
();
51
void
Register() { fRegister = kTRUE; }
52
void
GetEvent();
53
virtual
~Source
();
54
ClassDef(
Source
, 1)
55
};
56
}
// namespace HalOTF
57
#endif
/* HAL_EXAMPLES_ONTHEFLY_OTFSOURCE_H_ */
HalOTF::EventGenerator
Definition
OTFEventGenerator.h:29
HalOTF::IOManager
Definition
OTFIOManager.h:22
HalOTF::Source
Definition
OTFSource.h:31
HalOTF::Source::Init
Bool_t Init()
Definition
OTFSource.cxx:30
HalOTF::Source::RegisterOutputs
void RegisterOutputs(HalOTF::IOManager *mngr)
Definition
OTFSource.cxx:45
HalOTF::Source::GetIOManager
virtual Hal::IOManager * GetIOManager() const
Definition
OTFSource.cxx:22
Hal::IOManager
Definition
IOManager.h:52
Hal::Source
Definition
Source.h:25
OTF::McEvent
Definition
OTFData.h:91
OTF::RecoEvent
Definition
OTFData.h:72
HalOTF
Definition
OTFComplexEvent.cxx:17
Hal
Definition
EventAnaChain.cxx:28
examples
onthefly
OTFSource.h
Generated on Wed Oct 23 2024 15:07:52 for Heavy ion Analysis Libriares by
1.12.0