3#include "GaudiKernel/MsgStream.h"
9 : Algorithm(name, pSvcLocator)
11 declareProperty(
"OldRootList", m_string_vec);
15 MsgStream log(
msgSvc(), name());
17 std::vector<std::string>::iterator it;
18 for (it = m_string_vec.begin(); it != m_string_vec.end(); ++it) {
19 TString tmpfn = (*it).c_str();
20 gSystem->ExpandPathName(tmpfn);
22 TFile* tmp =
new TFile(tmpfn);
23 log << MSG::DEBUG <<
"Try to Load File: " << *it << endreq;
25 log << MSG::WARNING <<
"Load File Failed: " << *it << endreq;
29 return StatusCode::SUCCESS;
33 return StatusCode::SUCCESS;
37 return StatusCode::SUCCESS;