#include <DetSetRefVector.h>
Public Types | |
typedef std::vector< ref_type > | collection_type |
typedef boost::indirect_iterator< typename collection_type::const_iterator > | const_iterator |
typedef detset const & | const_reference |
typedef DetSet< T > | detset |
typedef Ref< C, DetSet< T >, refhelper::FindDetSetForDetSetVector< T, C > > | ref_type |
typedef collection_type::size_type | size_type |
typedef detset | value_type |
Public Member Functions | |
const_iterator | begin () const |
Return an iterator to the first DetSet. More... | |
DetSetRefVector () | |
DetSetRefVector (const Handle< C > &iHandle, const std::vector< det_id_type > &iDets) | |
DetSetRefVector (const OrphanHandle< C > &iHandle, const std::vector< det_id_type > &iDets) | |
DetSetRefVector (const TestHandle< C > &iHandle, const std::vector< det_id_type > &iDets) | |
bool | empty () const |
Return true if we contain no DetSets. More... | |
const_iterator | end () const |
Return the off-the-end iterator. More... | |
const_iterator | find (det_id_type id) const |
DetSetRefVector & | operator= (DetSetRefVector const &rhs) |
const_reference | operator[] (det_id_type i) const |
size_type | size () const |
Return the number of contained DetSets. More... | |
void | swap (DetSetRefVector &other) |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
BOOST_CLASS_REQUIRE (T, boost, LessThanComparableConcept) | |
Private Attributes | |
collection_type | sets_ |
Definition at line 50 of file DetSetRefVector.h.
typedef std::vector<ref_type> edm::DetSetRefVector< T, C >::collection_type |
Definition at line 98 of file DetSetRefVector.h.
typedef boost::indirect_iterator<typename collection_type::const_iterator> edm::DetSetRefVector< T, C >::const_iterator |
Definition at line 103 of file DetSetRefVector.h.
typedef detset const& edm::DetSetRefVector< T, C >::const_reference |
Definition at line 100 of file DetSetRefVector.h.
typedef DetSet<T> edm::DetSetRefVector< T, C >::detset |
Definition at line 95 of file DetSetRefVector.h.
typedef Ref<C, DetSet<T>, refhelper::FindDetSetForDetSetVector<T, C> > edm::DetSetRefVector< T, C >::ref_type |
Definition at line 97 of file DetSetRefVector.h.
typedef collection_type::size_type edm::DetSetRefVector< T, C >::size_type |
Definition at line 104 of file DetSetRefVector.h.
typedef detset edm::DetSetRefVector< T, C >::value_type |
Definition at line 96 of file DetSetRefVector.h.
|
inline |
Compiler-generated default c'tor, copy c'tor, d'tor and assignment are correct.
Definition at line 113 of file DetSetRefVector.h.
|
inline |
Definition at line 115 of file DetSetRefVector.h.
References cms::cuda::assert(), and edm::DetSetRefVector< T, C >::sets_.
|
inline |
Definition at line 128 of file DetSetRefVector.h.
References cms::cuda::assert(), and edm::DetSetRefVector< T, C >::sets_.
|
inline |
Definition at line 141 of file DetSetRefVector.h.
References cms::cuda::assert(), and edm::DetSetRefVector< T, C >::sets_.
|
inline |
Return an iterator to the first DetSet.
Definition at line 242 of file DetSetRefVector.h.
References edm::DetSetRefVector< T, C >::sets_.
|
private |
DetSetVector requires that T objects can be compared with operator<.
|
inlinestatic |
This function will be called by the edm::Event after the DetSetVector has been inserted into the Event.
Definition at line 188 of file DetSetRefVector.h.
|
inline |
Return true if we contain no DetSets.
Definition at line 207 of file DetSetRefVector.h.
References edm::DetSetRefVector< T, C >::sets_.
Referenced by edm::DetSetRefVector< T, C >::find().
|
inline |
Return the off-the-end iterator.
Definition at line 247 of file DetSetRefVector.h.
References edm::DetSetRefVector< T, C >::sets_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and edm::DetSetRefVector< T, C >::operator[]().
|
inline |
Return an iterator to the DetSet with the given id, or end() if there is no such DetSet.
Definition at line 217 of file DetSetRefVector.h.
References cms::cuda::assert(), HLT_2022v11_cff::distance, edm::DetSetRefVector< T, C >::empty(), triggerObjects_cff::id, AlCaHLTBitMon_ParallelJobs::p, and edm::DetSetRefVector< T, C >::sets_.
Referenced by BeautifulSoup.Tag::__getattr__(), BeautifulSoup.Tag::firstText(), edm::refhelper::FindForDetSetRefVector< T, C >::operator()(), and edm::DetSetRefVector< T, C >::operator[]().
|
inline |
Definition at line 200 of file DetSetRefVector.h.
References edm::DetSetRefVector< T, C >::swap(), and groupFilesInBlocks::temp.
|
inline |
Return a reference to the DetSet with the given detector ID. If there is no such DetSet, we throw an edm::Exception. DO NOT MODIFY THE id DATA MEMBER OF THE REFERENCED DetSet!
Definition at line 232 of file DetSetRefVector.h.
References edm::dsrvdetail::_throw_range(), edm::DetSetRefVector< T, C >::end(), and edm::DetSetRefVector< T, C >::find().
|
inline |
Return the number of contained DetSets.
Definition at line 212 of file DetSetRefVector.h.
References edm::DetSetRefVector< T, C >::sets_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 195 of file DetSetRefVector.h.
References trackingPlots::other, and edm::DetSetRefVector< T, C >::sets_.
Referenced by edm::DetSetRefVector< T, C >::operator=().
|
private |
Definition at line 191 of file DetSetRefVector.h.
Referenced by edm::DetSetRefVector< T, C >::begin(), edm::DetSetRefVector< T, C >::DetSetRefVector(), edm::DetSetRefVector< T, C >::empty(), edm::DetSetRefVector< T, C >::end(), edm::DetSetRefVector< T, C >::find(), edm::DetSetRefVector< T, C >::size(), and edm::DetSetRefVector< T, C >::swap().