ATLAS Offline Software
Generators
TruthIO
TruthIO
ReadHepEvtFromAscii.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AthenaBaseComps/AthAlgorithm.h
"
6
#include <fstream>
7
8
class
StoreGateSvc
;
9
10
class
ReadHepEvtFromAscii
:
public
AthAlgorithm
{
11
public
:
12
ReadHepEvtFromAscii
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
13
virtual
StatusCode
initialize
()
override
;
14
virtual
StatusCode
execute
()
override
;
15
virtual
StatusCode
finalize
()
override
;
16
17
private
:
18
19
// Settable Properties:-
20
std::string
m_key
;
21
std::string
m_input_file
;
22
std::ifstream
m_file
;
23
bool
read_hepevt_particle
(
int
i
);
24
bool
read_hepevt_event_header
();
25
26
};
ReadHepEvtFromAscii
Definition:
ReadHepEvtFromAscii.h:10
ReadHepEvtFromAscii::finalize
virtual StatusCode finalize() override
Definition:
ReadHepEvtFromAscii.cxx:158
ReadHepEvtFromAscii::read_hepevt_event_header
bool read_hepevt_event_header()
This class is only needed for HepMC2-based builds.
Definition:
ReadHepEvtFromAscii.cxx:22
AthAlgorithm.h
ReadHepEvtFromAscii::m_key
std::string m_key
Definition:
ReadHepEvtFromAscii.h:20
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:125
lumiFormat.i
int i
Definition:
lumiFormat.py:85
ReadHepEvtFromAscii::read_hepevt_particle
bool read_hepevt_particle(int i)
Definition:
ReadHepEvtFromAscii.cxx:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHepEvtFromAscii::m_input_file
std::string m_input_file
Definition:
ReadHepEvtFromAscii.h:21
ReadHepEvtFromAscii::ReadHepEvtFromAscii
ReadHepEvtFromAscii(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
ReadHepEvtFromAscii.cxx:77
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
ReadHepEvtFromAscii::initialize
virtual StatusCode initialize() override
Definition:
ReadHepEvtFromAscii.cxx:85
ReadHepEvtFromAscii::m_file
std::ifstream m_file
Definition:
ReadHepEvtFromAscii.h:22
ReadHepEvtFromAscii::execute
virtual StatusCode execute() override
Definition:
ReadHepEvtFromAscii.cxx:104
Generated on Sun Dec 22 2024 21:16:57 for ATLAS Offline Software by
1.8.18