32 int main(
int argc,
char **argv)
36 using namespace KM3NETDAQ;
38 std::string inputFile;
45 JParser<> zap(
"Program to print DAQ value used for sorting entries in ROOT TTree.");
54 catch(
const exception& error) {
55 FATAL(error.what() << endl);
63 double v0 = numeric_limits<double>::lowest();
66 while (in.hasNext()) {
75 << setw(8) << in.getCounter() <<
' '
78 <<
FIXED(20,10) << v1 <<
' ';
80 if (v0 != numeric_limits<double>::lowest()) {
88 if (v0 != numeric_limits<double>::lowest()) {
Utility class to parse command line options.
static const JDAQEvaluator getDAQValue
Function object for evaluation of DAQ objects.
int main(int argc, char *argv[])
ROOT TTree parameter settings of various packages.
int getDetectorID() const
Get detector identifier.
Auxiliary data structure for floating point format specification.
int getRunNumber() const
Get run number.
Template definition for direct access of elements in ROOT TChain.
int getFrameIndex() const
Get frame index.
Auxiliary class for defining the range of iterations of objects.
#define ASSERT(A,...)
Assert macro.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
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
Utility class to parse command line options.
Auxiliary data structure for floating point format specification.
JTriggerCounter_t getCounter() const
Get trigger counter.
#define DEBUG(A)
Message macros.