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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DErrorUp:
Collaboration diagram for GetAmountHisto1DErrorUp:

Public Member Functions

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

Protected Attributes

std::unique_ptr< TH1 > m_histo
 

Detailed Description

Definition at line 169 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DErrorUp()

GetAmountHisto1DErrorUp::GetAmountHisto1DErrorUp ( const TH1 &  histo)
inline

Definition at line 171 of file egammaLayerRecalibTool.h.

171 : GetAmountHisto1D(histo) { };

Member Function Documentation

◆ clone()

virtual GetAmountHisto1D* GetAmountHisto1DErrorUp::clone ( ) const
inlinevirtual

Reimplemented from GetAmountHisto1D.

Definition at line 172 of file egammaLayerRecalibTool.h.

172 { return new GetAmountHisto1DErrorUp(*this); };

◆ operator()()

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

Reimplemented from GetAmountHisto1D.

Definition at line 73 of file egammaLayerRecalibTool.cxx.

73  {
74  const int bin = m_histo->FindFixBin(input.eta);
75  if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
76  return m_histo->GetBinError(bin);
77 }

Member Data Documentation

◆ m_histo

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

Definition at line 149 of file egammaLayerRecalibTool.h.


The documentation for this struct was generated from the following files:
bin
Definition: BinsDiffFromStripMedian.h:43
GetAmountHisto1DErrorUp::GetAmountHisto1DErrorUp
GetAmountHisto1DErrorUp(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:171
GetAmountHisto1D::GetAmountHisto1D
GetAmountHisto1D(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:136
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415
GetAmountHisto1D::m_histo
std::unique_ptr< TH1 > m_histo
Definition: egammaLayerRecalibTool.h:149