ATLAS Offline Software
Loading...
Searching...
No Matches
PDFReweightAlg.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__PDFREWEIGHT__ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__PDFREWEIGHT__ALG_H
9
14
15
18
19#include <vector>
20
21namespace LHAPDF{
22 class PDF;
23}
24
25
26namespace CP
27{
30 {
31 public:
33 virtual StatusCode initialize() final;
34 virtual StatusCode execute(const EventContext &ctx) const final;
35
36 private:
37
39 this, "EventInfoKey", "EventInfo", "EventInfo container to dump"};
40
42 this, "TruthEvents", "TruthEvents", "TruthEvent container to read"};
43
44 LHAPDF::PDF* m_p0=nullptr;
45 std::vector<LHAPDF::PDF*> m_p1_vars;
46 Gaudi::Property<std::string> m_inPDF {this, "inPDFName", ""};
47 Gaudi::Property<std::vector<std::string>> m_outPDF {this, "outPDFName", {}};
48 Gaudi::Property<std::string> m_additionalPdfPath {this, "additionalPdfPath", ""};
49 std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo>> m_reweightKeys;
50 };
51
52}
53#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm for the PDF reweighting.
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
LHAPDF::PDF * m_p0
virtual StatusCode initialize() final
std::vector< LHAPDF::PDF * > m_p1_vars
Gaudi::Property< std::string > m_additionalPdfPath
Gaudi::Property< std::vector< std::string > > m_outPDF
Gaudi::Property< std::string > m_inPDF
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_reweightKeys
SG::ReadHandleKey< xAOD::TruthEventContainer > m_TruthEventKey
virtual StatusCode execute(const EventContext &ctx) const final
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.