ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
Root
SelectionWriteAccessorNull.cxx
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
//
9
// includes
10
//
11
12
#include <
SelectionHelpers/SelectionWriteAccessorNull.h
>
13
14
#include <
PATInterfaces/SystematicSet.h
>
15
16
//
17
// method implementations
18
//
19
20
namespace
CP
21
{
22
SelectionWriteAccessorNull ::
23
SelectionWriteAccessorNull ()
24
{}
25
26
27
28
void
SelectionWriteAccessorNull ::
29
setBits (
const
SG::AuxElement
&
/*element*/
,
30
SelectionType
/*selection*/
,
31
const
CP::SystematicSet
*
/*sys*/
)
const
32
{
33
// ok, let's not do anything here, making this an easy way to
34
// ignore selection decorations an algorithm calculates. however,
35
// the implication is that you can simply forget to set the
36
// decoration property and not get an error
37
}
38
39
40
41
void
SelectionWriteAccessorNull ::
42
setBool (
const
SG::AuxElement
&
/*element*/
,
43
bool
/*selection*/
,
44
const
CP::SystematicSet
*
/*sys*/
)
const
45
{
46
// ok, let's not do anything here, making this an easy way to
47
// ignore selection decorations an algorithm calculates. however,
48
// the implication is that you can simply forget to set the
49
// decoration property and not get an error
50
}
51
52
53
std::string SelectionWriteAccessorNull ::
54
label ()
const
55
{
56
return
"null"
;
57
}
58
59
60
61
StatusCode SelectionWriteAccessorNull ::
62
fillSystematics (
const
ISystematicsSvc
&
/*svc*/
,
63
const
CP::SystematicSet
&
/*fullAffecting*/
,
64
const
std::vector<CP::SystematicSet>&
/*sysList*/
,
65
ISysObjectHandleBase
&
/*objectHandle*/
)
66
{
67
return
StatusCode::SUCCESS;
68
}
69
}
SelectionWriteAccessorNull.h
SystematicSet.h
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::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
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