Changeset 358 in svn
- Timestamp:
- May 6, 2009, 10:21:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Delphes.cpp
r353 r358 252 252 253 253 // data converters 254 DataConverter *converter=NULL;255 254 cout <<"** **"<<endl; 256 255 cout <<"** ####### Start convertion to TRoot format ######## **"<< endl; … … 260 259 cout <<"** StdHEP file format detected **"<<endl; 261 260 cout <<"** This can take several minutes **"<< endl; 262 converter = new STDHEPConverter(inputFileList,outputfilename);//case ntpl file in input list261 STDHEPConverter converter(inputFileList,outputfilename);//case ntpl file in input list 263 262 } 264 263 else if(line.length() == 1+line.find_last_of(".lhe")) … … 266 265 cout <<"** LHEF file format detected **"<<endl; 267 266 cout <<"** This can take several minutes **"<< endl; 268 converter = new LHEFConverter(inputFileList,outputfilename);//case ntpl file in input list267 LHEFConverter converter(inputFileList,outputfilename);//case ntpl file in input list 269 268 } 270 269 else if(line.length() == 1+line.find_last_of(".root")) … … 272 271 cout <<"** h2root file format detected **"<<endl; 273 272 cout <<"** This can take several minutes **"<< endl; 274 converter = new HEPEVTConverter(inputFileList,outputfilename);//case ntpl file in input list273 HEPEVTConverter converter(inputFileList,outputfilename);//case ntpl file in input list 275 274 } 276 275 else if(line.length() == 1+line.find_last_of(".hepmc")) … … 278 277 cout <<"** HepMC ASCII file format detected **"<<endl; 279 278 cout <<"** This can take several minutes **"<< endl; 280 converter = new HepMCConverter(inputFileList,outputfilename);279 HepMCConverter converter(inputFileList,outputfilename); 281 280 } 282 281 else { … … 809 808 delete JETRUN; 810 809 delete VFD; 811 delete converter;812 810 813 811 // todo("TODO");
Note:
See TracChangeset
for help on using the changeset viewer.