ATLAS Offline Software
Generators
TruthIO
TruthIO
ReadHepEvtFromAscii.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 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
StatusCode
initialize
();
14
StatusCode
execute
();
15
StatusCode
finalize
();
16
17
private
:
18
19
StoreGateSvc
*
m_sgSvc
;
20
21
// Setable Properties:-
22
std::string
m_key
;
23
std::string
m_input_file
;
24
std::ifstream
m_file
;
25
bool
read_hepevt_particle
(
int
i
);
26
bool
read_hepevt_event_header
();
27
28
};
ReadHepEvtFromAscii::m_sgSvc
StoreGateSvc * m_sgSvc
Definition:
ReadHepEvtFromAscii.h:19
ReadHepEvtFromAscii
Definition:
ReadHepEvtFromAscii.h:10
ReadHepEvtFromAscii::finalize
StatusCode finalize()
Definition:
ReadHepEvtFromAscii.cxx:165
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:22
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:128
lumiFormat.i
int i
Definition:
lumiFormat.py:92
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:23
ReadHepEvtFromAscii::ReadHepEvtFromAscii
ReadHepEvtFromAscii(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
ReadHepEvtFromAscii.cxx:77
ReadHepEvtFromAscii::initialize
StatusCode initialize()
Definition:
ReadHepEvtFromAscii.cxx:86
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
ReadHepEvtFromAscii::execute
StatusCode execute()
Definition:
ReadHepEvtFromAscii.cxx:111
ReadHepEvtFromAscii::m_file
std::ifstream m_file
Definition:
ReadHepEvtFromAscii.h:24
Generated on Tue Jul 2 2024 21:25:12 for ATLAS Offline Software by
1.8.18