30 int main(
int argc,
char **argv)
34 using namespace KM3NETDAQ;
43 JParser<> zap(
"Example program to monitor dynamical calibration of Evt formatted data.");
46 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
52 catch(
const exception& error) {
53 FATAL(error.what() << endl);
61 while (inputFile.hasNext()) {
63 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
65 const Evt* evt = inputFile.next();
73 <<
FIXED(15,0) << evt->
t.AsDouble() <<
' '
79 gn.put(evt->
t.AsDouble(), 0.0);
91 out <<
JGraph(gn,
"G[!gandalf]");
92 out << JGraph(g0,
"G[orientation]");
93 out << JGraph(
g1,
"G[position]");
Utility class to parse command line options.
int main(int argc, char *argv[])
ROOT TTree parameter settings of various packages.
Data structure for graph data.
Auxiliary data structure for floating point format specification.
Auxiliary data structure to build TGraph.
double getW(const Trk &track, const size_t index, const double value)
Get track information.
Auxiliary class for defining the range of iterations of objects.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
static const int JPP_COVERAGE_ORIENTATION
coverage of dynamic orientation calibration from any Jpp application
TTimeStamp t
UTC time of the timeslice, or the event_time for MC. (default: 01 Jan 1970 00:00:00) ...
std::vector< int > rec_stages
list of identifyers of succesfull fitting stages resulting in this track
General purpose class for object reading from a list of file names.
Utility class to parse command line options.
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
const JLimit & getLimit() const
Get limit.
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Double_t g1(const Double_t x)
Function.
static const int JPP_COVERAGE_POSITION
coverage of dynamic position calibration from any Jpp application