1#ifndef JSHOWERPOSITIONFIT_INCLUDE 
    2#define JSHOWERPOSITIONFIT_INCLUDE 
   81    using JRegressor_t::operator();
 
   97                       const std::string                      pdfFile,
 
  106      JRegressor_t::debug  = 
debug;
 
  107      JRegressor_t::T_ns.setRange(parameters.
TMin_ns, parameters.
TMax_ns);
 
  109      JRegressor_t::MAXIMUM_ITERATIONS = 
NMax;
 
  110      JRegressor_t::EPSILON = 1e-3;
 
  118      for (
int i = 0; i != 
En; ++i) {
 
  122      this->parameters.resize(5);
 
 
  150      for (JEvt::const_iterator shower = in.begin(); shower != in.end(); ++shower) {
 
  158        for (JDataL0_t::const_iterator i = dataL0.begin(); i != dataL0.end(); ++i) {
 
  163            data.push_back(
JHitW0(*i, rate_Hz));
 
  173        const int NDF = 
distance(data.begin(), __end) - this->parameters.size();
 
  180            double chi2 = (*this)(sh, data.begin(), __end);
 
  183                             this->value.getT(), this->value.getE());
 
 
 
Algorithms for hit clustering and sorting.
 
Auxiliary class to extract a subset of optical modules from a detector.
 
Data structure for detector geometry and calibration.
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Basic data structure for L0 hit.
 
Basic data structure for L1 hit.
 
Reduced data structure for L1 hit.
 
Match operator for Cherenkov light from shower in any direction.
 
Direct access to module in detector data structure.
 
Auxiliary class to define a range between two values.
 
Data regression method for JFIT::JPoint4E from a bright point isoptropic emission PDF.
 
Basic data structure for time and time over threshold information of hit.
 
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
 
Router for direct addressing of module data in detector data structure.
 
Data structure for set of track fit results.
 
Fit method based on the Levenberg-Marquardt method.
 
Data structure for vertex fit.
 
Data structure for vertex fit.
 
static parameter_type pZ()
 
static parameter_type pX()
 
static parameter_type pY()
 
static parameter_type pE()
 
static parameter_type pT()
 
Data structure for direction in three dimensions.
 
double getE() const
Get energy.
 
Auxiliary class for a hit with background rate value.
 
class to handle the second position fit of the shower reconstruction, mainly dedicated for ORCA
 
JShowerPositionFit(const JShowerPositionFitParameters_t ¶meters, const JModuleRouter &router, const JSummaryRouter &summary, const std::string pdfFile, const int debug=0)
Parameterized constructor.
 
JRegressor< JPoint4E, JGandalf > JRegressor_t
 
JEvt operator()(const KM3NETDAQ::JDAQEvent &event, const JFIT::JEvt &in)
Declaration of the member function that actually performs the reconstruction.
 
const JModuleRouter & router
 
const JSummaryRouter & summary
 
Router for fast addressing of summary data in KM3NETDAQ::JDAQSummaryslice data structure as a functio...
 
double getRate() const
Get default rate.
 
static const int JSHOWERPOSITIONFIT
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
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.
 
JHistory & add(const int type)
Add event to history.
 
Auxiliary class to match data points with given model.
 
Template definition of a data regressor of given model.
 
double VMax_npe
maximum number of of photo-electrons
 
double TTS_ns
transition-time spread [ns]
 
double TMin_ns
minimum time for local coincidences [ns]
 
double Emax_GeV
maximum energy to scan
 
int NMax
maximum number of iterations
 
double TMax_ns
maximum time for local coincidences [ns]
 
double Emin_GeV
minimum energy to scan
 
int En
number of points to scan in energy range
 
double DMax_m
maximal distance to optical module [m]
 
Auxiliary data structure for sorting of hits.