Go to the documentation of this file.
33 int main(
int argc,
char **argv)
43 JLimit_t& numberOfEvents = inputFile.getLimit();
48 JParser<> zap(
"Auxiliary program to store Monte Carlo true muon in format for subsequent fits.");
52 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
57 catch(
const exception& error) {
58 FATAL(error.what() << endl);
76 const Evt*
event = ps;
83 if (muon != event->mc_trks.end()) {
Auxiliary class for defining the range of iterations of objects.
General purpose class for multiple pointers.
double putTime() const
Get Monte Carlo minus DAQ/trigger hit time.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time.
JTrack3E getTrack(const Trk &track)
Get track.
Utility class to parse command line options.
Data structure for set of track fit results.
bool is_muon(const Trk &track)
Test whether given track is a (anti-)muon.
virtual bool hasNext()
Check availability of next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
counter_type getCounter() const
Get counter.
Data structure for vector in three dimensions.
JTime & add(const JTime &value)
Addition operator.
virtual const multi_pointer_type & next()
Get next element.
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino.
bool has_neutrino(const Evt &evt)
Test whether given event has an incoming neutrino.
Vec pos
postion of the track at time t
Auxiliary class to synchronously read DAQ events and Monte Carlo events (and optionally other events)...
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose class for object reading from a list of file names.
#define DEBUG(A)
Message macros.
KM3NeT DAQ data structures and auxiliaries.
JFit getFit(const JHistory &history, const JTrack3D &track, const double Q, const int NDF, const double energy=0.0, const int status=0)
Get fit.
int main(int argc, char **argv)
double getE() const
Get energy.