ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
SelectionHelpers
Root
SelectionReadHandle.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
//
9
// includes
10
//
11
12
#include <
SelectionHelpers/SelectionReadHandle.h
>
13
14
#include <
AsgMessaging/StatusCode.h
>
15
16
//
17
// method implementations
18
//
19
20
namespace
CP
21
{
22
bool
SelectionReadHandle ::
23
empty ()
const
noexcept
24
{
25
return
m_selection
.empty();
26
}
27
28
29
30
SelectionReadHandle ::
31
operator
bool
()
const
noexcept
32
{
33
return
!
m_selection
.empty();
34
}
35
36
37
38
StatusCode SelectionReadHandle ::
39
initialize ()
40
{
41
return
makeSelectionReadAccessor
(
m_selection
,
m_accessor
);
42
}
43
}
StatusCode.h
SelectionReadHandle.h
CP::SelectionReadHandle::m_accessor
std::unique_ptr< ISelectionReadAccessor > m_accessor
the accessor we use
Definition
SelectionReadHandle.h:72
CP::SelectionReadHandle::m_selection
std::string m_selection
the selection we use
Definition
SelectionReadHandle.h:68
const
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CP::makeSelectionReadAccessor
StatusCode makeSelectionReadAccessor(const std::string &expr, std::unique_ptr< ISelectionReadAccessor > &accessor, bool defaultToChar)
make the ISelectionReadAccessor for the given name
Definition
ISelectionAccessor.cxx:54
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition
TrigDecision_v1.cxx:60
Generated on
for ATLAS Offline Software by
1.14.0