Go to the documentation of this file. 1 #ifndef __JTRIGGER__JSUPERFRAME2D__
2 #define __JTRIGGER__JSUPERFRAME2D__
40 template<
class JElement_t,
class JAllocator_t = std::allocator<JElement_t> >
43 public std::vector< JFrame<JElement_t, JAllocator_t> >
98 (*this)[i->getPMT()].push_back(*i);
110 (*this)[i].putEndMarker();
124 for (
iterator i = this->begin(); i != this->end(); ++i) {
125 i->applyHighRateVeto(rate_Hz);
141 for (
iterator i = this->begin(); i != this->end(); ++i) {
147 for (
iterator i = this->begin(); i != this->end(); ++i) {
168 template<
class JElement_t,
class JAllocator_t>
void setDAQChronometer(const JDAQChronometer &chronometer)
Set DAQ chronometer.
void preprocess(JPreprocessor::JOption_t option, const match_type &match)
Pre-process data.
bool testHighRateVeto() const
Test high-rate veto status.
Function object interface for hit matching.
void setModuleIdentifier(const JDAQModuleIdentifier &module)
Set Module identifier.
bool has(const JPMTStatusBits_t bit) const
Test PMT status.
std::vector< value_type >::const_reverse_iterator const_reverse_iterator
const JAxis3D & getAxis() const
Get axis.
static JSuperFrame2D< JElement_t, JAllocator_t > demultiplex
Demultiplexer.
void setAxis(const JAxis3D &axis)
Set axis.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
int getModuleID() const
Get module identifier.
join consecutive hits according match criterion
JMatch< JElement_t > match_type
std::vector< value_type >::const_iterator const_iterator
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JDAQFrame::const_iterator const_iterator
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
void applyHighRateVeto(const double rate_Hz)
Apply high-rate veto.
const JPMT & getPMT(const int index) const
Get PMT.
Enable (disable) use of PMT data if 0 (1);.
std::vector< value_type >::reverse_iterator reverse_iterator
const JCalibration & getCalibration() const
Get calibration.
Enable (disable) use of high-rate veto and FIFO (almost) full if 0 (1);.
Data structure for a composite optical module.
bool testFIFOStatus() const
Test FIFO status.
Data structure for PMT geometry and calibration.
Data frame for calibrated hits of one PMT.
filter-out consecutive hits according match criterion
void setCalibration(const JCalibration &cal)
Set calibration.
JOption_t
Preprocessing options.
void setPosition(const JVector3D &pos)
Set position.
JSuperFrame2D()
Default constructor.
const JPosition3D & getPosition() const
Get position.
const JDAQChronometer & getDAQChronometer() const
Get DAQ chronometer.
JFrame< JElement_t, JAllocator_t > value_type
JSuperFrame2D & operator()(const JDAQSuperFrame &input, const JModule &module)
Process DAQ super frame.
Data frame of one optical module.
std::vector< value_type >::iterator iterator
const_iterator begin() const
2-dimensional frame with time calibrated data from one optical module.
void setPMTIdentifier(const JDAQPMTIdentifier &pmt)
Set PMT identifier.