1 #ifndef __JRECONSTRUCTION__JMUONFEATURES__
2 #define __JRECONSTRUCTION__JMUONFEATURES__
50 namespace JRECONSTRUCTION {}
51 namespace JPP {
using namespace JRECONSTRUCTION; }
53 namespace JRECONSTRUCTION {
82 using JRegressor_t::operator();
96 const std::string& pdf_file,
97 const int debug = 0) :
103 using namespace JFIT;
114 this->parameters.resize(5);
134 using namespace JFIT;
135 using namespace JTRIGGER;
141 buildL0(event,
router,
true, back_inserter(dataL0));
143 return (*
this)(dataL0,
in);
157 using namespace JFIT;
158 using namespace JGEOMETRY3D;
162 for (JEvt::const_iterator track = in.begin(); track != in.end(); ++track) {
179 for (buffer_type::const_iterator
i = data.begin();
i != data.end(); ++
i) {
186 buffer.push_back(hit);
199 const int number_of_lines = string_ids.size();
201 const int NDF = number_of_hits - this->
parameters.size();
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]
const JDAQPMTIdentifier & getPMTIdentifier() const
Get PMT identifier.
size_t getCount(const array_type< T > &buffer, const JCompare_t &compare)
Count number of unique values.
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.
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.
static const int JMUONFEATURES_NUMBER_OF_HITS
number of hits from JMuonFeatures.cc
double TMax_ns
maximal time w.r.t. Cherenkov hypothesis [ns]
const array_type< JValue_t > & make_array(const JValue_t(&array)[N])
Method to create array of values.
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()
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
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 JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
const JSummaryRouter & summary
JPosition3D & rotate(const JRotation3D &R)
Rotate.
JTOOLS::JRange< double > JZRange