1 #ifndef __JRECONSTRUCTION__JMUONFEATURES__
2 #define __JRECONSTRUCTION__JMUONFEATURES__
48 namespace JRECONSTRUCTION {}
49 namespace JPP {
using namespace JRECONSTRUCTION; }
51 namespace JRECONSTRUCTION {
80 using JRegressor_t::operator();
95 const int debug = 0) :
101 using namespace JFIT;
112 this->parameters.resize(5);
132 using namespace JFIT;
133 using namespace JTRIGGER;
139 buildL0(event,
router,
true, back_inserter(dataL0));
141 return (*
this)(dataL0,
in);
155 using namespace JFIT;
156 using namespace JGEOMETRY3D;
160 for (JEvt::const_iterator track = in.begin(); track != in.end(); ++track) {
177 for (buffer_type::const_iterator
i = data.begin();
i != data.end(); ++
i) {
184 buffer.push_back(hit);
199 if (std::find(std::begin(string_ids), std::end(string_ids), string_id) == std::end(string_ids)){
200 string_ids.push_back(string_id);
static int debug
debug level (default is off).
Data regression method for JFIT::JLine3Z.
Template definition of a data regressor of given model.
static const int JMUONFEATURES_NUMBER_OF_LINES
number of lines from JMuonFeatures.cc
Wrapper class to add features after the final fit of muon trajectory.
double ZMin_m
minimal z-positon [m]
double TTS_ns
transition-time spread [ns]
const JModuleRouter & router
const JModule & getModule(const JObjectID &id) const
Get module parameters.
double TMin_ns
minimal time w.r.t. Cherenkov hypothesis [ns]
std::vector< hit_type > buffer_type
double ZMax_m
maximal z-positon [m]
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
double roadWidth_m
road width [m]
Router for direct addressing of module data in detector data structure.
double getRate() const
Get default rate.
*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
Template specialisation of class JModel to match hit with muon trajectory along z-axis.
Data structure for fit of straight line in positive z-direction.
static parameter_type pT()
double VMax_npe
maximum number of of photo-electrons
JFit & add(const int type)
Add event to history.
static struct JTRIGGER::JHitL0::compare compare
JRegressor< JLine3Z, JGandalf > JRegressor_t
static JTimeRange T_ns
Time window with respect to Cherenkov hypothesis [ns].
Basic data structure for L0 hit.
JEvt operator()(const KM3NETDAQ::JDAQEvent &event, const JEvt &in)
Fit function.
static parameter_type pDX()
JAxis3D & rotate(const JRotation3D &R)
Rotate axis.
JDirection3D getDirection(const Vec &dir)
Get direction.
double TMax_ns
maximal time w.r.t. Cherenkov hypothesis [ns]
JPosition3D getPosition(const Vec &pos)
Get position.
JMuonFeatures(const JMuonGandalfParameters_t ¶meters, const JModuleRouter &router, const JSummaryRouter &summary, const std::string &pdf_file, const int debug=0)
Constructor.
Router for fast addressing of summary data in KM3NETDAQ::JDAQSummaryslice data structure as a functio...
static parameter_type pY()
Data structure for fit parameters.
static const int JMUONFEATURES
General purpose messaging.
static parameter_type pDY()
Direct access to module in detector data structure.
Fit method based on the Levenberg-Marquardt method.
JEvt operator()(const buffer_type &data, const JEvt &in)
Fit function.
static parameter_type pX()
then JCookie sh JDataQuality D $DETECTOR_ID R
Auxiliary class for a hit with background rate value.
int getString() const
Get string number.
static const int JMUONFEATURES_NUMBER_OF_DOMS
number of doms from JMuonFeatures.cc
static const int JSTART_LENGTH_METRES
distance between first and last hits in metres from JStart.cc
Data structure for set of track fit results.
int NMax
maximum number of iterations
Regressor function object for JLine3Z fit using JGandalf minimiser.
Auxiliary class to define a range between two values.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
static double Vmax_npe
Maximal integral of PDF [npe].
Data structure for L0 hit.
Data structure for fit of straight line paralel to z-axis.
JTRIGGER::JHitL0 hit_type
static int MAXIMUM_ITERATIONS
maximal number of iterations
const JSummaryRouter & summary
JPosition3D & rotate(const JRotation3D &R)
Rotate.
JTOOLS::JRange< double > JZRange