1#ifndef __JRECONSTRUCTION__JMODULEL0__
2#define __JRECONSTRUCTION__JMODULEL0__
112 for (const_iterator hit = this->begin(); hit != this->end(); ++hit) {
113 if (T_ns(hit->getT())) {
114 top.insert(hit->getPMT());
122 for (
size_t i = 0; i !=
module.size(); ++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.
const JPMT & getPMT(const int index) const
Get PMT.
Data structure for PMT geometry, calibration and status.
Data structure for position in three dimensions.
Reduced data structure for L0 hit.
Data storage class for rate measurements of all PMTs in one module.
double getRate(const int tdc, const double factor=1.0) const
Get count rate.
double getProbability(const size_t N, const size_t M, const JK40Rates &R_Hz, const double T_ns)
Get probability due to random background.
double JRateL0_t
Type definition of singles rate [Hz].
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
KM3NeT Data Definitions v3.6.0 https://git.km3net.de/common/km3net-dataformat.
bool has(const int bit) const
Test PMT status.
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.
const JModule * operator->() const
Smart pointer.