1 #ifndef __JTRIGGER__JCLONE__
2 #define __JTRIGGER__JCLONE__
37 template<
class JContainer_t>
39 public JHitToolkit<typename JContainer_t::value_type>
46 typedef typename JContainer_t::const_iterator
iterator;
105 inline unsigned int size()
const
215 return (
__i = std::lower_bound(
__begin,
__end, hit, this->getToolkit()));
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
bool is_valid() const
Check internal iterator.
iterator fast_forward(argument_type hit) const
Increment the internal iterator until the lower bound corresponding to the time of the given hit.
JContainer_t::const_iterator iterator
void next() const
Increment internal iterator.
double getT() const
Get time of internal iterator.
unsigned int size() const
Get size of data.
JClone()
Default constructor.
double getToT() const
Get time-over-threshold of internal iterator.
JContainer_t::const_iterator const_iterator
bool empty() const
Check size of data.
JLANG::JClass< value_type >::argument_type argument_type
iterator begin() const
Get begin of data.
double getTimeDifference(argument_type hit) const
Get time difference with respect to given hits.
JContainer_t::value_type value_type
iterator end() const
Get end of data.
JHit getJHit() const
Construct JHit from internal iterator.
JClone(const JContainer_t &input)
Constructor.
iterator lower_bound(argument_type hit) const
Set the internal iterator to the lower bound corresponding to the time of the given hit.
iterator get() const
Get internal iterator.
void rewind() const
Rewind internal iterator.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
JArgument< T >::argument_type argument_type