ATLAS Offline Software
IHITowerWeightTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HIEVENTUTILS_IHITOWERWEIGHTTOOL_H
6 #define HIEVENTUTILS_IHITOWERWEIGHTTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "GaudiKernel/EventContext.h"
10 
11 class IHITowerWeightTool : virtual public IAlgTool {
12  public:
14 
15  virtual float getEtaPhiResponse(float eta, float phi, int runIndex) const = 0;
16  virtual float getEtaPhiOffset(float eta, float phi, int runIndex) const = 0;
17  virtual float getWeight(float eta, float phi, int sampling) const = 0;
18  virtual float getWeightEta(float eta, float phi, int sampling) const = 0;
19  virtual float getWeightPhi(float eta, float phi, int sampling) const = 0;
20  virtual float getWeightMag(float eta, float phi, int sampling) const = 0;
21  virtual int getRunIndex(const EventContext& ctx) const = 0;
22 };
23 #endif
IHITowerWeightTool::DeclareInterfaceID
DeclareInterfaceID(IHITowerWeightTool, 1, 0)
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
IHITowerWeightTool::getWeight
virtual float getWeight(float eta, float phi, int sampling) const =0
IHITowerWeightTool::getWeightMag
virtual float getWeightMag(float eta, float phi, int sampling) const =0
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
IHITowerWeightTool::getEtaPhiResponse
virtual float getEtaPhiResponse(float eta, float phi, int runIndex) const =0
IHITowerWeightTool
Definition: IHITowerWeightTool.h:11
IHITowerWeightTool::getWeightEta
virtual float getWeightEta(float eta, float phi, int sampling) const =0
IHITowerWeightTool::getEtaPhiOffset
virtual float getEtaPhiOffset(float eta, float phi, int runIndex) const =0
IHITowerWeightTool::getRunIndex
virtual int getRunIndex(const EventContext &ctx) const =0
IHITowerWeightTool::getWeightPhi
virtual float getWeightPhi(float eta, float phi, int sampling) const =0