ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
Root
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
5
#include "
SelectionHelpers/SelectionAccessorExprBase.h
"
6
7
namespace
CP
{
8
9
SelectionType
SelectionAccessorExprBase::getBits
(
10
const
SG::AuxElement
& element,
11
const
CP::SystematicSet
*sys)
const
{
12
return
getBool
(element,sys) ?
selectionAccept
() :
selectionReject
();
13
}
14
15
16
17
bool
SelectionAccessorExprBase ::
18
isBool ()
const
19
{
20
return
true
;
21
}
22
23
}
// namespace CP
24
25
SelectionAccessorExprBase.h
CP::ISelectionReadAccessor::getBool
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys=nullptr) const =0
get the selection decoration
CP::SelectionAccessorExprBase::getBits
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
Definition
SelectionAccessorExprBase.cxx:9
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CP::selectionReject
constexpr SelectionType selectionReject()
the selection decoration to apply for objects that are rejected
Definition
SelectionHelpers.h:44
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition
SelectionHelpers.h:26
CP::selectionAccept
constexpr SelectionType selectionAccept()
the selection decoration to apply for objects that are selected
Definition
SelectionHelpers.h:35
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
Generated on
for ATLAS Offline Software by
1.17.0