Declaration of the member function that actually performs the reconstruction.
132 for (JEvt::const_iterator shower = in.begin(); shower != in.end(); ++shower) {
140 data.reserve(dataL0.size() + dataL1.size());
141 for (buffer_type::const_iterator
i = dataL1.begin();
i != dataL1.end(); ++
i) {
148 buffer_type::iterator __end = data.end();
150 for (buffer_type::const_iterator
i = dataL0.begin();
i != dataL0.end(); ++
i) {
162 double chi2 = (*this)(vx, data.begin(), data.end());
164 JShower3E sh_fit(this->value.getPosition(),
const JModuleRouter & router
JPredicate< JResult_t T::*, JComparison::eq > make_predicate(JResult_t T::*member, const JResult_t value)
Helper method to create predicate for data member.
int getModuleID() const
Get module identifier.
Data structure for direction in three dimensions.
double DMax_m
maximal distance to optical module [m]
size_t getCount(const array_type< T > &buffer, const JCompare_t &compare)
Count number of unique values.
Data structure for vertex fit.
static const int JSHOWERPOINTSIMPLEX
JFit getFit(const JHistory &history, const JTrack3D &track, const double Q, const int NDF, const double energy=0.0, const int status=SINGLE_STAGE)
Get fit.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
double getQuality(const double chi2, const int N, const int NDF)
Get quality of fit.
double TMaxLocal_ns
time window for local coincidences [ns]
Data structure for L2 parameters.
double TMax_ns
maximum time for local coincidences [ns]
then if[[!-f $DETECTOR]] then JDetector sh $DETECTOR fi cat $WORKDIR trigger_parameters txt<< EOFtrigger3DMuon.enabled=1;trigger3DMuon.numberOfHits=5;trigger3DMuon.gridAngle_deg=1;ctMin=0.0;TMaxLocal_ns=15.0;EOF set_variable TRIGGEREFFICIENCY_TRIGGERED_EVENTS_ONLY INPUT_FILES=() for((i=1;$i<=$NUMBER_OF_RUNS;++i));do JSirene.sh $DETECTOR $JPP_DATA/genhen.km3net_wpd_V2_0.evt.gz $WORKDIR/sirene_ ${i}.root JTriggerEfficiency.sh $DETECTOR $DETECTOR $WORKDIR/sirene_ ${i}.root $WORKDIR/trigger_efficiency_ ${i}.root $WORKDIR/trigger_parameters.txt $JPP_DATA/PMT_parameters.txt INPUT_FILES+=($WORKDIR/trigger_efficiency_ ${i}.root) done for ANGLE_DEG in $ANGLES_DEG[*];do set_variable SIGMA_NS 3.0 set_variable OUTLIERS 3 set_variable OUTPUT_FILE $WORKDIR/matrix\[${ANGLE_DEG}\deg\].root $JPP_DIR/examples/JReconstruction-f"$INPUT_FILES[*]"-o $OUTPUT_FILE-S ${SIGMA_NS}-A ${ANGLE_DEG}-O ${OUTLIERS}-d ${DEBUG}--!fiif[[$OPTION=="plot"]];then if((0));then for H1 in h0 h1;do JPlot1D-f"$WORKDIR/matrix["${^ANGLES_DEG}" deg].root:${H1}"-y"1 2e3"-Y-L TR-T""-\^"number of events [a.u.]"-> o chi2
JPosition3D getPosition(const JFit &fit)
Get position.
double TMin_ns
minimum time for local coincidences [ns]
double ctMin
minimal cosine space angle between PMT axes
Template specialisation of class JModel to match hit with bright point.
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [s]).