45 JLimit_t& numberOfEvents = inputFile.getLimit();
56 JParser<> zap(
"Example program to histogram string and floor time difference.");
64 zap[
'q'] =
make_field(Qmin,
"Minimal fraction of coincidences") = 0.5;
70 catch(
const exception& error) {
88 while (inputFile.hasNext()) {
100 if (buffer.size() >= 2u) {
102 if (p->first.getString() == q->first.getString() && p->first.getFloor() + 1 == q->first.getFloor()) {
103 H1[p->first]->Fill(q->second.getMean() - p->second.getMean());
122 for (
const auto& i :
H1) {
128 if (h1->GetSumOfWeights() >
Wmin) {
130 for (
Int_t ix = 1;
ix <= h1->GetXaxis()->GetNbins(); ++
ix) {
140 DEBUG(i.first <<
' ' <<
FIXED(6,0) << W <<
'/' <<
FIXED(6,0) << h1->GetSumOfWeights() <<
endl);
142 if (W / h1->GetSumOfWeights() >= Qmin)
Direct access to PMT data in detector data structure for DAQ hits.
Data structure for detector geometry and calibration.
Dynamic ROOT object management.
General purpose messaging.
#define DEBUG(A)
Message macros.
#define QAQC(A)
QA/QC output macro.
int qaqc
QA/QC file descriptor.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary class to define a range between two values.
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
Simple wrapper around JModuleRouter class for direct addressing of PMT data in detector data structur...
const JModule & getModule(const JDAQKeyHit &hit) const
Get module parameters.
const JPMT & getPMT(const JDAQKeyHit &hit) const
Get PMT parameters.
Template definition of a multi-dimensional oscillation probability interpolation table.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
const double getInverseSpeedOfLight()
Get inverse speed of light.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const char * getTime()
Get current local time conform ISO-8601 standard.
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for floating point format specification.
Type definition of range.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.