#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 74 of file ContainerMask.h.
References edm::ContainerMaskTraits< T >::size().
void ContainerMask::applyOrTo | ( | std::vector< bool > & | iTo | ) | const |
Definition at line 93 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask, and create_public_lumi_plots::transform.
|
inlinestatic |
Definition at line 61 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 81 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 54 of file ContainerMask.h.
|
inline |
Definition at line 52 of file ContainerMask.h.
void ContainerMask::swap | ( | ContainerMask< T > & | iOther | ) |
Definition at line 99 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask, edm::ContainerMask< T >::m_prod, and std::swap().
|
private |
Definition at line 70 of file ContainerMask.h.
Referenced by edm::ContainerMask< T >::applyOrTo(), edm::ContainerMask< T >::copyMaskTo(), edm::ContainerMask< edmNew::DetSetVector >::mask(), edm::ContainerMask< edmNew::DetSetVector >::size(), and edm::ContainerMask< T >::swap().
|
private |
Definition at line 69 of file ContainerMask.h.
Referenced by edm::ContainerMask< T >::mask(), edm::ContainerMask< edmNew::DetSetVector >::refProd(), and edm::ContainerMask< T >::swap().