50 bool operator()(
const T& first,
const T& second)
const
52 if (first.getPMTIdentifier() == second.getPMTIdentifier())
53 return first.getT() < second.getT();
55 return first.getPMTIdentifier() < second.getPMTIdentifier();
79 typedef JSingleFileScanner_t::pointer_type pointer_type;
84 JLimit_t& numberOfEvents = inputFile.getLimit();
94 JParser<> zap(
"Program to extract information about hits and all PMTs in the detector for water property studies");
107 catch(
const exception& error) {
127 catch(
const exception& error) {
137 catch(
const exception& error){
145 TTree *
hits_tree =
new TTree(
"Hits",
"Tree with hits");
165 TTree *
pmts_tree =
new TTree(
"PMTs",
"Tree with PMTs");
192 while (in.hasNext()) {
196 pointer_type ps = in.next();
200 summary.update(*
tev);
216 for (JDataL0_t::const_iterator i = dataL0.begin(); i != dataL0.end(); ++i) {
218 JHitW0 hit(*i, summary.getRate(*i, R_Hz));
261 for (JDetector::const_iterator i =
detector.begin(); i !=
detector.end(); ++i) {
265 for (
size_t pmt = 0; pmt !=
module.size(); ++pmt) {
Data structure for detector geometry and calibration.
Dynamic detector calibration.
Basic data structure for L0 hit.
#define DEBUG(A)
Message macros.
Direct access to module in detector data structure.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Scanning of objects from a single file according a format that follows from the extension of each fil...
Router for direct addressing of module data in detector data structure.
Data structure for a composite optical module.
Auxiliary class for map of PMT parameters.
double getQE(const JPMTIdentifier &id) const
Get QE of given PMT.
Data structure for PMT geometry, calibration and status.
Template definition of a multi-dimensional oscillation probability interpolation table.
void load()
Load oscillation probability table.
Auxiliary class for a hit with background rate value.
File router for fast addressing of summary data.
Data storage class for rate measurements of all PMTs in one module.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Dynamic detector calibration.
status_type getStatus(const JType< status_type > &type) const
Get status.
Auxiliary class for recursive type list generation.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.
Auxiliary base class for file name.
Auxiliary data structure for sorting of hits.