Declaration of the member function that actually performs the reconstruction.
142 for (JEvt::const_iterator shower = in.begin(); shower != in.end(); ++shower) {
149 for (JDataL0_t::const_iterator
i = dataL0.begin();
i != dataL0.end(); ++
i) {
151 top.insert(
i->getPMTIdentifier());
158 for (JDetectorSubset_t::const_iterator module = subdetector.begin(); module != subdetector.end(); ++module) {
163 for (
size_t i = 0;
i != dom.size(); ++
i) {
167 frame[
i].is_valid() &&
173 const size_t count = top.count(
id);
182 for (JOmega3D_t::const_iterator dir =
omega.begin(); dir !=
omega.end(); ++dir) {
188 JNPE_t::result_type H1 = (*this).getH1(sh, pmt);
189 JNPE_t::result_type H0 = (*this).getH0(pmt.
getR());
190 const bool hit = pmt.
getN() != 0;
191 for(
size_t j=0;
j!=chi2v.size();++
j){
196 auto minChi2 = std::min_element(chi2v.begin(), chi2v.end());
double DMax_m
maximal distance to optical module [m]
double getR() const
Get rate.
Data structure for direction in three dimensions.
Data structure for a composite optical module.
Template specialisation of L0 builder for JHitL0 data type.
int En
number of points to scan in energy range
Auxiliary class for handling PMT geometry, rate and response.
const JSummaryRouter & summary
double getRate() const
Get default rate.
then usage $script< input file >[option] nPossible options count
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.
const JDAQSummaryFrame & getSummaryFrame() const
Get default summary frame.
double getQuality(const double chi2, const int N, const int NDF)
Get quality of fit.
static JTimeRange T_ns
Time window with respect to Cherenkov hypothesis [ns].
Data structure for fit of straight line in positive z-direction with energy.
JAxis3D & rotate(const JRotation3D &R)
Rotate axis.
Data structure for vector in three dimensions.
Data storage class for rate measurements of all PMTs in one module.
static const int JSHOWERDIRECTIONPREFIT
static const int PMT_DISABLE
KM3NeT Data Definitions v3.4.0-8-ge14cb17 https://git.km3net.de/common/km3net-dataformat.
Detector subset without binary search functionality.
then JCookie sh JDataQuality D $DETECTOR_ID R
bool getPMTStatus(const JStatus &status)
Test status of PMT.
const JClass_t & getReference() const
Get reference to object.
int getN() const
Get number of hits.
const JModuleRouter & router
JPosition3D getPosition(const JFit &fit)
Get position.
bool getDAQStatus(const JDAQFrameStatus &frame, const JStatus &status)
Test status of DAQ.
Template specialisation of class JModel to match hit with bright point.
double getChi2(const double P)
Get chi2 corresponding to given probability.
Data structure for normalised vector in positive z-direction.