Changeset 181c061 in git for validation
- Timestamp:
- Apr 25, 2017, 5:37:05 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 254db49, 76ef951
- Parents:
- 88c03bc
- Location:
- validation
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
validation/DelphesValidation.cpp
r88c03bc r181c061 1451 1451 1452 1452 1453 void Validation(const char *inputFilePion, 1454 const char *inputFileElectron, 1455 const char *inputFileMuon, 1456 const char *inputFilePhoton, 1457 const char *inputFileNeutralHadron, 1458 const char *inputFileJet, 1459 const char *inputFileBJet, 1460 const char *inputFileCJet, 1461 const char *inputFileTauJet, 1462 const char *outputFile, 1463 const char *version) 1453 void DelphesValidation( 1454 const char *inputFilePion, 1455 const char *inputFileElectron, 1456 const char *inputFileMuon, 1457 const char *inputFilePhoton, 1458 const char *inputFileNeutralHadron, 1459 const char *inputFileJet, 1460 const char *inputFileBJet, 1461 const char *inputFileCJet, 1462 const char *inputFileTauJet, 1463 const char *outputFile, 1464 const char *version) 1464 1465 { 1465 1466 … … 3036 3037 int main(int argc, char *argv[]) 3037 3038 { 3038 char *appName = " Validation";3039 char *appName = "DelphesValidation"; 3039 3040 3040 3041 if(argc != 12) 3041 3042 { 3042 cout << " Usage: " << appName << " input_file_electron input_file_muon input_file_photon input_file_jet input_file_bjet input_file_taujet output_file " << endl;3043 cout << " input_file_pion 3044 cout << " input_file_electron 3043 cout << " Usage: " << appName << " input_file_electron input_file_muon input_file_photon input_file_jet input_file_bjet input_file_taujet output_file version" << endl; 3044 cout << " input_file_pion - input file in ROOT format ('Delphes' tree)," << endl; 3045 cout << " input_file_electron - input file in ROOT format ('Delphes' tree)," << endl; 3045 3046 cout << " input_file_muon - input file in ROOT format ('Delphes' tree)," << endl; 3046 3047 cout << " input_file_photon - input file in ROOT format ('Delphes' tree)," << endl; … … 3050 3051 cout << " input_file_cjet - input file in ROOT format ('Delphes' tree)," << endl; 3051 3052 cout << " input_file_taujet - input file in ROOT format ('Delphes' tree)," << endl; 3052 cout << " output_file - output file in ROOT format " << endl;3053 cout << " delphes version" << endl;3053 cout << " output_file - output file in ROOT format," << endl; 3054 cout << " version - Delphes version" << endl; 3054 3055 3055 3056 return 1; … … 3062 3063 TApplication app(appName, &appargc, appargv); 3063 3064 3064 Validation(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], argv[7], argv[8], argv[9], argv[10], argv[11]);3065 DelphesValidation(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], argv[7], argv[8], argv[9], argv[10], argv[11]); 3065 3066 } 3066 3067 -
validation/validation.sh
r88c03bc r181c061 97 97 echo all particle guns complete ... 98 98 99 ./ Validation $outputrootdir/particleGun_pion_$cardlabel.root $outputrootdir/particleGun_electron_$cardlabel.root $outputrootdir/particleGun_muon_$cardlabel.root $outputrootdir/particleGun_photon_$cardlabel.root $outputrootdir/particleGun_neutron_$cardlabel.root $outputrootdir/particleGun_jet_$cardlabel.root $outputrootdir/particleGun_bjet_$cardlabel.root $outputrootdir/particleGun_cjet_$cardlabel.root $outputrootdir/particleGun_taujet_$cardlabel.root $mainoutputdir/$output $version99 ./DelphesValidation $outputrootdir/particleGun_pion_$cardlabel.root $outputrootdir/particleGun_electron_$cardlabel.root $outputrootdir/particleGun_muon_$cardlabel.root $outputrootdir/particleGun_photon_$cardlabel.root $outputrootdir/particleGun_neutron_$cardlabel.root $outputrootdir/particleGun_jet_$cardlabel.root $outputrootdir/particleGun_bjet_$cardlabel.root $outputrootdir/particleGun_cjet_$cardlabel.root $outputrootdir/particleGun_taujet_$cardlabel.root $mainoutputdir/$output $version 100 100 101 101
Note:
See TracChangeset
for help on using the changeset viewer.