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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DDown:
Collaboration diagram for GetAmountHisto1DDown:

Public Member Functions

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

Protected Attributes

std::unique_ptr< TH1 > m_histo

Detailed Description

Definition at line 143 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DDown()

GetAmountHisto1DDown::GetAmountHisto1DDown ( const TH1 & histo)
inline

Definition at line 145 of file egammaLayerRecalibTool.h.

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

Member Function Documentation

◆ operator()()

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

Reimplemented from GetAmountHisto1D.

Definition at line 65 of file egammaLayerRecalibTool.cxx.

65 {
66 const int bin = m_histo->FindFixBin(input.eta);
67 if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
68 return m_histo->GetBinContent(bin) - m_histo->GetBinError(bin);
69}
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: