55   using namespace KM3NETDAQ;
 
   59   typedef JParallelFileScanner_t::multi_pointer_type               multi_pointer_type;
 
   62   JParallelFileScanner_t  inputFile;
 
   68   size_t         numberOfPrefits;
 
   75     JParser<> zap(
"Program to determine veto of muon trajectory.");
 
   80     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   81     zap[
'R'] = 
make_field(roadWidth_m)         = numeric_limits<double>::max();
 
   90   catch(
const exception& error) {
 
   91     FATAL(error.what() << endl);
 
  114     VS += vs->getLength() * 1.0e-9;
 
  122   while (inputFile.hasNext()) {
 
  124     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
  126     multi_pointer_type ps  = inputFile.next();
 
  139     buildL0(*tev, router, 
true, back_inserter(dataL0));
 
  142     for (JEvt::iterator track = cp.begin(); track != cp.end(); ++track) {
 
  151       for (JDataL0_t::const_iterator i = dataL0.begin(); i != dataL0.end(); ++i) {
 
  157         bool is_veto = 
false;
 
  159         if (tz.getDistance(hit) <= roadWidth_m) {
 
  161           const double t1 = hit.getT() - tz.getT(hit);
 
  169           top.insert(hit.getPMTIdentifier());
 
  177       for (JDetector::const_iterator module = 
detector.begin(); module != 
detector.end(); ++module) {
 
  183         if (tz.getDistance(pos) <= roadWidth_m) {
 
  185           for (
unsigned int i = 0; i != module->size(); ++i) {
 
  190             count += top.count(
id);
 
  197       out.rbegin()->setW(track->getW());
 
Utility class to parse command line options. 
 
static const int JVETO_NPE
number of photo-electrons from JVeto.cc 
 
Template specialisation of L0 builder for JHitL0 data type. 
 
Router for direct addressing of module data in detector data structure. 
 
General purpose class for parallel reading of objects from a single file or multiple files...
 
static const int JMUONVETO
 
JFit & add(const int type)
Add event to history. 
 
Auxiliary class for defining the range of iterations of objects. 
 
JDirection3D getDirection(const Vec &dir)
Get direction. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
JPosition3D getPosition(const Vec &pos)
Get position. 
 
static const int JVETO_NUMBER_OF_HITS
number of hits from JVeto.cc 
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable NORTH set_variable EAST set_variable SOUTH set_variable WEST set_variable WORKDIR tmp set_variable R set_variable CT set_variable YMAX set_variable YMIN if do_usage *then usage $script[distance] fi case set_variable R
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file. 
 
Data structure for L0 hit. 
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
Data structure for fit of straight line paralel to z-axis. 
 
Object reading from a list of files. 
 
Data structure for position in three dimensions. 
 
const JLimit & getLimit() const 
Get limit. 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
JPosition3D & rotate(const JRotation3D &R)
Rotate. 
 
bool qualitySorter(const JRECONSTRUCTION::JFit &first, const JRECONSTRUCTION::JFit &second)
Comparison of fit results.