ATLAS Offline Software
IPhotonPointingTool.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 PhotonVertexSelection_IPhotonPointingTool_h
6 #define PhotonVertexSelection_IPhotonPointingTool_h
7 
8 // Framework includes
9 #include "AsgTools/IAsgTool.h"
10 
11 // EDM includes
15 
16 namespace CP {
17 
18  class IPhotonPointingTool : public virtual asg::IAsgTool {
19 
22 
23  public:
25  virtual StatusCode updatePointingAuxdata(const xAOD::EgammaContainer &egammas) const = 0;
26 
28  virtual std::pair<float, float> getCaloPointing(const xAOD::Egamma *egamma) const = 0;
29 
31  virtual std::pair<float, float> getConvPointing(const xAOD::Photon *photon) const = 0;
32 
33  }; // class IPhotonPointingTool
34 
35 } // namespace CP
36 
37 
38 #endif // PhotonVertexSelection_IPhotonPointingTool_h
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
CP::IPhotonPointingTool
Definition: IPhotonPointingTool.h:18
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
egamma
Definition: egamma.h:58
EgammaContainer.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
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
CP::IPhotonPointingTool::getCaloPointing
virtual std::pair< float, float > getCaloPointing(const xAOD::Egamma *egamma) const =0
Return calo pointing variables.
CP::IPhotonPointingTool::getConvPointing
virtual std::pair< float, float > getConvPointing(const xAOD::Photon *photon) const =0
Return conversion (HPV) pointing variables.
EventInfo.h
xAOD::photon
@ photon
Definition: TrackingPrimitives.h:199
xAOD::Photon_v1
Definition: Photon_v1.h:37
CP::IPhotonPointingTool::updatePointingAuxdata
virtual StatusCode updatePointingAuxdata(const xAOD::EgammaContainer &egammas) const =0
Declare the interface that the class provides.
PhotonContainer.h