1#ifndef __JTRIGGER__JFRAME__
2#define __JTRIGGER__JFRAME__
33 template<
class JElement_t,
class JAllocator_t = std::allocator<JElement_t> >
37 public JFrame_t<JElement_t, JAllocator_t>
113 void join(
const match_type& match)
121 while (++p != this->end() && match(*out,*p)) {
122 *out =
join(*out,*p);
128 if (out != this->end()) {
129 this->erase(out, this->end());
148 for (
const_iterator i = p++; p != this->end() && match(*i,*p); ++i, ++p) {}
153 if (out != this->end()) {
154 this->erase(out, this->end());
173 for (
const_iterator i = q++; q != this->end() && match(*i,*q); ++i, ++q) {}
175 if (std::distance(p,q) == 1) {
183 if (out != this->end()) {
184 this->erase(out, this->end());
Base class for match operations for cluster and hit-preprocessing methods.
Data structure for time calibration.
const JCalibration & getCalibration() const
Get calibration.
Template definition of a multi-dimensional oscillation probability interpolation table.
Data frame with end marker.
void putEndMarker()
Append end marker to data.
Data frame for calibrated hits of one PMT.
JFrame(const JDAQChronometer &chronometer, const JDAQPMTIdentifier &id, const JAxis3D &axis, const JCalibration &calibration)
Constructor.
container_type::iterator iterator
void remove(const match_type &match)
Remove consecutive hits when matched according given criterion.
container_type::const_reverse_iterator const_reverse_iterator
void filter(const match_type &match)
Filter consecutive hits when matched according given criterion.
container_type::const_iterator const_iterator
container_type::reverse_iterator reverse_iterator
JMatch< JElement_t > match_type
void join(const match_type &match)
Join consecutive hits when matched according given criterion.
void applyHighRateVeto(const double rate_Hz)
Apply high-rate veto.
JFrame_t< JElement_t, JAllocator_t > container_type
JFrame()
Default constructor.
void push_back(const JDAQHit &hit)
Append DAQ hit.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
double getFrameTime()
Get frame time duration.