From 3aec1383852e1ca4dd4bd1b1c2133f70a37ca432 Mon Sep 17 00:00:00 2001 From: matta adrien <matta@lpccaen.in2p3.fr> Date: Thu, 3 Nov 2016 09:52:42 +0100 Subject: [PATCH] * Nicer help - correct spelling - streamlined presentation --- NPLib/Core/NPOptionManager.cxx | 41 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/NPLib/Core/NPOptionManager.cxx b/NPLib/Core/NPOptionManager.cxx index 906fb2714..55f186538 100644 --- a/NPLib/Core/NPOptionManager.cxx +++ b/NPLib/Core/NPOptionManager.cxx @@ -335,28 +335,29 @@ void NPOptionManager::DisplayHelp(){ DisplayVersion(); cout << endl << "----NPOptionManager Help----" << endl << endl ; cout << "List of Option " << endl ; - cout << "\t --help -H -h\t \t \t \tDisplay this help message" << endl ; - cout << "\t --detector -D <arg>\t \t \tSet arg as the detector configuration file" << endl ; - cout << "\t --event-generator -E <arg>\t \tSet arg as the event generator file" << endl ; - cout << "\t --output -O <arg>\t \t \tSet arg as the Output File Name (output tree)" << endl ; - cout << "\t --tree-name <arg>\t \t \tSet arg as the Output Tree Name " << endl ; - cout << "\t --verbose -V <arg>\t \t \tSet the verbose level of some of the object, 0 for nothing, 1 for normal printout. Error and warning are not affected" << endl ; + cout << "\t--help -H -h\t\t\tDisplay this help message" << endl ; + cout << "\t--detector -D <arg>\t\tSet arg as the detector configuration file" << endl ; + cout << "\t--event-generator -E <arg>\tSet arg as the event generator file" << endl ; + cout << "\t--output -O <arg>\t\tSet arg as the Output File Name (output tree)" << endl ; + cout << "\t--tree-name <arg>\t\tSet arg as the Output Tree Name " << endl ; + cout << "\t--verbose -V <arg>\t\tSet the verbose level, 0 for nothing, 1 for normal printout."<<endl; + cout << "\t\t\t\t\tError and warning are not affected" << endl ; cout << endl << "NPAnalysis only:"<<endl; - cout << "\t --run -R <arg>\t \t \t \tSet arg as the run to read file list" << endl ; - cout << "\t --cal -C <arg>\t \t \t \tSet arg as the calibration file list" << endl ; - cout << "\t --disable-branch\t \t \tDisable of branch of Input tree except the one of the detector (faster)" << endl ; - cout << "\t --generate-histo -GH\t \t \tInstantiate the T*Spectra class of each detector" << endl ; - cout << "\t --check-histo -CH\t \t \tCheck if the Histogram looks ok and change there color if not" << endl ; - cout << "\t --input-physical -IP\t \t \tConsider the Input file is containing Physics Class instead of Data Class. Output branches associate to the detector are not activated" << endl ; - cout << "\t -L <arg>\t \t \t \tLimit the number of envent to be analysed to arg" << endl ; - cout << "\t --last-sim\t \t \t \tIgnore the list of Run to treat if any and analysed the last simulated file" << endl ; - cout << "\t --last-phy\t \t \t \tIgnore the list of Run to treat if any and analysed the last Physics file" << endl ; - cout << "\t --last-res\t \t \t \tIgnore the list of Run to treat if any and analysed the last Result file" << endl ; - cout << "\t --last-any\t \t \t \tIgnore the list of Run to treat if any and analysed the last root file with a non standard Tree name" << endl ; - cout << "\t --online \t \t \t \tStart the spectra server" << endl ; + cout << "\t--run -R <arg>\t\t\tSet arg as the run to read file list" << endl ; + cout << "\t--cal -C <arg>\t\t\tSet arg as the calibration file list" << endl ; + cout << "\t--disable-branch\t\tDisable of branch of Input tree except the one of the detector (faster)" << endl ; + cout << "\t--generate-histo -GH\t\tInstantiate the T*Spectra class of each detector" << endl ; + cout << "\t--check-histo -CH\t\tCheck if the Histogram looks ok and change there color if not" << endl ; + cout << "\t--input-physical -IP\t\tConsider the Input file is containing Physics Class." << endl ; + cout << "\t-L <arg>\t\t\tLimit the number of envent to be analysed to arg" << endl ; + cout << "\t--last-sim\t\t\tIgnore the list of Run to treat if any and analysed the last simulated file" << endl ; + cout << "\t--last-phy\t\t\tIgnore the list of Run to treat if any and analysed the last Physics file" << endl ; + cout << "\t--last-res\t\t\tIgnore the list of Run to treat if any and analysed the last Result file" << endl ; + cout << "\t--last-any\t\t\tIgnore the list of Run to treat if any and analysed the last generated root file" << endl ; + cout << "\t--online \t\t\ttStart the spectra server" << endl ; cout << endl << "NPSimulation only:"<<endl; - cout << "\t -M <arg>\t \t \t \tExexute the Geant4 macro at <arg> at startup" << endl ; - cout << "\t -B <arg>\t \t \t \tExexute in batch mode (no ui) with Geant4 macro at <arg> at startup" << endl ; + cout << "\t-M <arg>\t\t\tExecute Geant4 macro <arg> at startup" << endl ; + cout << "\t-B <arg>\t\t\tExecute in batch mode (no ui) with Geant4 macro <arg> at startup" << endl ; cout << endl << endl ; -- GitLab