1 #ifndef DataFormats_Common_ContainerMask_h
2 #define DataFormats_Common_ContainerMask_h
44 bool mask(
unsigned int iIndex)
const {
45 assert(iIndex<
m_mask.size());
49 void applyOrTo( std::vector<bool>&)
const;
76 m_prod(iProd), m_mask(iMask) {
85 return this->
mask(index);
95 assert(iTo.size()==
m_mask.size());
std::vector< bool > m_mask
#define CMS_CLASS_VERSION(_version_)
void copyMaskTo(std::vector< bool > &) const
bool mask(unsigned int iIndex) const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
static size_t size(const T *iContainer)
const edm::RefProd< T > & refProd() const
static unsigned int indexFor(const value_type *iElement, const T *iContainer)
void applyOrTo(std::vector< bool > &) const
void swap(ContainerMask< T > &iOther)