ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
10#include <memory>
11
12namespace CP {
13
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
32 const std::string& objectName) const override;
33
34 virtual StatusCode
36 const std::vector<CP::SystematicSet>& sysList,
37 const std::string& objectName) 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
the interface for the central systematics service
Serves as the base for a few logical expression classes.
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
virtual std::string label() const override
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
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.
Definition AuxElement.h:483
Select isolated Photons, Electrons and Muons.