12 std::unique_ptr<ISelectionReadAccessor> left,
13 std::unique_ptr<ISelectionReadAccessor> right)
18 return m_left->getBool(element,sys) ||
m_right->getBool(element,sys);
22 return "( " +
m_left->label() +
" || " +
m_right->label() +
" )";
27 const std::string& objectName)
const
34StatusCode SelectionAccessorExprOr ::
36 const std::vector<CP::SystematicSet>& sysList,
37 const std::string& objectName)
39 using namespace msgSelectionHelpers;
43 return StatusCode::SUCCESS;
the interface for the central systematics service
virtual std::string label() const override
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
std::unique_ptr< ISelectionReadAccessor > m_left
SelectionAccessorExprOr(std::unique_ptr< ISelectionReadAccessor > left, std::unique_ptr< ISelectionReadAccessor > right)
std::unique_ptr< ISelectionReadAccessor > m_right
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
Select isolated Photons, Electrons and Muons.