#include <CondTools/L1Trigger/interface/Interval.h>
Public Member Functions | |
const TimeType & | end () const |
Interval (const TimeType &start, const TimeType &end, const PayloadType &payload) | |
Interval (const TimeType &start, const TimeType &end) | |
bool | operator!= (const Interval< TimeType, PayloadType > &other) const |
bool | operator== (const Interval< TimeType, PayloadType > &other) const |
const PayloadType & | payload () const |
void | setPayload (const PayloadType &payload) |
const TimeType & | start () const |
Static Public Member Functions | |
static Interval & | invalid () |
Protected Attributes | |
PayloadType | _payload |
bool | isInvalid |
TimeType | m_end |
TimeType | m_start |
Definition at line 19 of file Interval.h.
l1t::Interval< TimeType, PayloadType >::Interval | ( | const TimeType & | start, | |
const TimeType & | end | |||
) | [inline] |
Definition at line 25 of file Interval.h.
References l1t::Interval< TimeType, PayloadType >::m_end, and l1t::Interval< TimeType, PayloadType >::m_start.
l1t::Interval< TimeType, PayloadType >::Interval | ( | const TimeType & | start, | |
const TimeType & | end, | |||
const PayloadType & | payload | |||
) | [inline] |
const TimeType& l1t::Interval< TimeType, PayloadType >::end | ( | ) | const [inline] |
Definition at line 42 of file Interval.h.
References l1t::Interval< TimeType, PayloadType >::m_end.
Referenced by l1t::DataReader::interval(), and l1t::Interval< TimeType, PayloadType >::operator==().
00042 { return this->m_end; }
static Interval& l1t::Interval< TimeType, PayloadType >::invalid | ( | ) | [static] |
bool l1t::Interval< TimeType, PayloadType >::operator!= | ( | const Interval< TimeType, PayloadType > & | other | ) | const [inline] |
bool l1t::Interval< TimeType, PayloadType >::operator== | ( | const Interval< TimeType, PayloadType > & | other | ) | const [inline] |
Definition at line 50 of file Interval.h.
References l1t::Interval< TimeType, PayloadType >::end(), l1t::Interval< TimeType, PayloadType >::isInvalid, and l1t::Interval< TimeType, PayloadType >::start().
00051 { return (this->isInvalid == true && other.isInvalid == true ) || 00052 (this->start () == other.start ()) && (this->end () == other.end () && 00053 this->isInvalid == other.isInvalid); }
const PayloadType& l1t::Interval< TimeType, PayloadType >::payload | ( | ) | const [inline] |
Definition at line 37 of file Interval.h.
References l1t::Interval< TimeType, PayloadType >::_payload.
Referenced by l1t::DataReader::readKey().
00037 { return this->_payload; }
void l1t::Interval< TimeType, PayloadType >::setPayload | ( | const PayloadType & | payload | ) | [inline] |
Definition at line 35 of file Interval.h.
References l1t::Interval< TimeType, PayloadType >::_payload.
const TimeType& l1t::Interval< TimeType, PayloadType >::start | ( | ) | const [inline] |
Definition at line 40 of file Interval.h.
References l1t::Interval< TimeType, PayloadType >::m_start.
Referenced by l1t::IntervalManager< TimeType, PayloadType >::addInterval(), l1t::DataReader::interval(), and l1t::Interval< TimeType, PayloadType >::operator==().
00040 { return this->m_start; }
PayloadType l1t::Interval< TimeType, PayloadType >::_payload [protected] |
Definition at line 62 of file Interval.h.
Referenced by l1t::Interval< TimeType, PayloadType >::payload(), and l1t::Interval< TimeType, PayloadType >::setPayload().
bool l1t::Interval< TimeType, PayloadType >::isInvalid [protected] |
Definition at line 65 of file Interval.h.
Referenced by l1t::Interval< TimeType, PayloadType >::operator==().
TimeType l1t::Interval< TimeType, PayloadType >::m_end [protected] |
Definition at line 61 of file Interval.h.
Referenced by l1t::Interval< TimeType, PayloadType >::end(), and l1t::Interval< TimeType, PayloadType >::Interval().
TimeType l1t::Interval< TimeType, PayloadType >::m_start [protected] |
Definition at line 60 of file Interval.h.
Referenced by l1t::Interval< TimeType, PayloadType >::Interval(), and l1t::Interval< TimeType, PayloadType >::start().