ATLAS Offline Software
Loading...
Searching...
No Matches
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
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
TruthParticleContainer.h
ISystematicsTool.h
CP::IReentrantSystematicsTool
interface for all CP tools supporting systematic variations within a reentrant algorithm
Definition
IReentrantSystematicsTool.h:58
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition
SystematicSet.h:31
PMGTools::ISysTruthWeightTool
Interface for xAOD Truth Weight Tool which returns an event weight based on truth particle container.
Definition
ISysTruthWeightTool.h:24
PMGTools::ISysTruthWeightTool::getSysWeight
virtual float getSysWeight(const xAOD::TruthParticleContainer *truthParticles, const CP::SystematicSet &sys) const =0
Declare the interface that the class provides.
PMGTools
Tool providing sample cross-sections and k-factors etc.
Definition
AnalysisCommon/PMGTools/PMGTools/IPMGSherpaVjetsSysTool.h:16
xAOD::TruthParticleContainer
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticleContainer.h:17
Generated on
for ATLAS Offline Software by
1.14.0