ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionReadAccessorNull.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_NULL_H
9#define SELECTION_HELPERS__SELECTION_READ_ACCESSOR_NULL_H
10
12
13namespace CP
14{
21
23 {
24 //
25 // public interface
26 //
27
28 public:
29 SelectionReadAccessorNull (bool value = true);
30
31 public:
32 virtual SelectionType
33 getBits (const SG::AuxElement& element,
34 const CP::SystematicSet *sys) const override;
35
36 public:
37 virtual bool
38 getBool (const SG::AuxElement& element,
39 const CP::SystematicSet *sys) const override;
40
41 public:
42 virtual std::string label () const override;
43
44 public:
45 virtual bool isBool () const override;
46
47 public:
48 virtual CP::SystematicSet
50 const std::string& objectName) const override;
51
52 public:
53 virtual StatusCode
55 const std::vector<CP::SystematicSet>& sysList,
56 const std::string& objectName) override;
57
58
59 //
60 // private interface
61 //
62 private:
63 bool m_value;
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 std::string label() const override
get the label of the accessor
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
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
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
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