ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
PFlow
PFlowUtils
PFlowUtils
WeightPFOTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 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 "
PFlowUtils/IWeightPFOTool.h
"
13
14
#include <string>
15
16
namespace
CP
{
17
18
class
WeightPFOTool
:
public
virtual
IWeightPFOTool
,
public
asg::AsgTool
{
19
21
ASG_TOOL_CLASS
(
WeightPFOTool
,
IWeightPFOTool
)
22
23
public
:
25
WeightPFOTool
(
const
std::string&
name
);
26
27
// given a PFO, extract weight
28
StatusCode
fillWeight
(
const
xAOD::PFO
& cpfo,
float
& weight)
const
;
29
StatusCode
fillWeight
(
const
xAOD::FlowElement
& cpfo,
float
& weight)
const
;
30
31
private
:
32
33
bool
m_doEoverPweight
;
34
std::string
m_theNeutralPFOScaleString
;
35
36
void
fillInterpolationWeight
(
const
xAOD::FlowElement
& cpfo,
float
& weight)
const
;
37
void
fillDoubleCountingWeight
(
const
xAOD::FlowElement
& cpfo,
float
& weight)
const
;
38
39
};
40
41
}
42
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IWeightPFOTool.h
CP::IWeightPFOTool
Definition
IWeightPFOTool.h:18
CP::WeightPFOTool::m_theNeutralPFOScaleString
std::string m_theNeutralPFOScaleString
Definition
WeightPFOTool.h:34
CP::WeightPFOTool::fillDoubleCountingWeight
void fillDoubleCountingWeight(const xAOD::FlowElement &cpfo, float &weight) const
Definition
WeightPFOTool.cxx:171
CP::WeightPFOTool::m_doEoverPweight
bool m_doEoverPweight
Definition
WeightPFOTool.h:33
CP::WeightPFOTool::WeightPFOTool
WeightPFOTool(const std::string &name)
Athena constructor.
Definition
WeightPFOTool.cxx:10
CP::WeightPFOTool::fillInterpolationWeight
void fillInterpolationWeight(const xAOD::FlowElement &cpfo, float &weight) const
Definition
WeightPFOTool.cxx:152
CP::WeightPFOTool::fillWeight
StatusCode fillWeight(const xAOD::PFO &cpfo, float &weight) const
Declare the interface that the class provides.
Definition
WeightPFOTool.cxx:41
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.14.0