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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DUp:
Collaboration diagram for GetAmountHisto1DUp:

Public Member Functions

 GetAmountHisto1DUp (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 153 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DUp()

GetAmountHisto1DUp::GetAmountHisto1DUp ( const TH1 &  histo)
inline

Definition at line 155 of file egammaLayerRecalibTool.h.

155 : GetAmountHisto1D(histo) { };

Member Function Documentation

◆ clone()

virtual GetAmountHisto1D* GetAmountHisto1DUp::clone ( ) const
inlinevirtual

Reimplemented from GetAmountHisto1D.

Definition at line 156 of file egammaLayerRecalibTool.h.

156 { return new GetAmountHisto1DUp(*this); };

◆ operator()()

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

Reimplemented from GetAmountHisto1D.

Definition at line 61 of file egammaLayerRecalibTool.cxx.

61  {
62  const int bin = m_histo->FindFixBin(input.eta);
63  if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
64  return m_histo->GetBinContent(bin) + m_histo->GetBinError(bin);
65 }

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
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415
GetAmountHisto1DUp::GetAmountHisto1DUp
GetAmountHisto1DUp(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:155
GetAmountHisto1D::m_histo
std::unique_ptr< TH1 > m_histo
Definition: egammaLayerRecalibTool.h:149