Go to the documentation of this file. 1 #ifndef __JDETECTOR__JK40RUNBYRUNSIMULATOR__
2 #define __JDETECTOR__JK40RUNBYRUNSIMULATOR__
Default implementation of the simulation of K40 background.
int getModuleID() const
Get module identifier.
const JDAQSummaryFrame & getSummaryFrame(const JDAQModuleIdentifier &module) const
Get summary frame.
bool hasSummaryFrame(const JDAQModuleIdentifier &module) const
Has summary frame.
K40 simulation based on run-by-run information.
const JSummaryRouter & summary_router
double getRate(const int tdc, const double factor=1.0) const
Get count rate.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for K40 rates.
Data storage class for rate measurements of all PMTs in one module.
JK40RunByRunSimulator(const JSummaryRouter &router, const JK40Rates &rates)
Constructor.
Router for fast addressing of summary data in JDAQSummaryslice data structure as a function of the op...
int getPMTAddress() const
Get PMT identifier (= TDC).
virtual double getSinglesRate(const JPMTIdentifier &pmt) const
Get singles rate as a function of PMT.
Auxiliary classes and methods for detector calibration.