#include <DetIdSelector.h>
Public Member Functions | |
DetIdSelector () | |
DetIdSelector (const std::string &selstring) | |
DetIdSelector (const std::vector< std::string > &selstrings) | |
DetIdSelector (const edm::ParameterSet &selconfig) | |
bool | isSelected (const DetId &detid) const |
bool | isSelected (const unsigned int &rawid) const |
bool | isValid () const |
bool | operator() (const DetId &detid) const |
bool | operator() (const unsigned int &rawid) const |
Private Member Functions | |
void | addSelection (const std::string &selstring) |
void | addSelection (const std::vector< std::string > &selstrings) |
Private Attributes | |
std::vector< unsigned int > | m_masks |
std::vector< unsigned int > | m_selections |
Definition at line 12 of file DetIdSelector.h.
DetIdSelector::DetIdSelector | ( | ) |
Definition at line 6 of file DetIdSelector.cc.
DetIdSelector::DetIdSelector | ( | const std::string & | selstring | ) |
Definition at line 8 of file DetIdSelector.cc.
References addSelection().
DetIdSelector::DetIdSelector | ( | const std::vector< std::string > & | selstrings | ) |
Definition at line 10 of file DetIdSelector.cc.
References addSelection().
DetIdSelector::DetIdSelector | ( | const edm::ParameterSet & | selconfig | ) |
Definition at line 14 of file DetIdSelector.cc.
References addSelection(), and edm::ParameterSet::getUntrackedParameter().
|
private |
Definition at line 19 of file DetIdSelector.cc.
References LogDebug, m_masks, m_selections, gpuClustering::pixelStatus::mask, and corrVsCorr::selection.
Referenced by addSelection(), and DetIdSelector().
|
private |
Definition at line 35 of file DetIdSelector.cc.
References addSelection().
bool DetIdSelector::isSelected | ( | const DetId & | detid | ) | const |
Definition at line 51 of file DetIdSelector.cc.
References DetId::rawId().
Referenced by FEDBadModuleFilter::filter(), and operator()().
bool DetIdSelector::isSelected | ( | const unsigned int & | rawid | ) | const |
|
inline |
Definition at line 23 of file DetIdSelector.h.
References m_selections.
Referenced by ntupleDataFormat._Object::_checkIsValid(), FEDBadModuleFilter::filter(), and core.AutoHandle.AutoHandle::ReallyLoad().
bool DetIdSelector::operator() | ( | const DetId & | detid | ) | const |
bool DetIdSelector::operator() | ( | const unsigned int & | rawid | ) | const |
|
private |
Definition at line 30 of file DetIdSelector.h.
Referenced by addSelection(), and isSelected().
|
private |
Definition at line 29 of file DetIdSelector.h.
Referenced by addSelection(), isSelected(), and isValid().