ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
SelectionHelpers
SelectionWriteAccessorChar.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_WRITE_ACCESSOR_OR_H
9
#define SELECTION_HELPERS__SELECTION_WRITE_ACCESSOR_OR_H
10
11
#include <
SelectionHelpers/ISelectionWriteAccessor.h
>
12
13
namespace
CP
14
{
17
18
class
SelectionWriteAccessorChar
final :
public
ISelectionWriteAccessor
19
{
20
//
21
// public interface
22
//
23
24
public
:
25
SelectionWriteAccessorChar
(
const
std::string&
name
);
26
27
public
:
28
virtual
void
setBits
(
const
SG::AuxElement
& element,
29
SelectionType
selection
,
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
42
fillSystematics
(
const
ISystematicsSvc
& svc,
43
const
CP::SystematicSet
& fullAffecting,
44
const
std::vector<CP::SystematicSet>& sysList,
45
ISysObjectHandleBase
& objectHandle)
override
;
46
47
48
//
49
// private interface
50
//
51
53
private
:
54
SG::Decorator<char>
m_accessor
;
55
57
private
:
58
std::string
m_label
;
59
};
60
}
61
62
#endif
ISelectionWriteAccessor.h
CP::ISelectionWriteAccessor
a specialized accessor to write a selection decoration to an xAOD object
Definition
ISelectionWriteAccessor.h:40
CP::ISysObjectHandleBase
a ISysHandleBase for a handle to a specific object/container
Definition
ISysHandleBase.h:58
CP::ISystematicsSvc
the interface for the central systematics service
Definition
ISystematicsSvc.h:26
CP::SelectionWriteAccessorChar::SelectionWriteAccessorChar
SelectionWriteAccessorChar(const std::string &name)
Definition
SelectionWriteAccessorChar.cxx:24
CP::SelectionWriteAccessorChar::setBool
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys) const override
set the selection decoration
Definition
SelectionWriteAccessorChar.cxx:44
CP::SelectionWriteAccessorChar::setBits
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys) const override
set the selection decoration
Definition
SelectionWriteAccessorChar.cxx:31
CP::SelectionWriteAccessorChar::m_accessor
SG::Decorator< char > m_accessor
the underlying accessor
Definition
SelectionWriteAccessorChar.h:54
CP::SelectionWriteAccessorChar::label
virtual std::string label() const override
get the label of the accessor
Definition
SelectionWriteAccessorChar.cxx:54
CP::SelectionWriteAccessorChar::m_label
std::string m_label
the label of the accessor
Definition
SelectionWriteAccessorChar.h:58
CP::SelectionWriteAccessorChar::fillSystematics
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList, ISysObjectHandleBase &objectHandle) override
fill the systematic variations
Definition
SelectionWriteAccessorChar.cxx:62
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
selection
const std::string selection
Definition
fbtTestBasics.cxx:75
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition
SelectionHelpers.h:26
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
SG::Decorator
SG::Decorator< T, ALLOC > Decorator
Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.
Definition
AuxElement.h:576
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0