ATLAS Offline Software
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 
13 
15 
16 //
17 // method implementations
18 //
19 
20 namespace CP
21 {
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 
39  initialize ()
40  {
42  }
43 }
CP::SelectionReadHandle::initialize
StatusCode initialize()
initialize the accessor
Definition: SelectionReadHandle.cxx:39
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::SelectionReadHandle::m_accessor
std::unique_ptr< ISelectionReadAccessor > m_accessor
the accessor we use
Definition: SelectionReadHandle.h:72
SelectionReadHandle.h
CP::SelectionReadHandle::empty
bool empty() const noexcept
whether we have a name configured
Definition: SelectionReadHandle.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
StatusCode.h
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
CP::SelectionReadHandle::m_selection
std::string m_selection
the selection we use
Definition: SelectionReadHandle.h:68