ATLAS Offline Software
IWeightPFOTool.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 IWEIGHTPFOTOOL_H
6 #define IWEIGHTPFOTOOL_H
7 
10 #include "AsgTools/IAsgTool.h"
11 
12 #include "xAODPFlow/PFOContainer.h"
14 #include "PFlowUtils/PFODefs.h"
15 
16 namespace CP {
17 
18  class IWeightPFOTool : public virtual asg::IAsgTool {
19 
22 
23  public:
24 
26  virtual StatusCode fillWeight( const xAOD::PFO& cpfo, float& weight ) const = 0;
27  virtual StatusCode fillWeight( const xAOD::FlowElement& cpfo, float& weight ) const = 0;
28 
29  };
30 
31 }
32 #endif
FlowElementContainer.h
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
PFOContainer.h
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
PFODefs.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
xAOD::PFO_v1
Class describing a particle flow object.
Definition: PFO_v1.h:35
CP::IWeightPFOTool::fillWeight
virtual StatusCode fillWeight(const xAOD::FlowElement &cpfo, float &weight) const =0
CP::IWeightPFOTool::fillWeight
virtual StatusCode fillWeight(const xAOD::PFO &cpfo, float &weight) const =0
Declare the interface that the class provides.
CP::IWeightPFOTool
Definition: IWeightPFOTool.h:18
xAOD::FlowElement_v1
A detector object made of other lower level object(s)
Definition: FlowElement_v1.h:25