#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 7 of file DetIdSelector.cc.
DetIdSelector::DetIdSelector | ( | const std::string & | selstring | ) |
Definition at line 11 of file DetIdSelector.cc.
References addSelection().
DetIdSelector::DetIdSelector | ( | const std::vector< std::string > & | selstrings | ) |
Definition at line 17 of file DetIdSelector.cc.
References addSelection().
DetIdSelector::DetIdSelector | ( | const edm::ParameterSet & | selconfig | ) |
Definition at line 23 of file DetIdSelector.cc.
References addSelection(), and edm::ParameterSet::getUntrackedParameter().
|
private |
Definition at line 32 of file DetIdSelector.cc.
References LogDebug, m_masks, m_selections, and corrVsCorr::selection.
Referenced by addSelection(), and DetIdSelector().
|
private |
Definition at line 51 of file DetIdSelector.cc.
References addSelection().
bool DetIdSelector::isSelected | ( | const DetId & | detid | ) | const |
Definition at line 68 of file DetIdSelector.cc.
References DetId::rawId().
Referenced by OverlapProblemTSOSAnalyzer::analyze(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), FEDBadModuleFilter::filter(), Vispa.Views.LineDecayView.LineDecayContainer::keyPressEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), operator()(), Vispa.Gui.VispaWidget.VispaWidget::paint(), Vispa.Views.LineDecayView.ParticleWidget::paint(), Vispa.Gui.PortConnection.PointToPointConnection::select(), and Vispa.Gui.VispaWidget.VispaWidget::select().
bool DetIdSelector::isSelected | ( | const unsigned int & | rawid | ) | const |
Definition at line 59 of file DetIdSelector.cc.
References i, m_masks, and m_selections.
Referenced by Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Views.LineDecayView.LineDecayContainer::keyPressEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::paint(), Vispa.Views.LineDecayView.ParticleWidget::paint(), Vispa.Gui.PortConnection.PointToPointConnection::select(), and Vispa.Gui.VispaWidget.VispaWidget::select().
|
inline |
Definition at line 23 of file DetIdSelector.h.
References m_selections.
Referenced by ntuple._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 31 of file DetIdSelector.h.
Referenced by addSelection(), and isSelected().
|
private |
Definition at line 30 of file DetIdSelector.h.
Referenced by addSelection(), isSelected(), and isValid().