ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
GetAmountFormula Struct Reference

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountFormula:
Collaboration diagram for GetAmountFormula:

Public Member Functions

 GetAmountFormula (const TFormula &formula)
 
virtual GetAmountFormulaclone () const
 
virtual float operator() (const StdCalibrationInputs &input) const
 

Protected Attributes

TFormula m_formula
 

Detailed Description

Definition at line 123 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountFormula()

GetAmountFormula::GetAmountFormula ( const TFormula &  formula)
inline

Definition at line 125 of file egammaLayerRecalibTool.h.

125 : m_formula(formula) { };

Member Function Documentation

◆ clone()

virtual GetAmountFormula* GetAmountFormula::clone ( ) const
inlinevirtual

Implements GetAmountBase.

Definition at line 126 of file egammaLayerRecalibTool.h.

126 { return new GetAmountFormula(*this); };

◆ operator()()

float GetAmountFormula::operator() ( const StdCalibrationInputs input) const
virtual

Implements GetAmountBase.

Definition at line 93 of file egammaLayerRecalibTool.cxx.

93  {
94  return m_formula.Eval(input.eta, input.phi, input.RunNumber);
95 }

Member Data Documentation

◆ m_formula

TFormula GetAmountFormula::m_formula
protected

Definition at line 129 of file egammaLayerRecalibTool.h.


The documentation for this struct was generated from the following files:
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
GetAmountFormula::GetAmountFormula
GetAmountFormula(const TFormula &formula)
Definition: egammaLayerRecalibTool.h:125
GetAmountFormula::m_formula
TFormula m_formula
Definition: egammaLayerRecalibTool.h:129