diff --git a/Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h b/Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h index 69dc3c944dfbc6904cb3c615d4a07edc9fbeb79f..94d73de726d137b1a840c89039c7c06e6d384e76 100644 --- a/Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h +++ b/Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h @@ -17,7 +17,6 @@ public: private: StoreGateSvc* m_sgSvc; - HepMC::IO_GenEvent* m_ascii_in; // Setable Properties:- std::string m_key; diff --git a/Generators/TruthIO/src/ReadHepEvtFromAscii.cxx b/Generators/TruthIO/src/ReadHepEvtFromAscii.cxx index 54944999f1b55684c298eb659e6eac7426e78038..4fa18d7b52004e34b821669b7c8781b53d8cbfee 100644 --- a/Generators/TruthIO/src/ReadHepEvtFromAscii.cxx +++ b/Generators/TruthIO/src/ReadHepEvtFromAscii.cxx @@ -23,7 +23,7 @@ extern "C" { ReadHepEvtFromAscii::ReadHepEvtFromAscii(const std::string& name, ISvcLocator* pSvcLocator) : AthAlgorithm(name, pSvcLocator), - m_sgSvc(0), m_ascii_in(0) + m_sgSvc(0) { // Set users' request declareProperty("McEventKey", m_key = "GEN_EVENT"); @@ -46,7 +46,6 @@ StatusCode ReadHepEvtFromAscii::initialize(){ HepMC::HEPEVT_Wrapper::set_max_number_entries(10000); // Initialize input file -// m_ascii_in = new HepMC::IO_Ascii(m_input_file.c_str(), std::ios::in); int ifile=5; closefile_(ifile); openfile_(ifile,m_input_file.c_str(),m_input_file.size());