ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
SelectionHelpers
SelectionWriteAccessorInvert.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_ACCESSOR_WRITE_INVERT_H
9
#define SELECTION_HELPERS__SELECTION_ACCESSOR_WRITE_INVERT_H
10
11
#include <
SelectionHelpers/ISelectionWriteAccessor.h
>
12
13
#include <memory>
14
15
namespace
CP
16
{
19
20
class
SelectionWriteAccessorInvert
final :
public
ISelectionWriteAccessor
21
{
22
//
23
// public interface
24
//
25
26
public
:
27
SelectionWriteAccessorInvert
(std::unique_ptr<ISelectionWriteAccessor> val_base);
28
29
public
:
30
virtual
void
setBits
(
const
SG::AuxElement
& element,
31
SelectionType
selection
,
32
const
CP::SystematicSet
*sys)
const override
;
33
34
public
:
35
virtual
void
setBool
(
const
SG::AuxElement
& element,
36
bool
selection
,
37
const
CP::SystematicSet
*sys)
const override
;
38
39
public
:
40
virtual
std::string
label
()
const override
;
41
42
public
:
43
virtual
StatusCode
44
fillSystematics
(
const
ISystematicsSvc
& svc,
45
const
CP::SystematicSet
& fullAffecting,
46
const
std::vector<CP::SystematicSet>& sysList,
47
ISysObjectHandleBase
& objectHandle)
override
;
48
49
50
//
51
// private interface
52
//
53
55
private
:
56
std::unique_ptr<ISelectionWriteAccessor>
m_base
;
57
};
58
}
59
60
#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::SelectionWriteAccessorInvert::m_base
std::unique_ptr< ISelectionWriteAccessor > m_base
the base selection accessors I invert
Definition
SelectionWriteAccessorInvert.h:56
CP::SelectionWriteAccessorInvert::SelectionWriteAccessorInvert
SelectionWriteAccessorInvert(std::unique_ptr< ISelectionWriteAccessor > val_base)
Definition
SelectionWriteAccessorInvert.cxx:23
CP::SelectionWriteAccessorInvert::setBool
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys) const override
set the selection decoration
Definition
SelectionWriteAccessorInvert.cxx:40
CP::SelectionWriteAccessorInvert::setBits
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys) const override
set the selection decoration
Definition
SelectionWriteAccessorInvert.cxx:30
CP::SelectionWriteAccessorInvert::label
virtual std::string label() const override
get the label of the accessor
Definition
SelectionWriteAccessorInvert.cxx:50
CP::SelectionWriteAccessorInvert::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
SelectionWriteAccessorInvert.cxx:58
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.
Generated on
for ATLAS Offline Software by
1.17.0