Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
OTFEventGeneratorDecay.h
1
/*
2
* OTFReaderDecay.h
3
*
4
* Created on: 28 mar 2024
5
* Author: daniel
6
*/
7
8
#ifndef HAL_EXAMPLES_ONTHEFLY_GENERATORDECAY_H_
9
#define HAL_EXAMPLES_ONTHEFLY_GENERATORDECAY_H_
10
#include "Decay.h"
11
#include "OTFReader.h"
12
13
#include "OTFData.h"
14
15
#include <vector>
16
17
#include <Rtypes.h>
18
#include <RtypesCore.h>
19
#include <TH2.h>
20
21
#include "OTFEventGenerator.h"
22
23
namespace
HalOTF
{
24
class
McEvent;
25
class
RecoEvent;
26
}
/* namespace HalOTF */
27
28
namespace
HalOTF
{
29
30
class
EventGeneratorDecay
:
public
HalOTF::EventGenerator
{
31
protected
:
32
Hal::Decay
* fDecayer = {
nullptr
};
33
std::vector<Hal::McTrack*> fDaughters;
34
virtual
void
Decay();
35
Bool_t fDebug = {kFALSE};
36
virtual
void
GenerateEvent();
37
38
public
:
39
EventGeneratorDecay
();
40
void
EnableDebug() { fDebug = kTRUE; }
41
void
SetDecay(
Hal::Decay
decay);
42
virtual
Bool_t Init();
43
virtual
~EventGeneratorDecay
();
44
ClassDef(
EventGeneratorDecay
, 1)
45
};
46
}
// namespace HalOTF
47
48
#endif
/* HAL_EXAMPLES_ONTHEFLY_READERDECAY_H_ */
HalOTF::EventGeneratorDecay
Definition
OTFEventGeneratorDecay.h:30
HalOTF::EventGenerator
Definition
OTFEventGenerator.h:29
Hal::Decay
Definition
Decay.h:84
HalOTF
Definition
OTFComplexEvent.cxx:17
examples
onthefly
OTFEventGeneratorDecay.h
Generated on Wed Oct 23 2024 15:07:52 for Heavy ion Analysis Libriares by
1.12.0