ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
PDFinfoAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef ASG_ANALYSIS_ALGORITHMS__PDFINFO__ALG_H
8
#define ASG_ANALYSIS_ALGORITHMS__PDFINFO__ALG_H
9
10
// Algorithm includes
11
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
12
#include <
AsgDataHandles/ReadHandle.h
>
13
#include <
AsgDataHandles/ReadHandleKey.h
>
14
#include <
AsgTools/PropertyWrapper.h
>
15
16
// Framework includes
17
#include "
xAODTruth/TruthEventContainer.h
"
18
#include <
xAODEventInfo/EventInfo.h
>
19
20
namespace
CP
{
21
class
PDFinfoAlg
:
public
EL::AnaReentrantAlgorithm
{
22
public
:
23
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
24
virtual
StatusCode
initialize
()
final
;
25
virtual
StatusCode
execute
(
const
EventContext &ctx)
const
final
;
26
27
private
:
28
SG::ReadHandleKey<xAOD::TruthEventContainer>
m_truthEventsKey
{
29
this
,
"truthEvents"
,
"TruthEvents"
,
"the name of the truth events container"
};
30
};
31
32
}
// namespace CP
33
34
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadHandle.h
Handle class for reading from StoreGate.
PropertyWrapper.h
TruthEventContainer.h
CP::PDFinfoAlg
Definition
PDFinfoAlg.h:21
CP::PDFinfoAlg::m_truthEventsKey
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEventsKey
Definition
PDFinfoAlg.h:28
CP::PDFinfoAlg::initialize
virtual StatusCode initialize() final
Definition
PDFinfoAlg.cxx:11
CP::PDFinfoAlg::execute
virtual StatusCode execute(const EventContext &ctx) const final
Definition
PDFinfoAlg.cxx:18
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0