ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionReadAccessorInvert.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef SELECTION_HELPERS__SELECTION_READ_ACCESSOR_INVERT_H
9#define SELECTION_HELPERS__SELECTION_READ_ACCESSOR_INVERT_H
10
12
13#include <memory>
14
15namespace CP
16{
19
21 {
22 //
23 // public interface
24 //
25
26 public:
27 SelectionReadAccessorInvert (std::unique_ptr<ISelectionReadAccessor> val_base);
28
29 public:
30 virtual SelectionType
31 getBits (const SG::AuxElement& element,
32 const CP::SystematicSet *sys) const override;
33
34 public:
35 virtual bool
36 getBool (const SG::AuxElement& element,
37 const CP::SystematicSet *sys) const override;
38
39 public:
40 virtual std::string label () const override;
41
42 public:
43 virtual bool isBool () const override;
44
45 public:
46 virtual CP::SystematicSet
48 const std::string& objectName) const override;
49
50 public:
51 virtual StatusCode
53 const std::vector<CP::SystematicSet>& sysList,
54 const std::string& objectName) override;
55
56
57 //
58 // private interface
59 //
60
62 private:
63 std::unique_ptr<ISelectionReadAccessor> m_base;
64 };
65}
66
67#endif
a specialized accessor to read a selection decoration from/to an xAOD object
the interface for the central systematics service
virtual bool isBool() const override
whether this accessor returns a simple boolean
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
get the label of the accessor
std::unique_ptr< ISelectionReadAccessor > m_base
the base selection accessors I invert
SelectionReadAccessorInvert(std::unique_ptr< ISelectionReadAccessor > val_base)
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
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.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData