ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
PFlow
PFlowUtils
PFlowUtils
WeightPFOTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef WEIGHTPFOTOOL_H
6
#define WEIGHTPFOTOOL_H
7
9
10
#include "
AsgTools/AsgTool.h
"
11
12
#include "
AsgTools/PropertyWrapper.h
"
13
14
#include "
PFlowUtils/IWeightPFOTool.h
"
15
16
#include <string>
17
18
namespace
CP
{
19
20
class
WeightPFOTool
:
public
virtual
IWeightPFOTool
,
public
asg::AsgTool
{
21
23
ASG_TOOL_CLASS
(
WeightPFOTool
,
IWeightPFOTool
)
24
25
public
:
27
WeightPFOTool
(
const
std::string&
name
);
28
29
// given a PFO, extract weight
30
StatusCode
fillWeight
(
const
xAOD::PFO
& cpfo,
float
& weight)
const
;
31
StatusCode
fillWeight
(
const
xAOD::FlowElement
& cpfo,
float
& weight)
const
;
32
33
private
:
34
35
Gaudi::Property<bool>
m_doEoverPweight
{
this
,
"DoEoverPWeight"
,
true
};
36
Gaudi::Property<std::string>
m_theNeutralPFOScaleString
{
this
,
"NeutralPFOScale"
,
"EM"
};
37
38
void
fillInterpolationWeight
(
const
xAOD::FlowElement
& cpfo,
float
& weight)
const
;
39
void
fillDoubleCountingWeight
(
const
xAOD::FlowElement
& cpfo,
float
& weight)
const
;
40
41
};
42
43
}
44
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IWeightPFOTool.h
PropertyWrapper.h
CP::IWeightPFOTool
Definition
IWeightPFOTool.h:18
CP::WeightPFOTool::fillDoubleCountingWeight
void fillDoubleCountingWeight(const xAOD::FlowElement &cpfo, float &weight) const
Definition
WeightPFOTool.cxx:170
CP::WeightPFOTool::WeightPFOTool
WeightPFOTool(const std::string &name)
Athena constructor.
Definition
WeightPFOTool.cxx:12
CP::WeightPFOTool::m_theNeutralPFOScaleString
Gaudi::Property< std::string > m_theNeutralPFOScaleString
Definition
WeightPFOTool.h:36
CP::WeightPFOTool::m_doEoverPweight
Gaudi::Property< bool > m_doEoverPweight
Definition
WeightPFOTool.h:35
CP::WeightPFOTool::fillInterpolationWeight
void fillInterpolationWeight(const xAOD::FlowElement &cpfo, float &weight) const
Definition
WeightPFOTool.cxx:151
CP::WeightPFOTool::fillWeight
StatusCode fillWeight(const xAOD::PFO &cpfo, float &weight) const
Declare the interface that the class provides.
Definition
WeightPFOTool.cxx:40
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::PFO
PFO_v1 PFO
Definition of the current "pfo version".
Definition
PFO.h:17
xAOD::FlowElement
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition
FlowElement.h:16
Generated on
for ATLAS Offline Software by
1.17.0