#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, 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 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 42 of file DetIdSelector.cc.
References mps_fire::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 AlCaHLTBitMon_QueryRunRegistry::string.
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(), and isSelected().