|
| JClone () |
| Default constructor.
|
|
| JClone (const JContainer_t &input) |
| Constructor.
|
|
iterator | begin () const |
| Get begin of data.
|
|
iterator | end () const |
| Get end of data.
|
|
unsigned int | size () const |
| Get size of data.
|
|
bool | empty () const |
| Check size of data.
|
|
void | rewind () const |
| Rewind internal iterator.
|
|
bool | is_valid () const |
| Check internal iterator.
|
|
void | next () const |
| Increment internal iterator.
|
|
iterator | get () const |
| Get internal iterator.
|
|
double | getT () const |
| Get time of internal iterator.
|
|
double | getToT () const |
| Get time-over-threshold of internal iterator.
|
|
JHit | getJHit () const |
| Construct JHit from internal iterator.
|
|
double | getTimeDifference (argument_type hit) const |
| Get time difference with respect to given hits.
|
|
iterator | lower_bound (argument_type hit) const |
| Set the internal iterator to the lower bound corresponding to the time of the given hit.
|
|
iterator | fast_forward (argument_type hit) const |
| Increment the internal iterator until the lower bound corresponding to the time of the given hit.
|
|
template<class JContainer_t>
class JTRIGGER::JClone< JContainer_t >
Clone of a container.
A JClone object contains a reference to container data and can be used as any normal container. It comprises in addition an internal iterator which is implemented as mutable data member.
The methods
can be used to check, set and access the internal iterator.
The data in the original container should have been terminated with an appriopriate end marker.
Definition at line 38 of file JClone.hh.