#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 (const typename ContainerMaskTraits< T >::value_type *) |
bool | mask (unsigned int iIndex) const |
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(), edm::ContainerMask< T >::m_prod, edm::RefProd< C >::product(), 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 |
Definition at line 87 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask.
Referenced by SeedClusterRemoverPhase2::produce(), SeedClusterRemover::produce(), HLTTrackClusterRemoverNew::produce(), and HITrackClusterRemover::produce().
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, edm::ContainerMask< T >::mask(), and edm::RefProd< C >::product().
|
inline |
Definition at line 43 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask.
Referenced by ctfseeding::HitExtractorPIX::hits(), and edm::ContainerMask< T >::mask().
|
inline |
Definition at line 55 of file ContainerMask.h.
References edm::ContainerMask< T >::m_prod.
Referenced by ctfseeding::HitExtractorPIX::hits().
|
inline |
Definition at line 53 of file ContainerMask.h.
References edm::ContainerMask< T >::m_mask.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), SeedClusterRemoverPhase2::produce(), SeedClusterRemover::produce(), HLTTrackClusterRemoverNew::produce(), and HITrackClusterRemover::produce().
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, edm::RefProd< C >::swap(), 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 >::ContainerMask(), edm::ContainerMask< T >::mask(), edm::ContainerMask< T >::refProd(), and edm::ContainerMask< T >::swap().