1 #ifndef __JTRIGGER__JSUPERFRAME1D__
2 #define __JTRIGGER__JSUPERFRAME1D__
19 namespace JPP {
using namespace JTRIGGER; }
35 template<
class JElement_t,
class JAllocator_t = std::allocator<JElement_t> >
47 std::
vector<JElement_t, JAllocator_t>(),
63 std::
vector<JElement_t, JAllocator_t>(),
75 std::
vector<JElement_t, JAllocator_t>(),
89 std::
vector<JElement_t, JAllocator_t>(input.begin(), input.end()),
105 return (this->capacity() > this->size() && this->getT(*(this->end())) == this->getT(this->getEndMarker()));
169 return (*
this)(
buffer(input, module));
188 template<
class JElement_t,
class JAllocator_t>
195 template<
class JElement_t,
class JAllocator_t>
202 template<
class JElement_t,
class JAllocator_t>
JSuperFrame1D & operator()(const JDAQSuperFrame &input, const JModule &module)
Process DAQ super frame.
Data structure for a composite optical module.
static JSuperFrame1D< JElement_t, JAllocator_t > multiplex
Multiplexer.
JSuperFrame1D(const JDAQChronometer &chronometer, const JDAQModuleIdentifier &id, const JPosition3D &pos)
Constructor.
1-dimensional frame with time calibrated data from one optical module.
JSuperFrame1D & operator()(typename JSuperFrame2D< JElement_t >::const_iterator __begin, typename JSuperFrame2D< JElement_t >::const_iterator __end)
Process set of 2D super frame data.
JSuperFrame1D(const JSuperFrame2D< JElement_t > &input)
Constructor.
JSuperFrame1D()
Default constructor.
static JTOOLS::JMergeSort< JElement_t > merge
Internal merge method.
JSuperFrame1D & operator()(const JSuperFrame2D< JElement_t > &input)
Process 2D super frame.
Data structure for position in three dimensions.
bool hasEndMarker() const
Check presence of end marker.
void putEndMarker(std::vector< JElement_t, JAllocator_t > &buffer, const JElement_t &value)
Put end marker.
void putEndMarker()
Append end marker to data.
Data frame of one optical module.
static JSuperFrame2D< JElement_t > buffer
Internal buffer.
JSuperFrame1D(const JSuperFrame1D< JElement_t, JAllocator_t > &input)
Copy constructor.
Data structure for optical module.