#include <ContainerMask.h>
Public Member Functions | |
void | applyOrTo (std::vector< bool > &) const |
ContainerMask () | |
ContainerMask (const edm::RefProd< T > &iProd, const std::vector< bool > &iMask) | |
void | copyMaskTo (std::vector< bool > &) const |
bool | mask (unsigned int iIndex) const |
bool | mask (const typename ContainerMaskTraits< T >::value_type *) |
const edm::RefProd< T > & | refProd () const |
size_t | size () const |
void | swap (ContainerMask< T > &iOther) |
Static Public Member Functions | |
static short | Class_Version () |
Private Attributes | |
std::vector< bool > | m_mask |
edm::RefProd< T > | m_prod |
Definition at line 35 of file ContainerMask.h.
|
inline |
Definition at line 38 of file ContainerMask.h.
ContainerMask::ContainerMask | ( | const edm::RefProd< T > & | iProd, |
const std::vector< bool > & | iMask | ||
) |
Definition at line 76 of file ContainerMask.h.
References assert(), and edm::ContainerMaskTraits< T >::size().
void ContainerMask::applyOrTo | ( | std::vector< bool > & | iTo | ) | const |
Definition at line 95 of file ContainerMask.h.
References assert(), edm::ContainerMask< T >::m_mask, and create_public_lumi_plots::transform.
|
inlinestatic |
Definition at line 63 of file ContainerMask.h.
void ContainerMask::copyMaskTo | ( | std::vector< bool > & | iTo | ) | const |
|
inline |
bool ContainerMask::mask | ( | const typename ContainerMaskTraits< T >::value_type * | iElement | ) |
Definition at line 83 of file ContainerMask.h.
References cmsHarvester::index, edm::ContainerMaskTraits< T >::indexFor(), edm::ContainerMask< T >::m_prod, and edm::ContainerMask< T >::mask().
|
inline |
Definition at line 56 of file ContainerMask.h.
|
inline |
Definition at line 54 of file ContainerMask.h.
Referenced by ntuple._Collection::__iter__(), and ntuple._Collection::__len__().
void ContainerMask::swap | ( | ContainerMask< T > & | iOther | ) |
Definition at line 101 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask, edm::ContainerMask< T >::m_prod, and std::swap().
|
private |
Definition at line 72 of file ContainerMask.h.
Referenced by edm::ContainerMask< T >::applyOrTo(), edm::ContainerMask< T >::copyMaskTo(), edm::ContainerMask< DetSetVector< Phase2ITPixelCluster > >::mask(), edm::ContainerMask< DetSetVector< Phase2ITPixelCluster > >::size(), and edm::ContainerMask< T >::swap().
|
private |
Definition at line 71 of file ContainerMask.h.
Referenced by edm::ContainerMask< T >::mask(), edm::ContainerMask< DetSetVector< Phase2ITPixelCluster > >::refProd(), and edm::ContainerMask< T >::swap().