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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DUp:
Collaboration diagram for GetAmountHisto1DUp:

Public Member Functions

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

Protected Attributes

std::unique_ptr< TH1 > m_histo

Detailed Description

Definition at line 136 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DUp()

GetAmountHisto1DUp::GetAmountHisto1DUp ( const TH1 & histo)
inline

Definition at line 138 of file egammaLayerRecalibTool.h.

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

Member Function Documentation

◆ operator()()

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

Reimplemented from GetAmountHisto1D.

Definition at line 59 of file egammaLayerRecalibTool.cxx.

59 {
60 const int bin = m_histo->FindFixBin(input.eta);
61 if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
62 return m_histo->GetBinContent(bin) + m_histo->GetBinError(bin);
63}
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: