Go to the documentation of this file. 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()));
double getToT() const
Get time-over-threshold of internal iterator.
JContainer_t::const_iterator iterator
void next() const
Increment internal iterator.
double getT() const
Get time of internal iterator.
JHit getJHit() const
Construct JHit from internal iterator.
JArgument< T >::argument_type argument_type
JContainer_t::const_iterator const_iterator
iterator fast_forward(argument_type hit) const
Increment the internal iterator until the lower bound corresponding to the time of the given hit.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
unsigned int size() const
Get size of data.
iterator begin() const
Get begin of data.
void rewind() const
Rewind internal iterator.
iterator lower_bound(argument_type hit) const
Set the internal iterator to the lower bound corresponding to the time of the given hit.
iterator end() const
Get end of data.
JClone()
Default constructor.
double getTimeDifference(argument_type hit) const
Get time difference with respect to given hits.
JContainer_t::value_type value_type
JLANG::JClass< value_type >::argument_type argument_type
iterator get() const
Get internal iterator.
bool empty() const
Check size of data.
bool is_valid() const
Check internal iterator.
JClone(const JContainer_t &input)
Constructor.