Skip to content
Snippets Groups Projects
Commit eccf1297 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

TruthIO: Fix clang warning.

clang warning: unused private data member.


Former-commit-id: 72ec510b
parent 0668d7cb
No related branches found
No related tags found
Loading
...@@ -17,7 +17,6 @@ public: ...@@ -17,7 +17,6 @@ public:
private: private:
StoreGateSvc* m_sgSvc; StoreGateSvc* m_sgSvc;
HepMC::IO_GenEvent* m_ascii_in;
// Setable Properties:- // Setable Properties:-
std::string m_key; std::string m_key;
......
...@@ -23,7 +23,7 @@ extern "C" { ...@@ -23,7 +23,7 @@ extern "C" {
ReadHepEvtFromAscii::ReadHepEvtFromAscii(const std::string& name, ISvcLocator* pSvcLocator) ReadHepEvtFromAscii::ReadHepEvtFromAscii(const std::string& name, ISvcLocator* pSvcLocator)
: AthAlgorithm(name, pSvcLocator), : AthAlgorithm(name, pSvcLocator),
m_sgSvc(0), m_ascii_in(0) m_sgSvc(0)
{ {
// Set users' request // Set users' request
declareProperty("McEventKey", m_key = "GEN_EVENT"); declareProperty("McEventKey", m_key = "GEN_EVENT");
...@@ -46,7 +46,6 @@ StatusCode ReadHepEvtFromAscii::initialize(){ ...@@ -46,7 +46,6 @@ StatusCode ReadHepEvtFromAscii::initialize(){
HepMC::HEPEVT_Wrapper::set_max_number_entries(10000); HepMC::HEPEVT_Wrapper::set_max_number_entries(10000);
// Initialize input file // Initialize input file
// m_ascii_in = new HepMC::IO_Ascii(m_input_file.c_str(), std::ios::in);
int ifile=5; int ifile=5;
closefile_(ifile); closefile_(ifile);
openfile_(ifile,m_input_file.c_str(),m_input_file.size()); openfile_(ifile,m_input_file.c_str(),m_input_file.size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment