ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionAccessorExprBase.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace CP {
8
10 const SG::AuxElement& element,
11 const CP::SystematicSet *sys) const {
12 return getBool(element,sys) ? selectionAccept() : selectionReject();
13}
14
15
16
17bool SelectionAccessorExprBase ::
18isBool () const
19{
20 return true;
21}
22
23} // namespace CP
24
25
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys=nullptr) const =0
get the selection decoration
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Select isolated Photons, Electrons and Muons.
constexpr SelectionType selectionReject()
the selection decoration to apply for objects that are rejected
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
constexpr SelectionType selectionAccept()
the selection decoration to apply for objects that are selected