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) {
173 const size_t count = top.count(
id);
175 data.push_back(
JPMTW0(dom.getPMT(i), rate_Hz, count));
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());
Detector subset without binary search functionality.
Data structure for a composite optical module.
Data structure for fit of straight line in positive z-direction with energy.
JAxis3D & rotate(const JRotation3D &R)
Rotate axis.
Data structure for direction in three dimensions.
Data structure for vector in three dimensions.
Data structure for normalised vector in positive z-direction.
const JClass_t & getReference() const
Get reference to object.
const JDAQSummaryFrame & getSummaryFrame() const
Get default summary frame.
double getRate() const
Get default rate.
Template specialisation of L0 builder for JHitL0 data type.
Data storage class for rate measurements of all PMTs in one module.
static const int JSHOWERDIRECTIONPREFIT
double getChi2(const double P)
Get chi2 corresponding to given probability.
double getQuality(const double chi2, const int N, const int NDF)
Get quality of fit.
JPosition3D getPosition(const JFit &fit)
Get position.
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.
bool is_valid(const json &js)
Check validity of JSon data.
bool getDAQStatus(const JDAQFrameStatus &frame, const JStatus &status)
Test status of DAQ.
bool getPMTStatus(const JStatus &status)
Test status of PMT.
static const int PMT_DISABLE
KM3NeT Data Definitions v3.4.0-8-ge14cb17 https://git.km3net.de/common/km3net-dataformat.
JHistory & add(const int type)
Add event to history.
Template specialisation of class JModel to match hit with bright point.
Auxiliary class for handling PMT geometry, rate and response.
int getN() const
Get number of hits.
double getR() const
Get rate.
double DMax_m
maximal distance to optical module [m]