ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
TruthIO
TruthIO
PrintMC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRUTHIO_PRINTMC_H
6
#define TRUTHIO_PRINTMC_H
7
8
#include "
GeneratorModules/GenBase.h
"
9
#include "
GeneratorModules/GenData.h
"
10
#include "
xAODEventInfo/EventInfo.h
"
11
12
#include <memory>
13
#include <cstdint>
15
class
PrintMC
:
public
GenBase
{
16
public
:
17
18
PrintMC
(
const
std::string& name, ISvcLocator* pSvcLocator);
19
virtual
StatusCode
initialize
()
override
;
20
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
21
22
private
:
23
SG::ReadHandleKey<xAOD::EventInfo>
m_evtInfoKey
{this
24
,
"EventInfo"
25
,
"EventInfo"
26
,
"ReadHandleKey for xAOD::EventInfo"
};
27
28
std::string
m_keyout
;
29
bool
m_VerboseOutput
;
30
std::string
m_printsty
;
31
bool
m_vertexinfo
;
32
uint64_t
m_firstEvt
;
33
uint64_t
m_lastEvt
;
34
bool
m_trustHepMC
;
35
std::shared_ptr<GenData>
m_gendata
{
nullptr
};
36
37
};
38
39
#endif
GenBase.h
GenData.h
GenBase::GenBase
GenBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
GenBase.cxx:11
PrintMC::m_vertexinfo
bool m_vertexinfo
Definition
PrintMC.h:31
PrintMC::m_gendata
std::shared_ptr< GenData > m_gendata
Definition
PrintMC.h:35
PrintMC::m_evtInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
Definition
PrintMC.h:23
PrintMC::m_printsty
std::string m_printsty
Definition
PrintMC.h:30
PrintMC::initialize
virtual StatusCode initialize() override
Definition
PrintMC.cxx:34
PrintMC::m_trustHepMC
bool m_trustHepMC
Definition
PrintMC.h:34
PrintMC::PrintMC
PrintMC(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PrintMC.cxx:21
PrintMC::m_firstEvt
uint64_t m_firstEvt
Definition
PrintMC.h:32
PrintMC::m_VerboseOutput
bool m_VerboseOutput
Definition
PrintMC.h:29
PrintMC::execute
virtual StatusCode execute(const EventContext &ctx) override
Definition
PrintMC.cxx:55
PrintMC::m_keyout
std::string m_keyout
Definition
PrintMC.h:28
PrintMC::m_lastEvt
uint64_t m_lastEvt
Definition
PrintMC.h:33
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0