Changeset 418 in svn
- Timestamp:
- May 28, 2009, 10:49:19 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGELOG
r415 r418 1 * Changes relative to V.1. 81 * Changes relative to V.1.7 2 2 - small typos in "cout" removed 3 - Nevents implemented in DetectorCards 4 - bug removed in bad inputfile type identification (".hep" vs ".lhe") 3 5 /-----------------------------------------\ 4 6 | 22 May 2009: release Version1.7 | -
trunk/Delphes.cpp
r416 r418 207 207 cout <<"** **"<<endl; 208 208 cout <<"** ####### Start conversion to TRoot format ######## **"<< endl; 209 210 if(line.length() == 1+line.find_last_of(".hep")) 209 210 if(line.rfind(".hepmc") < line.length()) 211 { 212 cout <<"** HepMC ASCII file format detected **"<<endl; 213 cout <<"** This can take several minutes **"<< endl; 214 HepMCConverter converter(inputFileList,outputfilename,DET->PDGtable,DET->NEvents); 215 } 216 else if(line.rfind(".hep") < line.length()) 211 217 { 212 218 cout <<"** StdHEP file format detected **"<<endl; 213 219 cout <<"** This can take several minutes **"<< endl; 214 STDHEPConverter converter(inputFileList,outputfilename,DET->PDGtable );//case ntpl file in input list215 } 216 else if(line. length() == 1+line.find_last_of(".lhe"))220 STDHEPConverter converter(inputFileList,outputfilename,DET->PDGtable,DET->NEvents); 221 } 222 else if(line.rfind(".lhe") < line.length()) 217 223 { 218 224 cout <<"** LHEF file format detected **"<<endl; 219 225 cout <<"** This can take several minutes **"<< endl; 220 LHEFConverter converter(inputFileList,outputfilename,DET->PDGtable );//case ntpl file in input list221 } 222 else if(line. length() == 1+line.find_last_of(".root"))226 LHEFConverter converter(inputFileList,outputfilename,DET->PDGtable,DET->NEvents); 227 } 228 else if(line.rfind(".root") < line.length()) 223 229 { 224 230 cout <<"** h2root file format detected **"<<endl; 225 231 cout <<"** This can take several minutes **"<< endl; 226 HEPEVTConverter converter(inputFileList,outputfilename,DET->PDGtable );//case ntpl file in input list227 } 228 else if(line. length() == 1+line.find_last_of(".hepmc"))232 HEPEVTConverter converter(inputFileList,outputfilename,DET->PDGtable,DET->NEvents); 233 } 234 else if(line.rfind(".hepmc") < line.length()) 229 235 { 230 236 cout <<"** HepMC ASCII file format detected **"<<endl; 231 237 cout <<"** This can take several minutes **"<< endl; 232 HepMCConverter converter(inputFileList,outputfilename,DET->PDGtable );238 HepMCConverter converter(inputFileList,outputfilename,DET->PDGtable,DET->NEvents); 233 239 } 234 240 else {
Note:
See TracChangeset
for help on using the changeset viewer.