CMS 3D CMS Logo

l1t::IntervalManager< TimeType, PayloadType > Class Template Reference

#include <CondTools/L1Trigger/interface/Interval.h>

List of all members.

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


Detailed Description

template<typename TimeType, typename PayloadType>
class l1t::IntervalManager< TimeType, PayloadType >

Definition at line 75 of file Interval.h.


Member Typedef Documentation

template<typename TimeType, typename PayloadType>
typedef std::map<TimeType, Interval<TimeType, PayloadType> > l1t::IntervalManager< TimeType, PayloadType >::IntervalMap [protected]

Definition at line 94 of file Interval.h.


Member Function Documentation

template<typename TimeType, typename PayloadType>
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)); }

template<typename TimeType, typename PayloadType>
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 (); }

template<typename TimeType, typename PayloadType>
const Interval<TimeType, PayloadType>& l1t::IntervalManager< TimeType, PayloadType >::find ( const TimeType &  time  )  const


Member Data Documentation

template<typename TimeType, typename PayloadType>
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().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:01 2009 for CMSSW by  doxygen 1.5.4