ATLAS Offline Software
PhysicsAnalysis
Interfaces
PMGAnalysisInterfaces
PMGAnalysisInterfaces
ISysTruthWeightTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PMGTOOLS_ISYSTRUTHWEIGHTTOOLTOOL_H
6
#define PMGTOOLS_ISYSTRUTHWEIGHTTOOLTOOL_H
7
8
// STL include(s):
9
#include <string>
10
#include <vector>
11
12
// EDM include(s):
13
#include "
PATInterfaces/ISystematicsTool.h
"
14
#include "
xAODTruth/TruthParticleContainer.h
"
15
16
namespace
PMGTools
17
{
23
class
ISysTruthWeightTool
:
public
virtual
CP::IReentrantSystematicsTool
24
{
26
ASG_TOOL_INTERFACE
(xAOD::ISysTruthWeightTool)
27
28
public
:
30
virtual
float
getSysWeight
(
const
xAOD::TruthParticleContainer
*truthParticles,
const
CP::SystematicSet
&
sys
)
const
= 0;
31
};
// class ISysTruthWeightTool
32
33
}
// namespace PMGTools
34
35
#endif // PMGTOOLS_ISYSTRUTHWEIGHTTOOLTOOL_H
PMGTools::ISysTruthWeightTool::getSysWeight
virtual float getSysWeight(const xAOD::TruthParticleContainer *truthParticles, const CP::SystematicSet &sys) const =0
Declare the interface that the class provides.
TruthParticleContainer.h
PMGTools::ISysTruthWeightTool
Interface for xAOD Truth Weight Tool which returns an event weight based on truth particle container.
Definition:
ISysTruthWeightTool.h:24
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition:
SystematicSet.h:31
mapkey::sys
@ sys
Definition:
TElectronEfficiencyCorrectionTool.cxx:42
ISystematicsTool.h
PMGTools
Tool providing sample cross-sections and k-factors etc.
Definition:
AnalysisCommon/PMGTools/PMGTools/IPMGSherpaVjetsSysTool.h:16
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition:
AsgToolMacros.h:40
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
CP::IReentrantSystematicsTool
interface for all CP tools supporting systematic variations within a reentrant algorithm
Definition:
IReentrantSystematicsTool.h:58
Generated on Tue Sep 2 2025 21:13:28 for ATLAS Offline Software by
1.8.18