7 if [ -z $JPP_DIR ]; 
then 
    8     echo "Variable JPP_DIR undefined." 
   12 source $JPP_DIR/setenv.sh $JPP_DIR
 
   15     usage "$script (detector file|detector identifier)"\
 
   16           "\nAuxiliary script to locally install file with mechanical parameters for dynamical calibrations." 
   19 if (( $# != 1 )); 
then 
   20     fatal 
"Wrong number of arguments." 
   31 let  
"RUN = 1"                                        # arbitrary run number
 
then usage $script[< detector identifier >< run range >]< QA/QCfile > nExample script to produce data quality plots nWhen a detector identifier and run range are data are downloaded from the database nand subsequently stored in the given QA QC file
 
then usage $script< directory A >< directoryB > nIn each there should be a file detector datx and tripod txt
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O SUMMARY JPrintDAQHeader f $INPUT_FILE read A DAQ_HEADER set_variable DETECTOR_ID
 
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
 
JDetectorsHelper & getDetector()
Auxiliary function for helper object initialisation. 
 
TFile * getFile(const std::string &file_name, const std::string &option="exist")
Get TFile pointer corresponding to give file name. 
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
 
then set_variable MODULE getModule a $DETECTOR L $STRING $FLOOR JEditDetector a $DETECTOR M $MODULE add $X o $DETECTOR else echo No update of detector $DETECTOR
 
then eval ls $DIR $ID $TYPE _
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
do echo Generating $dir eval D