#include <CondTools/L1Trigger/interface/Interval.h>
Public Member Functions | |
void | addInterval (const Interval< TimeType, PayloadType > &interval) |
void | clear () |
const Interval< TimeType, PayloadType > & | find (const TimeType &time) const |
Protected Types | |
typedef std::map< TimeType, Interval< TimeType, PayloadType > > | IntervalMap |
Protected Attributes | |
IntervalMap | intervalMap |
Definition at line 75 of file Interval.h.
typedef std::map<TimeType, Interval<TimeType, PayloadType> > l1t::IntervalManager< TimeType, PayloadType >::IntervalMap [protected] |
Definition at line 94 of file Interval.h.
void l1t::IntervalManager< TimeType, PayloadType >::addInterval | ( | const Interval< TimeType, PayloadType > & | interval | ) | [inline] |
Definition at line 80 of file Interval.h.
References l1t::IntervalManager< TimeType, PayloadType >::intervalMap, and l1t::Interval< TimeType, PayloadType >::start().
Referenced by l1t::DataReader::loadIntervals().
00081 { intervalMap.insert (std::make_pair (interval.start (), interval)); }
void l1t::IntervalManager< TimeType, PayloadType >::clear | ( | void | ) | [inline] |
Definition at line 85 of file Interval.h.
References l1t::IntervalManager< TimeType, PayloadType >::intervalMap.
00085 { intervalMap.clear (); }
const Interval<TimeType, PayloadType>& l1t::IntervalManager< TimeType, PayloadType >::find | ( | const TimeType & | time | ) | const |
IntervalMap l1t::IntervalManager< TimeType, PayloadType >::intervalMap [protected] |
Definition at line 95 of file Interval.h.
Referenced by l1t::IntervalManager< TimeType, PayloadType >::addInterval(), and l1t::IntervalManager< TimeType, PayloadType >::clear().