CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
edm::ThinnedRefSet< C > Class Template Reference

#include <ThinnedRefSet.h>

Classes

class  Filler
 

Public Member Functions

void clear ()
 
bool contains (unsigned int key) const
 
Filler fill (RefProd< C > thinned, edm::EDProductGetter const &prodGetter)
 
 ThinnedRefSet (ThinnedRefSetMode mode=ThinnedRefSetMode::throwOnInvalidParentRef)
 

Private Attributes

ThinnedRefSetMode invalidParentRefMode_
 
std::unordered_set< unsigned int > keys_
 

Detailed Description

template<typename C>
class edm::ThinnedRefSet< C >

Definition at line 57 of file ThinnedRefSet.h.

Constructor & Destructor Documentation

◆ ThinnedRefSet()

Member Function Documentation

◆ clear()

template<typename C>
void edm::ThinnedRefSet< C >::clear ( void  )
inline

Definition at line 92 of file ThinnedRefSet.h.

Referenced by edmtest::ThinningDSVThingSelector::reset().

92 { keys_.clear(); }
std::unordered_set< unsigned int > keys_
Definition: ThinnedRefSet.h:97

◆ contains()

template<typename C>
bool edm::ThinnedRefSet< C >::contains ( unsigned int  key) const
inline

Definition at line 94 of file ThinnedRefSet.h.

Referenced by LumiList.LumiList::__contains__(), and edmtest::ThinningDSVThingSelector::choose().

94 { return keys_.find(key) != keys_.end(); }
std::unordered_set< unsigned int > keys_
Definition: ThinnedRefSet.h:97
key
prepare the HTCondor submission files and eventually submit them

◆ fill()

template<typename C>
Filler edm::ThinnedRefSet< C >::fill ( RefProd< C >  thinned,
edm::EDProductGetter const &  prodGetter 
)
inline

Definition at line 88 of file ThinnedRefSet.h.

Referenced by edmtest::ThinningDSVThingSelector::preChoose().

88  {
89  return Filler(this, thinned, prodGetter);
90  }

Member Data Documentation

◆ invalidParentRefMode_

template<typename C>
ThinnedRefSetMode edm::ThinnedRefSet< C >::invalidParentRefMode_
private

Definition at line 98 of file ThinnedRefSet.h.

◆ keys_

template<typename C>
std::unordered_set<unsigned int> edm::ThinnedRefSet< C >::keys_
private