#include <RefGetter.h>
Public Types | |
typedef std::vector< region_ref > | collection_type |
typedef boost::indirect_iterator < typename collection_type::const_iterator > | const_iterator |
typedef std::pair< typename record_type::const_iterator, typename record_type::const_iterator > | record_pair |
typedef std::vector< T > | record_type |
typedef Ref< LazyGetter< T > , RegionIndex< T >, FindRegion < T > > | region_ref |
Public Member Functions | |
const RegionIndex< T > & | back () const |
const_iterator | begin () const |
Return an iterator to the first RegionIndex<T>. More... | |
bool | empty () const |
Return true if we contain no 'region_ref's (one per Region). More... | |
const_iterator | end () const |
Return the off-the-end iterator. More... | |
bool | find (uint32_t) const |
Returns true if region already defined. More... | |
const RegionIndex< T > & | operator[] (uint32_t) const |
Return a reference to the RegionIndex<T> for a given region. More... | |
void | push_back (const edm::Handle< LazyGetter< T > > &, const uint32_t &) |
Add a new region to the end of the collection. More... | |
RefGetter (uint32_t=50000) | |
Default constructor. Default maximum region number 50,000. More... | |
RefGetter (const edm::Handle< LazyGetter< T > > &, const std::vector< uint32_t > &) | |
Constructor with regions and Handle. More... | |
void | reserve (uint32_t) |
Reserve memory for sets_ collection. More... | |
uint32_t | size () const |
Return the number of contained 'region_ref's (one per Region). More... | |
void | swap (RefGetter &other) |
Swap contents of class. More... | |
Private Member Functions | |
BOOST_CLASS_REQUIRE (T, boost, LessThanComparableConcept) | |
Private Attributes | |
std::vector< uint32_t > | regions_ |
collection_type | sets_ |
Definition at line 18 of file RefGetter.h.
typedef std::vector<region_ref> edm::RefGetter< T >::collection_type |
Definition at line 24 of file RefGetter.h.
typedef boost::indirect_iterator<typename collection_type::const_iterator> edm::RefGetter< T >::const_iterator |
Definition at line 25 of file RefGetter.h.
typedef std::pair<typename record_type::const_iterator, typename record_type::const_iterator> edm::RefGetter< T >::record_pair |
Definition at line 27 of file RefGetter.h.
typedef std::vector<T> edm::RefGetter< T >::record_type |
Definition at line 26 of file RefGetter.h.
typedef Ref< LazyGetter<T>, RegionIndex<T>, FindRegion<T> > edm::RefGetter< T >::region_ref |
Definition at line 23 of file RefGetter.h.
|
inline |
Default constructor. Default maximum region number 50,000.
Definition at line 77 of file RefGetter.h.
|
inline |
Constructor with regions and Handle.
Definition at line 82 of file RefGetter.h.
References getHLTprescales::index, and edm::RefGetter< T >::sets_.
|
inline |
Returns a reference to the last RegionIndex<T> added to the collection, or throws an exception if empty.
Definition at line 145 of file RefGetter.h.
References edm::lazydetail::_throw_range(), relativeConstraints::empty, and findQualityFiles::size.
|
inline |
Return an iterator to the first RegionIndex<T>.
Definition at line 154 of file RefGetter.h.
Referenced by HLTTrackerHaloFilter::hltFilter().
|
private |
|
inline |
Return true if we contain no 'region_ref's (one per Region).
Definition at line 119 of file RefGetter.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Return the off-the-end iterator.
Definition at line 162 of file RefGetter.h.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), HLTTrackerHaloFilter::hltFilter(), and SiStripRecHitConverterAlgorithm::run().
|
inline |
Returns true if region already defined.
Definition at line 170 of file RefGetter.h.
Referenced by BeautifulSoup.Tag::_invert(), BeautifulSoup.PageElement::insert(), and SiStripRegionCabling::updateSiStripRefGetter().
|
inline |
Return a reference to the RegionIndex<T> for a given region.
Definition at line 135 of file RefGetter.h.
References edm::lazydetail::_throw_range(), getHLTprescales::index, and findQualityFiles::size.
|
inline |
Add a new region to the end of the collection.
Definition at line 110 of file RefGetter.h.
Referenced by EcalRegionCabling::updateEcalRefGetterWithElementIndex(), and SiStripRegionCabling::updateSiStripRefGetter().
|
inline |
Reserve memory for sets_ collection.
Definition at line 93 of file RefGetter.h.
|
inline |
Return the number of contained 'region_ref's (one per Region).
Definition at line 127 of file RefGetter.h.
|
inline |
Swap contents of class.
Definition at line 101 of file RefGetter.h.
References edm::RefGetter< T >::regions_, and edm::RefGetter< T >::sets_.
Referenced by edm::swap().
|
private |
Definition at line 72 of file RefGetter.h.
Referenced by edm::RefGetter< T >::swap().
|
private |
Definition at line 71 of file RefGetter.h.
Referenced by edm::RefGetter< T >::RefGetter(), and edm::RefGetter< T >::swap().