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>
 
   45    typedef typename container_type::iterator                            
iterator;
 
   87      container_type::push_back(this->getHit(hit, this->
getCalibration()));
 
 
  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.
 
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.
 
JFrame_t< JElement_t, JAllocator_t > container_type
 
void remove(const match_type &match)
Remove consecutive hits when matched according given criterion.
 
container_type::iterator iterator
 
container_type::reverse_iterator reverse_iterator
 
void filter(const match_type &match)
Filter consecutive hits when matched according given criterion.
 
void join(const match_type &match)
Join consecutive hits when matched according given criterion.
 
container_type::const_iterator const_iterator
 
void applyHighRateVeto(const double rate_Hz)
Apply high-rate veto.
 
JMatch< JElement_t > match_type
 
JFrame()
Default constructor.
 
container_type::const_reverse_iterator const_reverse_iterator
 
void push_back(const JDAQHit &hit)
Append DAQ hit.
 
Function object interface for hit matching.
 
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.