1 #ifndef __JTRIGGER__JCLONE__
2 #define __JTRIGGER__JCLONE__
15 namespace JPP {
using namespace JTRIGGER; }
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()));
iterator begin() const
Get begin of data.
iterator end() const
Get end of data.
JHit getJHit() const
Construct JHit from internal iterator.
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...
double getToT() const
Get time-over-threshold of internal iterator.
JClone(const JContainer_t &input)
Constructor.
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.
void next() const
Increment internal iterator.
JContainer_t::const_iterator iterator
double getT() const
Get time of internal iterator.
double getTimeDifference(argument_type hit) const
Get time difference with respect to given hits.
void rewind() const
Rewind internal iterator.
JArgument< T >::argument_type argument_type
JClone()
Default constructor.
JContainer_t::value_type value_type
bool empty() const
Check size of data.
iterator lower_bound(argument_type hit) const
Set the internal iterator to the lower bound corresponding to the time of the given hit...
unsigned int size() const
Get size of data.
JLANG::JClass< value_type >::argument_type argument_type