ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionWriteAccessorBits.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_ACCESSOR_WRITE_BITS_H
9#define SELECTION_HELPERS__SELECTION_ACCESSOR_WRITE_BITS_H
10
12
13namespace CP
14{
17
19 {
20 //
21 // public interface
22 //
23
24 public:
25 SelectionWriteAccessorBits (const std::string& name);
26
27 public:
28 virtual void setBits (const SG::AuxElement& element,
30 const CP::SystematicSet *sys) const override;
31
32 public:
33 virtual void setBool (const SG::AuxElement& element,
34 bool selection,
35 const CP::SystematicSet *sys) const override;
36
37 public:
38 virtual std::string label () const override;
39
40 public:
41 virtual StatusCode
43 const CP::SystematicSet& fullAffecting,
44 const std::vector<CP::SystematicSet>& sysList,
45 const std::string& objectName) override;
46
47
48 //
49 // private interface
50 //
51
53 private:
55
57 private:
58 std::string m_label;
59 };
60}
61
62#endif
a specialized accessor to write a selection decoration to an xAOD object
the interface for the central systematics service
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys) const override
set the selection decoration
SG::Decorator< SelectionType > m_accessor
the underlying accessor
SelectionWriteAccessorBits(const std::string &name)
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys) const override
set the selection decoration
std::string m_label
the label of the accessor
virtual std::string label() const override
get the label of the accessor
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, 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
Helper class to provide type-safe access to aux data.
Definition Decorator.h:59
const std::string selection
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData