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
Public Member Functions | Public Attributes | List of all members
rec_stages_range Struct Reference

Range of reconstruction stages. More...

#include <reconstruction.hh>

Public Member Functions

 rec_stages_range ()
 Defaut constructor. More...
 
 rec_stages_range (const int lower, const int upper)
 Constructor. More...
 
 rec_stages_range (const int stage)
 Constructor. More...
 
bool operator() (const int stage) const
 Test if given reconstruction stage is within range. More...
 

Public Attributes

int lower
 
int upper
 

Detailed Description

Range of reconstruction stages.

Definition at line 26 of file tools/reconstruction.hh.

Constructor & Destructor Documentation

rec_stages_range::rec_stages_range ( )
inline

Defaut constructor.

Definition at line 30 of file tools/reconstruction.hh.

30  :
31  lower(0),
32  upper(std::numeric_limits<int>::max())
33  {}
rec_stages_range::rec_stages_range ( const int  lower,
const int  upper 
)
inline

Constructor.

Parameters
lowerlower reconstruction stage
upperupper reconstruction stage

Definition at line 42 of file tools/reconstruction.hh.

rec_stages_range::rec_stages_range ( const int  stage)
inline

Constructor.

Parameters
stagereconstruction stage

Definition at line 53 of file tools/reconstruction.hh.

53  :
54  lower(stage),
55  upper(stage)
56  {}
then cat $TRIPOD_INITIAL<< EOF1 256877.5 4743716.7-2438.42 256815.5 4743395.0-2435.53 257096.2 4743636.0-2439.5EOFfiJEditDetector-a $DETECTOR_INITIAL-@"z = -2441.5"-s"-1 mul $MUL"-o $DETECTORcp-p $TRIPOD_INITIAL $TRIPODJAcoustics.sh $DETECTOR_IDJAcousticsEventBuilder.sh $DETECTOR $RUNS[*]cd $WORKDIRif[!$HOMEDIR-ef $WORKDIR];then cp-p $HOMEDIR/$TRIPOD $WORKDIR cp-p $HOMEDIR/$DETECTOR $WORKDIR for RUN in $RUNS[*];do cp-p $HOMEDIR/KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_ ${(l:8::0::0:) RUN}_event.root $WORKDIR done JAcoustics.sh $DETECTOR_IDfifor STAGE in`echo $STAGES`;do $JPP_DIR/examples/JAcoustics/acoustics-fit.sh $DETECTOR $TRIPOD $STAGE $WORKDIR/KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_ *event.root > $HOMEDIR stage

Member Function Documentation

bool rec_stages_range::operator() ( const int  stage) const
inline

Test if given reconstruction stage is within range.

Parameters
stagereconstruction stage
Returns
true if within range; else false

Definition at line 65 of file tools/reconstruction.hh.

66  {
67  return (stage >= lower && stage <= upper);
68  }
then cat $TRIPOD_INITIAL<< EOF1 256877.5 4743716.7-2438.42 256815.5 4743395.0-2435.53 257096.2 4743636.0-2439.5EOFfiJEditDetector-a $DETECTOR_INITIAL-@"z = -2441.5"-s"-1 mul $MUL"-o $DETECTORcp-p $TRIPOD_INITIAL $TRIPODJAcoustics.sh $DETECTOR_IDJAcousticsEventBuilder.sh $DETECTOR $RUNS[*]cd $WORKDIRif[!$HOMEDIR-ef $WORKDIR];then cp-p $HOMEDIR/$TRIPOD $WORKDIR cp-p $HOMEDIR/$DETECTOR $WORKDIR for RUN in $RUNS[*];do cp-p $HOMEDIR/KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_ ${(l:8::0::0:) RUN}_event.root $WORKDIR done JAcoustics.sh $DETECTOR_IDfifor STAGE in`echo $STAGES`;do $JPP_DIR/examples/JAcoustics/acoustics-fit.sh $DETECTOR $TRIPOD $STAGE $WORKDIR/KM3NeT_ ${(l:8::0::0:) DETECTOR_ID}_ *event.root > $HOMEDIR stage

Member Data Documentation

int rec_stages_range::lower

Definition at line 70 of file tools/reconstruction.hh.

int rec_stages_range::upper

Definition at line 71 of file tools/reconstruction.hh.


The documentation for this struct was generated from the following file: