51 int main(
int argc, 
char **argv)
 
   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);
 
  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());
 
double getT() const 
Get calibrated time of hit. 
 
Utility class to parse command line options. 
 
ROOT TTree parameter settings. 
 
static const int JVETO_NPE
number of photo-electrons from JVeto.cc 
 
Template specialisation of L0 builder for JHitL0 data type. 
 
const JDAQPMTIdentifier & getPMTIdentifier() const 
Get PMT identifier. 
 
Recording of objects on file according a format that follows from the file name extension. 
 
Router for direct addressing of module data in detector data structure. 
 
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
 
General purpose class for parallel reading of objects from a single file or multiple files...
 
static const int JMUONVETO
 
Basic data structure for time and time over threshold information of hit. 
 
JFit & add(const int type)
Add event to history. 
 
Data structure for detector geometry and calibration. 
 
Basic data structure for L0 hit. 
 
Scanning of objects from a single file according a format that follows from the extension of each fil...
 
Auxiliary class for defining the range of iterations of objects. 
 
JAxis3D & rotate(const JRotation3D &R)
Rotate axis. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
Parallel scanning of objects from a single file or multiple files according a format that follows fro...
 
static const int JVETO_NUMBER_OF_HITS
number of hits from JVeto.cc 
 
void load(const JString &file_name, JDetector &detector)
Load detector from input file. 
 
then usage $script[distance] fi case set_variable R
 
General purpose messaging. 
 
Direct access to module in detector data structure. 
 
Reduced data structure for L1 hit. 
 
Data structure for set of track fit results. 
 
Utility class to parse command line options. 
 
Data structure for L0 hit. 
 
Data structure for fit of straight line paralel to z-axis. 
 
JDirection3D getDirection(const Vec &v)
Get direction. 
 
Object reading from a list of files. 
 
Data structure for position in three dimensions. 
 
const JLimit & getLimit() const 
Get limit. 
 
JPosition3D & rotate(const JRotation3D &R)
Rotate. 
 
void select(const JSelector_t &selector)
Select fits. 
 
bool qualitySorter(const JRECONSTRUCTION::JFit &first, const JRECONSTRUCTION::JFit &second)
Comparison of fit results. 
 
Basic data structure for L1 hit. 
 
#define DEBUG(A)
Message macros. 
 
JPosition3D getPosition(const Vec &v)
Get position. 
 
int main(int argc, char *argv[])