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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DErrorDown:
Collaboration diagram for GetAmountHisto1DErrorDown:

Public Member Functions

 GetAmountHisto1DErrorDown (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 177 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DErrorDown()

GetAmountHisto1DErrorDown::GetAmountHisto1DErrorDown ( const TH1 &  histo)
inline

Definition at line 179 of file egammaLayerRecalibTool.h.

179 : GetAmountHisto1D(histo) { };

Member Function Documentation

◆ clone()

virtual GetAmountHisto1D* GetAmountHisto1DErrorDown::clone ( ) const
inlinevirtual

Reimplemented from GetAmountHisto1D.

Definition at line 180 of file egammaLayerRecalibTool.h.

180 { return new GetAmountHisto1DErrorDown(*this); };

◆ operator()()

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

Reimplemented from GetAmountHisto1D.

Definition at line 79 of file egammaLayerRecalibTool.cxx.

79  {
80  const int bin = m_histo->FindFixBin(input.eta);
81  if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
82  return -m_histo->GetBinError(bin);
83 }

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
GetAmountHisto1D::GetAmountHisto1D
GetAmountHisto1D(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:136
GetAmountHisto1DErrorDown::GetAmountHisto1DErrorDown
GetAmountHisto1DErrorDown(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:179
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