1 #ifndef __JTRIGGER__JFRAME__ 
    2 #define __JTRIGGER__JFRAME__ 
   19 namespace JPP { 
using namespace JTRIGGER; }
 
   31   template<
class JElement_t, 
class JAllocator_t = std::allocator<JElement_t> >
 
   44     typedef typename container_type::iterator                            
iterator;
 
   49     using container_type::push_back;
 
   59       std::
vector<JElement_t, JAllocator_t>(),
 
   78       std::
vector<JElement_t, JAllocator_t>(),
 
  101       container_type::push_back(this->getEndMarker());
 
  115     size_t u_size()
 const { 
return container_type::size() - 1; }                      
 
  158         while (++p != this->
u_end() && match(*out,*p)) {
 
  159           *out = 
join(*out,*p);
 
  165       if (out != this->
u_end()) {
 
  166         this->erase(out, this->end());
 
  197       if (out != this->
u_end()) {
 
  198         this->erase(out, this->end());
 
container_type::const_iterator const_iterator
 
void join(const match_type &match)
Join consecutive hits when matched according given criterion. 
 
const_iterator u_end() const 
iterator without end marker 
 
std::vector< JElement_t, JAllocator_t > container_type
 
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. 
 
const_reverse_iterator u_rbegin() const 
iterator without end marker 
 
iterator u_begin()
iterator without end marker 
 
Function object interface for hit matching. 
 
Data structure for PMT 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. 
 
size_t u_size() const 
size without end marker 
 
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. 
 
reverse_iterator u_rend()
iterator without end marker 
 
const_reverse_iterator u_rend() const 
iterator without end marker 
 
JFrame()
Default constructor. 
 
container_type::const_reverse_iterator const_reverse_iterator
 
container_type::iterator iterator
 
JMatch< value_type > match_type
 
JHitL0 getHit(const Hit &hit)
Get transformation. 
 
reverse_iterator u_rbegin()
iterator without end marker 
 
iterator u_end()
iterator without end marker 
 
const_iterator u_begin() const 
iterator without end marker 
 
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.