27 inline void print(std::ostream& out,
const std::string& prefix,
const Trk&
trk)
39 <<
setw(3) <<
trk.status <<
':';
41 for (
const auto i :
trk.rec_stages) {
57 inline void print(std::ostream& out,
const std::string& prefix,
const Evt& evt,
const int id)
60 for (
const Trk& i : evt.trks) {
62 print(out, prefix, i);
63 print(out,
" " + prefix, evt, i.mother_id);
83 JLimit_t& numberOfEvents = inputFile.getLimit();
88 JParser<> zap(
"Example program to print track fit results from Evt formatted data.");
96 catch(
const exception& error) {
101 while (inputFile.hasNext()) {
103 cout <<
"event " <<
setw(10) << inputFile.getCounter() <<
endl;
105 const Evt* evt = inputFile.next();
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
Template definition of a multi-dimensional oscillation probability interpolation table.
std::ostream & print(std::ostream &out, const JTestSummary &summary, T __begin, T __end, const bool useColors=true, const JFormat_t &formatting=JFormat_t(18, 3, std::ios::fixed))
Print test summary.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Auxiliary data structure for floating point format specification.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.