Changeset 47bd664 in git for converters
- Timestamp:
- Jul 7, 2013, 3:11:51 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 80d4a34
- Parents:
- c82c0d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
converters/root2lhco.cpp
rc82c0d1 r47bd664 419 419 if(argc < 2 || argc > 3) 420 420 { 421 c out<< " Usage: " << appName << " input_file" << " [output_file]" << endl;422 c out<< " input_file - input file in ROOT format," << endl;423 c out<< " output_file - output file in LHCO format," << endl;424 c out<< " with no output_file, or when output_file is -, write to standard output." << endl;421 cerr << " Usage: " << appName << " input_file" << " [output_file]" << endl; 422 cerr << " input_file - input file in ROOT format," << endl; 423 cerr << " output_file - output file in LHCO format," << endl; 424 cerr << " with no output_file, or when output_file is -, write to standard output." << endl; 425 425 return 1; 426 426 } … … 436 436 try 437 437 { 438 c out<< "** Reading " << argv[1] << endl;438 cerr << "** Reading " << argv[1] << endl; 439 439 inputChain = new TChain("Delphes"); 440 440 inputChain->Add(argv[1]); … … 457 457 } 458 458 459 fprintf(outputFile, " # typ eta phi pt jmas ntrk btag had/em dum1 dum2\n"); 460 459 461 allEntries = treeReader->GetEntries(); 460 c out<< "** Input file contains " << allEntries << " events" << endl;462 cerr << "** Input file contains " << allEntries << " events" << endl; 461 463 462 464 if(allEntries > 0) … … 484 486 } 485 487 486 c out<< "** Exiting..." << endl;488 cerr << "** Exiting..." << endl; 487 489 488 490 if(outputFile != stdout) fclose(outputFile);
Note:
See TracChangeset
for help on using the changeset viewer.