ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include <vector>
10#include <string>
11
12
18
19class Epos4: public GenModule {
20public:
21 Epos4(const std::string& name, ISvcLocator* pSvcLocator);
22 virtual ~Epos4() = default;
23
24 virtual StatusCode genInitialize();
25 virtual StatusCode callGenerator();
26 virtual StatusCode genFinalize();
27 virtual StatusCode fillEvt(HepMC::GenEvent* evt);
28
29protected:
30
31 std::string create_file(const std::string& filein);
32
33 // event counter
35
36 // setable properties
39
40 //Gen_tf run args.
41 IntegerProperty m_dsid{this, "Dsid", 999999};
42
43 std::vector<long int> m_seeds;
44};
45
46#endif
47
virtual ~Epos4()=default
virtual StatusCode genInitialize()
For initializing the generator, if required.
Definition Epos4.cxx:238
virtual StatusCode fillEvt(HepMC::GenEvent *evt)
For filling the HepMC event object.
Definition Epos4.cxx:302
double m_beamMomentum
Definition Epos4.h:37
double m_targetMomentum
Definition Epos4.h:38
std::string create_file(const std::string &filein)
Definition Epos4.cxx:119
IntegerProperty m_dsid
Definition Epos4.h:41
virtual StatusCode callGenerator()
For calling the generator on each iteration of the event loop.
Definition Epos4.cxx:269
Epos4(const std::string &name, ISvcLocator *pSvcLocator)
Definition Epos4.cxx:109
int m_events
Definition Epos4.h:34
std::vector< long int > m_seeds
Definition Epos4.h:43
virtual StatusCode genFinalize()
For finalising the generator, if required.
Definition Epos4.cxx:288
GenModule(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition GenModule.cxx:14