#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 36 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 75 of file ContainerMask.h.
References cms::cuda::assert(), and edm::ContainerMaskTraits< T >::size().
void ContainerMask::applyOrTo | ( | std::vector< bool > & | iTo | ) | const |
Definition at line 92 of file ContainerMask.h.
References cms::cuda::assert(), edm::ContainerMask< T >::m_mask, and HcalDetIdTransform::transform().
|
inlinestatic |
Definition at line 62 of file ContainerMask.h.
void ContainerMask::copyMaskTo | ( | std::vector< bool > & | iTo | ) | const |
|
inline |
Definition at line 43 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask.
Referenced by edm::ContainerMask< T >::mask().
bool ContainerMask::mask | ( | const typename ContainerMaskTraits< T >::value_type * | iElement | ) |
Definition at line 81 of file ContainerMask.h.
References edm::ContainerMaskTraits< T >::indexFor(), edm::ContainerMask< T >::m_prod, and edm::ContainerMask< T >::mask().
|
inline |
|
inline |
Definition at line 53 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
void ContainerMask::swap | ( | ContainerMask< T > & | iOther | ) |
Definition at line 98 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask, edm::ContainerMask< T >::m_prod, and std::swap().
|
private |
Definition at line 71 of file ContainerMask.h.
Referenced by edm::ContainerMask< T >::applyOrTo(), edm::ContainerMask< T >::copyMaskTo(), edm::ContainerMask< T >::mask(), edm::ContainerMask< T >::size(), and edm::ContainerMask< T >::swap().
|
private |
Definition at line 70 of file ContainerMask.h.
Referenced by edm::ContainerMask< T >::mask(), edm::ContainerMask< T >::refProd(), and edm::ContainerMask< T >::swap().