Jpp  pmt_effective_area_update
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JFootprint.sh File Reference

Go to the source code of this file.

Functions

then usage $script< detector
file >< tripodfile >< Tx >< Ty >
nAuxiliary script to tilt
footprint of system including
detector and tripods fi 
if (($#!=4))
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null 
set_variable
 
then fatal Wrong number of
arguments fi set_variable
DETECTOR $argv[1] set_variable
TRIPOD $argv[2] set_variable
TX $argv[3] set_variable TY
$argv[4] 
if [[!-f $DETECTOR]]
 
then fatal No tripod file
$TRIPOD fi source JAcoustics
sh CHECK_EXIT_CODE typeset A
TRIPODS get_tripods $TRIPOD
TRIPODS let 
X_CENTER
 
do echo $TRIPODS[${key}] read
X Y Z let 
DZ
 

Function Documentation

then usage $script<detector file><tripodfile><Tx><Ty> nAuxiliary script to tilt footprint of system including detector and tripods fi if ( ($#!=4)  )

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 2 of file JFootprint.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable

Definition at line 14 of file JFootprint.sh.

then fatal No detector file $DETECTOR fi if[[!-f $TRIPOD]]

Definition at line 28 of file JFootprint.sh.

do echo $TRIPODS [${key}] read X Y Z let X_CENTER
Initial value:
=0.0
let Y_CENTER=0.0
let Z_CENTER=0.0
for key in "${(@k)TRIPODS}"
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Definition: JCanberra.sh:40

Definition at line 44 of file JFootprint.sh.

do echo $TRIPODS [${key}] read X Y Z let DZ
Initial value:
="${TX} * (${X} - ${X_CENTER}) + ${TY} * (${Y} - ${Y_CENTER})"
JEditTripod -f $TRIPOD -T "$key add 0.0 0.0 $DZ"
eval `JPrintDetector -a $DETECTOR -O HEADER`
typeset -a OPTION
JPrintDetector -a $DETECTOR -O modules | while read KEY MODULE STRING FLOOR X Y Z T0
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
Definition: JTuna.sh:26
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream.
Definition: io_ascii.hh:141
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable DETECTORXY_TXT $WORKDIR $DETECTORXY_TXT tail read X Y CHI2 RMS printf optimum n $X $Y $CHI2 $RMS awk v Y
then JPizza f
Definition: JPizza.sh:46
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then break fi done getCenter read X Y Z let X
then JCalibrateToT a
Definition: JTuneHV.sh:116
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 fatal Invalid tripod $TRIPOD
esac done
Definition: JAddHDE.sh:21

Definition at line 66 of file JFootprint.sh.