49 JParser<> zap(
"Program to perform position pre-fit of shower to data.");
55 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
60 catch(
const exception& error) {
61 FATAL(error.what() << endl);
82 while (inputFile.hasNext()) {
84 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
96 JEvt::iterator __end = out.end();
102 copy(out.begin(), __end, back_inserter(reduced_out));
Utility class to parse command line options.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
Router for direct addressing of module data in detector data structure.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
class to handle first step of the shower reconstruction in ORCA: it reconstructs the shower vertex...
Data structure for fit parameters.
Auxiliary class for defining the range of iterations of objects.
Auxiliary class for recursive type list generation.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
void copy(const Head &from, JHead &to)
Copy header from from to to.
Object reading from a list of files.
const JLimit & getLimit() const
Get limit.
do set_variable DETECTOR_TXT $WORKDIR detector
bool qualitySorter(const JRECONSTRUCTION::JFit &first, const JRECONSTRUCTION::JFit &second)
Comparison of fit results.
JTriggerCounter_t next()
Increment trigger counter.
#define DEBUG(A)
Message macros.