ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include <fstream>
7
8class StoreGateSvc;
9
11public:
12 ReadHepEvtFromAscii(const std::string& name, ISvcLocator* pSvcLocator);
13 virtual StatusCode initialize() override;
14 virtual StatusCode execute() override;
15 virtual StatusCode finalize() override;
16
17private:
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);
25
26};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ReadHepEvtFromAscii(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
virtual StatusCode execute() override
virtual StatusCode finalize() override
bool read_hepevt_event_header()
This class is only needed for HepMC2-based builds.
The Athena Transient Store API.