Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 9 of file JWeightFileScanner.cc.
26 catch(
const exception& error) {
27 FATAL(error.what() << endl);
34 header.physics[0].program =
"MUPAGE";
35 header.livetime.numberOfSeconds = 1.0;
41 while (
in.hasNext()) {
43 const Evt* evt =
in.next();
45 const double W =
in.getWeight(*evt);
47 DEBUG(
"Weight: " << W << endl);
Utility class to parse command line options.
Implementation of event weighing for MUPAGE data.
JMultipleFileScanner_t getAAnetFiles(const JMultipleFileScanner_t &input, const JHead &header, const bool option=false)
Get list of files compatible with geven header.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
std::vector< JAANET::physics > physics
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template file scanner with event weight.
General purpose class for object reading from a list of file names.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
#define DEBUG(A)
Message macros.