Jpp  15.0.1-rc.1-highqe
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
getLivetime.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 # \author mdejong
4 #
5 script=${0##*/}
6 
7 # ------------------------------------------------------------------------------------------
8 #
9 # Auxiliary script to print DAQ live time.
10 #
11 # ------------------------------------------------------------------------------------------
12 
13 if [ -z $JPP_DIR ]; then
14  echo "Variable JPP_DIR undefined."
15  exit
16 fi
17 
18 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
19 
20 if do_usage $*; then
21  usage "$script (input file)+"
22 fi
23 
24 INPUT_FILES=($*)
25 
27  -f "${INPUT_FILES[*]}"
then JMuonPostfit f
exit
Definition: JPizza.sh:36
then echo
* usage
set_array INPUT_FILES
double getLivetime(const std::string &file_name)
Get data taking live time.
script
Definition: JAcoustics.sh:2
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null