1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHMultiSelect_h 2 #define HeavyFlavorAnalysis_RecoDecay_BPHMultiSelect_h 79 selectList.push_back( e );
84 template<
class Obj>
bool select(
const Obj&
cand )
const {
86 int n = selectList.size();
87 for ( i = 0; i <
n; ++
i ) {
88 const SelectElement&
e = selectList[
i];
89 if ( ( e.selector->accept( cand ) == e.mode ) == breakValue )
97 int n = selectList.size();
98 for ( i = 0; i <
n; ++
i ) {
99 const SelectElement&
e = selectList[
i];
100 if ( ( e.selector->accept( cand, build ) == e.mode ) == breakValue )
139 bool accept(
const typename T::AcceptArg &
cand )
const override;
BPHMultiSelect(BPHSelectOperation::mode op)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
bool accept(const typename T::AcceptArg &cand) const override
accept function
BPHMultiSelectBase(BPHSelectOperation::mode op)
bool select(const Obj &cand) const
~BPHMultiSelect() override
~BPHMultiSelect() override
BPHMultiSelect(BPHSelectOperation::mode op)
bool include(const CollT &coll, const ItemT &item)
std::vector< SelectElement > selectList
bool select(const Obj &cand, const BPHRecoBuilder *build) const
~BPHMultiSelectBase() override