ATLAS Offline Software
Loading...
Searching...
No Matches
GetAmountHisto1DErrorUp Struct Reference

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DErrorUp:
Collaboration diagram for GetAmountHisto1DErrorUp:

Public Member Functions

 GetAmountHisto1DErrorUp (const TH1 &histo)
virtual float operator() (const StdCalibrationInputs &input) const

Protected Attributes

std::unique_ptr< TH1 > m_histo

Detailed Description

Definition at line 150 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DErrorUp()

GetAmountHisto1DErrorUp::GetAmountHisto1DErrorUp ( const TH1 & histo)
inline

Definition at line 152 of file egammaLayerRecalibTool.h.

152: GetAmountHisto1D(histo) { };
GetAmountHisto1D(const TH1 &histo)

Member Function Documentation

◆ operator()()

float GetAmountHisto1DErrorUp::operator() ( const StdCalibrationInputs & input) const
virtual

Reimplemented from GetAmountHisto1D.

Definition at line 71 of file egammaLayerRecalibTool.cxx.

71 {
72 const int bin = m_histo->FindFixBin(input.eta);
73 if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
74 return m_histo->GetBinError(bin);
75}
std::unique_ptr< TH1 > m_histo

Member Data Documentation

◆ m_histo

std::unique_ptr<TH1> GetAmountHisto1D::m_histo
protectedinherited

Definition at line 132 of file egammaLayerRecalibTool.h.


The documentation for this struct was generated from the following files: