ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionReadAccessorNull.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
13
15
16//
17// method implementations
18//
19
20namespace CP
21{
22 SelectionReadAccessorNull ::
23 SelectionReadAccessorNull (bool value) : m_value(value)
24 {}
25
26
27
28 SelectionType SelectionReadAccessorNull ::
29 getBits (const SG::AuxElement& /*element*/,
30 const CP::SystematicSet * /*sys*/) const
31 {
33 }
34
35
36
37 bool SelectionReadAccessorNull ::
38 getBool (const SG::AuxElement& /*element*/,
39 const CP::SystematicSet * /*sys*/) const
40 {
41 return m_value;
42 }
43
44
45 std::string SelectionReadAccessorNull ::
46 label () const
47 {
48 return m_value ? "true" : "false";
49 }
50
51
52
53 bool SelectionReadAccessorNull ::
54 isBool () const
55 {
56 return true;
57 }
58
59
60
61 CP::SystematicSet SelectionReadAccessorNull ::
62 getInputAffecting (const ISystematicsSvc& /*svc*/,
63 const std::string& /*objectName*/) const
64 {
65 return SystematicSet ();
66 }
67
68
69
70 StatusCode SelectionReadAccessorNull ::
71 fillSystematics (const ISystematicsSvc& /*svc*/,
72 const std::vector<CP::SystematicSet>& /*sysList*/,
73 const std::string& /*objectName*/)
74 {
75 return StatusCode::SUCCESS;
76 }
77}
the interface for the central systematics service
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.
constexpr SelectionType selectionReject()
the selection decoration to apply for objects that are rejected
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
constexpr SelectionType selectionAccept()
the selection decoration to apply for objects that are selected