53 JParser<> zap(
"Auxiliary program to select number of DAQ events.");
57 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
62 catch(
const exception& error) {
63 FATAL(error.what() << endl);
78 int trigger_counter = 0;
84 STATUS(
"event: " << setw(10) <<
in.getCounter() <<
'\r');
DEBUG(endl);
91 if (tev->
getFrameIndex() != summary.getSummaryslice()->getFrameIndex()) {
92 WARNING(
"Frame index " << tev->
getFrameIndex() <<
" != " << summary.getSummaryslice()->getFrameIndex() << endl);
99 const std::string& tag =
i->comment;
132 if (frame_index.insert(summary.getSummaryslice()->getFrameIndex()).second) {
Utility class to parse command line options.
const char *const neutrino_t
int getFrameIndex() const
Get frame index.
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
Auxiliary class for defining the range of iterations of objects.
static const int PDG_MUONBUNDLE
muon bundle reached the can level (mupage)
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
JMultiHead getMultiHeader(const JMultipleFileScanner_t &file_list)
Get multi-header corresponding to a given file list.
const char *const primarylepton_t
static const int TRK_ST_PRIMARYNEUTRINO
initial state neutrino ('neutrino' tag in evt files from gseagen and genhen).
static const int TRK_ST_MUONBUNDLE
initial state muon bundle (mupage)
File router for fast addressing of summary data.
static const int TRK_ST_PRIMARYCOSMIC
initial state cosmic ray ('track_primary' tag in evt files from corant).
const char *const track_bundle_t
static const int TRK_ST_FINALSTATE
for MC: the particle must be processed by detector simulation ('track_in' tag in evt files)...
const char *const track_in_t
void setCounter(const JTriggerCounter_t counter)
Set trigger counter.
const char *const track_t
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
Object reading from a list of files.
static int ROOT_IO_VERSION
Streamer version as obtained from ROOT file.
const char *const track_primary_t
JTriggerCounter_t getCounter() const
Get trigger counter.
JTriggerParameters getTriggerParameters(const JMultipleFileScanner_t &file_list)
Get trigger parameters.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
#define DEBUG(A)
Message macros.