Go to the documentation of this file. 1 #ifndef __JSUMMARYSLICE__JSUMMARYSLICE__
2 #define __JSUMMARYSLICE__JSUMMARYSLICE__
62 for (const_iterator i = summary->begin(); i != summary->end() && module !=
detector.end(); ++i, ++module) {
66 rbegin()->setModuleIdentifier(module->getID());
94 for (JDetector::const_iterator module = simbad->begin(); module != simbad->end(); ++module) {
103 double rate_Hz = k40Simulator.getSinglesRate(
id);
107 this->rbegin()->setHighRateVeto(pmt, !status);
108 this->rbegin()->setRate (pmt, rate_Hz);
112 catch(
const std::exception& error) {};
125 for (
iterator i = this->begin(); i != this->end(); ++i) {
136 (*i)[pmt].setValue(0.0);
void correct(const JPMTDefaultSimulatorInterface &simulator)
Correct measured singles rates for the probability that a hit survives the simulation of the PMT.
void setDAQChronometer(const JDAQChronometer &chronometer)
Set DAQ chronometer.
static const int NPE
Number of photo-electrons corresponding to singles rate.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
virtual bool hasNext()=0
Check availability of next element.
JSummaryslice()
Default constructor.
JSummaryslice(const JDAQChronometer &chronometer, JObjectIterator< JDAQSummaryslice > &input, const JDetector &detector)
Constructor.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual const JPMTSignalProcessorInterface & getPMTSignalProcessor(const JPMTIdentifier &pmt) const
Get PMT signal processor.
Data storage class for rate measurements of all PMTs in one module.
virtual double getSurvivalProbability(const int NPE) const
Probability that a hit survives the simulation of the PMT.
Auxiliary class to create summary data.
const JK40Simulator & getK40Simulator() const
Get K40 simulator.
Default PMT simulation interface.
Interface of object iteration for a single data type.
KM3NeT DAQ data structures and auxiliaries.
JSummaryslice(const JDAQChronometer &chronometer, const JDetectorSimulator &simbad)
Constructor.
const JPMTSimulator & getPMTSimulator() const
Get PMT simulator.
virtual bool getPMTstatus(const JPMTIdentifier &id) const
Get PMT status.
Default K40 simulator interface.
virtual const pointer_type & next()=0
Get next element.