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 124 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountFormula()

GetAmountFormula::GetAmountFormula ( const TFormula &  formula)
inline

Definition at line 126 of file egammaLayerRecalibTool.h.

126 : m_formula(formula) { };

Member Function Documentation

◆ clone()

virtual GetAmountFormula* GetAmountFormula::clone ( ) const
inlinevirtual

Implements GetAmountBase.

Definition at line 127 of file egammaLayerRecalibTool.h.

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

◆ operator()()

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

Implements GetAmountBase.

Definition at line 101 of file egammaLayerRecalibTool.cxx.

101  {
102  return m_formula.Eval(input.eta, input.phi, input.RunNumber);
103 }

Member Data Documentation

◆ m_formula

TFormula GetAmountFormula::m_formula
protected

Definition at line 130 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:126
GetAmountFormula::m_formula
TFormula m_formula
Definition: egammaLayerRecalibTool.h:130