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() override;
25 virtual StatusCode callGenerator() override;
26 virtual StatusCode genFinalize() override;
27 virtual StatusCode fillEvt(HepMC::GenEvent* evt) override;
28
29protected:
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};
41
42 //Gen_tf run args.
43 IntegerProperty m_dsid{this, "Dsid", 999999};
44
45 std::vector<long int> m_seeds{111111111,222222222};
46};
47
48#endif
49
virtual ~Epos4()=default
virtual StatusCode genFinalize() override
For finalising the generator, if required.
Definition Epos4.cxx:292
virtual StatusCode genInitialize() override
For initializing the generator, if required.
Definition Epos4.cxx:246
virtual StatusCode callGenerator() override
For calling the generator on each iteration of the event loop.
Definition Epos4.cxx:274
double m_beamMomentum
Definition Epos4.h:39
std::string m_inputcard
Definition Epos4.h:33
double m_targetMomentum
Definition Epos4.h:40
std::string create_file(const std::string &filein)
Definition Epos4.cxx:120
IntegerProperty m_dsid
Definition Epos4.h:43
Epos4(const std::string &name, ISvcLocator *pSvcLocator)
Definition Epos4.cxx:109
int m_events
Definition Epos4.h:36
std::vector< long int > m_seeds
Definition Epos4.h:45
virtual StatusCode fillEvt(HepMC::GenEvent *evt) override
For filling the HepMC event object.
Definition Epos4.cxx:306
GenModule(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition GenModule.cxx:14