ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
SelectionHelpers
SelectionAccessorExprOr.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SELECTION_HELPERS__SELECTION_ACCESSOR_EXPR_OR_H
6
#define SELECTION_HELPERS__SELECTION_ACCESSOR_EXPR_OR_H
7
8
#include "
SelectionHelpers/SelectionAccessorExprBase.h
"
9
10
#include <memory>
11
12
namespace
CP
{
13
15
class
SelectionAccessorExprOr
:
public
SelectionAccessorExprBase
{
16
public
:
19
SelectionAccessorExprOr
(std::unique_ptr<ISelectionReadAccessor> left,
20
std::unique_ptr<ISelectionReadAccessor> right);
21
24
virtual
bool
getBool
(
const
SG::AuxElement
&element,
25
const
CP::SystematicSet
*sys)
const override
;
26
28
virtual
std::string
label
()
const override
;
29
30
virtual
CP::SystematicSet
31
getInputAffecting
(
const
ISystematicsSvc
& svc,
32
const
std::string& objectName)
const override
;
33
34
virtual
StatusCode
35
fillSystematics
(
const
ISystematicsSvc
& svc,
36
const
std::vector<CP::SystematicSet>& sysList,
37
ISysObjectHandleBase
& objectHandle)
override
;
38
39
private
:
40
std::unique_ptr<ISelectionReadAccessor>
m_left
;
41
std::unique_ptr<ISelectionReadAccessor>
m_right
;
42
};
43
44
}
// namespace CP
45
46
#endif
SelectionAccessorExprBase.h
CP::ISysObjectHandleBase
a ISysHandleBase for a handle to a specific object/container
Definition
ISysHandleBase.h:58
CP::ISystematicsSvc
the interface for the central systematics service
Definition
ISystematicsSvc.h:26
CP::SelectionAccessorExprBase
Serves as the base for a few logical expression classes.
Definition
SelectionAccessorExprBase.h:13
CP::SelectionAccessorExprOr::getInputAffecting
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
Definition
SelectionAccessorExprOr.cxx:26
CP::SelectionAccessorExprOr::label
virtual std::string label() const override
Definition
SelectionAccessorExprOr.cxx:21
CP::SelectionAccessorExprOr::getBool
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
Definition
SelectionAccessorExprOr.cxx:16
CP::SelectionAccessorExprOr::m_left
std::unique_ptr< ISelectionReadAccessor > m_left
Definition
SelectionAccessorExprOr.h:40
CP::SelectionAccessorExprOr::SelectionAccessorExprOr
SelectionAccessorExprOr(std::unique_ptr< ISelectionReadAccessor > left, std::unique_ptr< ISelectionReadAccessor > right)
Definition
SelectionAccessorExprOr.cxx:11
CP::SelectionAccessorExprOr::m_right
std::unique_ptr< ISelectionReadAccessor > m_right
Definition
SelectionAccessorExprOr.h:41
CP::SelectionAccessorExprOr::fillSystematics
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, ISysObjectHandleBase &objectHandle) override
fill the systematic variations
Definition
SelectionAccessorExprOr.cxx:35
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
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