1#ifndef __JRECONSTRUCTION__JMODULEL0__
2#define __JRECONSTRUCTION__JMODULEL0__
37 using JFIT::JTimeRange;
105 const JTimeRange& T_ns)
const
112 for (const_iterator
hit = this->begin();
hit != this->end(); ++
hit) {
113 if (T_ns(
hit->getT())) {
122 for (
size_t i = 0; i !=
module.size(); ++i) {
126 R +=
frame.getRate(i);
133 return (
M == 0 ? 1.0 : 0.0);
Basic data structure for L0 hit.
Basic data structure for L0 hit.
Data structure for optical module.
Data structure for a composite optical module.
Data structure for PMT geometry, calibration and status.
Data structure for position in three dimensions.
Template definition of a multi-dimensional oscillation probability interpolation table.
Reduced data structure for L0 hit.
Data storage class for rate measurements of all PMTs in one module.
double getProbability(const size_t N, const size_t M, const JK40Rates &R_Hz, const double T_ns)
Get probability due to random background.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
bool is_valid(const json &js)
Check validity of JSon data.
bool getDAQStatus(const JDAQFrameStatus &frame, const JStatus &status)
Test status of DAQ.
bool getPMTStatus(const JStatus &status)
Test status of PMT.
static const int PMT_DISABLE
ile KM3NeT Data Definitions v3.6.2 https://git.km3net.de/common/km3net-dataformat
Auxiliary class for K40 rates.
Auxiliary class for handling module response.
double getProbability(const JRateL1_t &R_Hz, const JTimeRange &T_ns) const
Get probability of response in optical module due to random background.
JModuleL0()
Default constructor.
bool getStatus(const int pmt) const
Get status of PMT.
JModuleL0(const JModule &module, const JDAQSummaryFrame &frame, const std::vector< JHitR0 > &data)
Constructor.
JModule JDAQSummaryFrame frame
const JModule * operator->() const
Smart pointer.