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 <
AsgDataHandles/WriteDecorHandleKey.h
>
15
#include <
AsgTools/PropertyWrapper.h
>
16
17
// Framework includes
18
#include "
xAODTruth/TruthEventContainer.h
"
19
#include <
xAODEventInfo/EventInfo.h
>
20
21
namespace
CP
{
22
class
PDFinfoAlg
:
public
EL::AnaReentrantAlgorithm
{
23
public
:
24
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
25
virtual
StatusCode
initialize
()
final
;
26
virtual
StatusCode
execute
(
const
EventContext &ctx)
const
final
;
27
28
private
:
29
SG::ReadHandleKey<xAOD::TruthEventContainer>
m_truthEventsKey
{
30
this
,
"truthEvents"
,
"TruthEvents"
,
"the name of the truth events container"
};
31
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
32
this
,
"eventInfo"
,
"EventInfo"
,
"the name of the EventInfo container to decorate"
};
33
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_pdfid1Key
{
34
this
,
"PDFID1DecorKey"
,
m_eventInfoKey
,
"PDFID1"
,
"the PDFID1 decoration on EventInfo"
};
35
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_pdfid2Key
{
36
this
,
"PDFID2DecorKey"
,
m_eventInfoKey
,
"PDFID2"
,
"the PDFID2 decoration on EventInfo"
};
37
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_pdgid1Key
{
38
this
,
"PDGID1DecorKey"
,
m_eventInfoKey
,
"PDGID1"
,
"the PDGID1 decoration on EventInfo"
};
39
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_pdgid2Key
{
40
this
,
"PDGID2DecorKey"
,
m_eventInfoKey
,
"PDGID2"
,
"the PDGID2 decoration on EventInfo"
};
41
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_QKey
{
42
this
,
"QDecorKey"
,
m_eventInfoKey
,
"Q"
,
"the Q decoration on EventInfo"
};
43
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_X1Key
{
44
this
,
"X1DecorKey"
,
m_eventInfoKey
,
"X1"
,
"the X1 decoration on EventInfo"
};
45
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_X2Key
{
46
this
,
"X2DecorKey"
,
m_eventInfoKey
,
"X2"
,
"the X2 decoration on EventInfo"
};
47
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_XF1Key
{
48
this
,
"XF1DecorKey"
,
m_eventInfoKey
,
"XF1"
,
"the XF1 decoration on EventInfo"
};
49
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_XF2Key
{
50
this
,
"XF2DecorKey"
,
m_eventInfoKey
,
"XF2"
,
"the XF2 decoration on EventInfo"
};
51
};
52
53
}
// namespace CP
54
55
#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.
WriteDecorHandleKey.h
PropertyWrapper.h
TruthEventContainer.h
CP::PDFinfoAlg
Definition
PDFinfoAlg.h:22
CP::PDFinfoAlg::m_X1Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_X1Key
Definition
PDFinfoAlg.h:43
CP::PDFinfoAlg::m_truthEventsKey
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEventsKey
Definition
PDFinfoAlg.h:29
CP::PDFinfoAlg::initialize
virtual StatusCode initialize() final
Definition
PDFinfoAlg.cxx:13
CP::PDFinfoAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
PDFinfoAlg.h:31
CP::PDFinfoAlg::m_QKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_QKey
Definition
PDFinfoAlg.h:41
CP::PDFinfoAlg::m_XF1Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_XF1Key
Definition
PDFinfoAlg.h:47
CP::PDFinfoAlg::execute
virtual StatusCode execute(const EventContext &ctx) const final
Definition
PDFinfoAlg.cxx:31
CP::PDFinfoAlg::m_X2Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_X2Key
Definition
PDFinfoAlg.h:45
CP::PDFinfoAlg::m_XF2Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_XF2Key
Definition
PDFinfoAlg.h:49
CP::PDFinfoAlg::m_pdfid2Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_pdfid2Key
Definition
PDFinfoAlg.h:35
CP::PDFinfoAlg::m_pdfid1Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_pdfid1Key
Definition
PDFinfoAlg.h:33
CP::PDFinfoAlg::m_pdgid2Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_pdgid2Key
Definition
PDFinfoAlg.h:39
CP::PDFinfoAlg::m_pdgid1Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_pdgid1Key
Definition
PDFinfoAlg.h:37
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
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
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