ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
Epos4_i
src
Epos4.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef GENERATORMODULESEPOS_H
6
#define GENERATORMODULESEPOS_H
7
8
#include "
GeneratorModules/GenModule.h
"
9
#include <vector>
10
#include <string>
11
12
18
19
class
Epos4
:
public
GenModule
{
20
public
:
21
Epos4
(
const
std::string& name, ISvcLocator* pSvcLocator);
22
virtual
~Epos4
() =
default
;
23
24
virtual
StatusCode
genInitialize
()
override
;
25
virtual
StatusCode
callGenerator
()
override
;
26
virtual
StatusCode
genFinalize
()
override
;
27
virtual
StatusCode
fillEvt
(
HepMC::GenEvent
* evt)
override
;
28
29
protected
:
30
31
std::string
create_file
(
const
std::string& filein);
32
33
std::string
m_inputcard
{};
34
35
// event counter
36
int
m_events
{0};
37
38
// setable properties
39
double
m_beamMomentum
{0};
40
double
m_targetMomentum
{0};
41
42
// seed from the command line
43
int
m_argsRandomSeed
{0};
44
45
//Gen_tf run args.
46
IntegerProperty
m_dsid
{
this
,
"Dsid"
, 999999};
47
48
std::vector<long int>
m_seeds
{111111111,222222222};
49
};
50
51
#endif
52
GenModule.h
Epos4::~Epos4
virtual ~Epos4()=default
Epos4::genFinalize
virtual StatusCode genFinalize() override
For finalising the generator, if required.
Definition
Epos4.cxx:335
Epos4::genInitialize
virtual StatusCode genInitialize() override
For initializing the generator, if required.
Definition
Epos4.cxx:286
Epos4::callGenerator
virtual StatusCode callGenerator() override
For calling the generator on each iteration of the event loop.
Definition
Epos4.cxx:314
Epos4::m_beamMomentum
double m_beamMomentum
Definition
Epos4.h:39
Epos4::m_inputcard
std::string m_inputcard
Definition
Epos4.h:33
Epos4::m_targetMomentum
double m_targetMomentum
Definition
Epos4.h:40
Epos4::create_file
std::string create_file(const std::string &filein)
Definition
Epos4.cxx:120
Epos4::m_dsid
IntegerProperty m_dsid
Definition
Epos4.h:46
Epos4::Epos4
Epos4(const std::string &name, ISvcLocator *pSvcLocator)
Definition
Epos4.cxx:110
Epos4::m_events
int m_events
Definition
Epos4.h:36
Epos4::m_seeds
std::vector< long int > m_seeds
Definition
Epos4.h:48
Epos4::m_argsRandomSeed
int m_argsRandomSeed
Definition
Epos4.h:43
Epos4::fillEvt
virtual StatusCode fillEvt(HepMC::GenEvent *evt) override
For filling the HepMC event object.
Definition
Epos4.cxx:349
GenModule::GenModule
GenModule(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
GenModule.cxx:14
HepMC::GenEvent
HepMC3::GenEvent GenEvent
Definition
GenEvent.h:39
Generated on
for ATLAS Offline Software by
1.17.0