1 #ifndef __JTRIGGER__JFRAME__ 
    2 #define __JTRIGGER__JFRAME__ 
   21 namespace JPP { 
using namespace JTRIGGER; }
 
   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()));
 
  121         while (++p != this->end() && match(*out,*p)) {
 
  122           *out = 
join(*out,*p);
 
  128       if (out != this->end()) {
 
  129         this->erase(out, this->end());
 
  150         for (
const_iterator i = p; ++q != this->end() && match(*i,*q); ++i) {}
 
  160       if (out != this->end()) {
 
  161         this->erase(out, this->end());
 
Data frame with end marker. 
 
container_type::const_iterator const_iterator
 
void join(const match_type &match)
Join consecutive hits when matched according given criterion. 
 
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance. 
 
const JCalibration & getCalibration() const 
Get calibration. 
 
Function object interface for hit matching. 
 
Data structure for time calibration. 
 
container_type::reverse_iterator reverse_iterator
 
JFrame(const JDAQChronometer &chronometer, const JDAQPMTIdentifier &id, const JAxis3D &axis, const JCalibration &calibration)
Constructor. 
 
Base class for match operations for cluster and hit-preprocessing methods. 
 
double getFrameTime()
Get frame time duration. 
 
Data frame for calibrated hits of one PMT. 
 
void filter(const match_type &match)
Filter-out consecutive hits when matched according given criterion. 
 
JMatch< JElement_t > match_type
 
JFrame()
Default constructor. 
 
container_type::const_reverse_iterator const_reverse_iterator
 
JFrame_t< JElement_t, JAllocator_t > container_type
 
container_type::iterator iterator
 
void putEndMarker()
Append end marker to data. 
 
void applyHighRateVeto(const double rate_Hz)
Apply high-rate veto. 
 
void push_back(const JDAQHit &hit)
Append DAQ hit.