ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionReadAccessorChar.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef SELECTION_HELPERS__SELECTION_READ_ACCESSOR_OR_H
9#define SELECTION_HELPERS__SELECTION_READ_ACCESSOR_OR_H
10
12
13namespace CP
14{
17
19 {
20 //
21 // public interface
22 //
23
24 public:
25 SelectionReadAccessorChar (const std::string& name);
26
27 public:
28 virtual SelectionType
29 getBits (const SG::AuxElement& element,
30 const CP::SystematicSet *sys) const override;
31
32 public:
33 virtual bool
34 getBool (const SG::AuxElement& element,
35 const CP::SystematicSet *sys) const override;
36
37 public:
38 virtual std::string label () const override;
39
40 public:
41 virtual bool isBool () const override;
42
43 public:
44 virtual CP::SystematicSet
46 const std::string& objectName) const override;
47
48 public:
49 virtual StatusCode
51 const std::vector<CP::SystematicSet>& sysList,
52 const std::string& objectName) override;
53
54
55 //
56 // private interface
57 //
58
60 private:
62
64 private:
65 std::string m_label;
66 };
67}
68
69#endif
a specialized accessor to read a selection decoration from/to an xAOD object
the interface for the central systematics service
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
std::string m_label
the label of the accessor
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
virtual SelectionType getBits(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
get the selection decoration
virtual bool isBool() const override
whether this accessor returns a simple boolean
virtual std::string label() const override
get the label of the accessor
SelectionReadAccessorChar(const std::string &name)
SG::ConstAccessor< char > m_constAccessor
the underlying accessor
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Helper class to provide constant type-safe access to aux data.
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData