template<typename Object, bool existenceMatter = true>
class StringCutsEventSelector< Object, existenceMatter >
Definition at line 72 of file StringCutEventSelector.h.
template<typename Object , bool existenceMatter = true>
decision of the selector module
Implements EventSelector.
Definition at line 111 of file StringCutEventSelector.h.
References StringCutEventSelector< Object, any >::f_, edm::Event::getByToken(), mps_fire::i, connectstrParser::o, StringCutEventSelector< Object, any >::order_, jetUpdater_cfi::sort, StringCutEventSelector< Object, any >::srcToken_, and parallelization::uint().
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
114 std::vector<const Object*> copyToSort(oH->size());
115 for (
uint i=0;
i!=oH->size();++
i) copyToSort[
i]= &(*oH)[
i];
119 if (existenceMatter && oH->size()<
f_.size())
return false;
120 for (;i!=
f_.size();i++)
122 if (!existenceMatter && i==oH->size())
break;
123 if (!
f_[i])
continue;
124 const Object &
o = *(copyToSort[
i]);
125 if (!(*
f_[i])(
o))
return false;
std::vector< StringCutObjectSelector< Object > * > f_
StringObjectFunction< Object > * order_
edm::EDGetTokenT< edm::View< Object > > srcToken_