ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14#include <string>
15
16namespace CP {
17
18 class WeightPFOTool : public virtual IWeightPFOTool, public asg::AsgTool {
19
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
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
std::string m_theNeutralPFOScaleString
void fillDoubleCountingWeight(const xAOD::FlowElement &cpfo, float &weight) const
WeightPFOTool(const std::string &name)
Athena constructor.
void fillInterpolationWeight(const xAOD::FlowElement &cpfo, float &weight) const
StatusCode fillWeight(const xAOD::PFO &cpfo, float &weight) const
Declare the interface that the class provides.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Select isolated Photons, Electrons and Muons.
PFO_v1 PFO
Definition of the current "pfo version".
Definition PFO.h:17
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition FlowElement.h:16