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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto1DDown:
Collaboration diagram for GetAmountHisto1DDown:

Public Member Functions

 GetAmountHisto1DDown (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 161 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto1DDown()

GetAmountHisto1DDown::GetAmountHisto1DDown ( const TH1 &  histo)
inline

Definition at line 163 of file egammaLayerRecalibTool.h.

163 : GetAmountHisto1D(histo) { };

Member Function Documentation

◆ clone()

virtual GetAmountHisto1D* GetAmountHisto1DDown::clone ( ) const
inlinevirtual

Reimplemented from GetAmountHisto1D.

Definition at line 164 of file egammaLayerRecalibTool.h.

164 { return new GetAmountHisto1DDown(*this); };

◆ operator()()

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

Reimplemented from GetAmountHisto1D.

Definition at line 67 of file egammaLayerRecalibTool.cxx.

67  {
68  const int bin = m_histo->FindFixBin(input.eta);
69  if (m_histo->IsBinUnderflow(bin) or m_histo->IsBinOverflow(bin)) return VALUE_OVERFLOW;
70  return m_histo->GetBinContent(bin) - m_histo->GetBinError(bin);
71 }

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
GetAmountHisto1DDown::GetAmountHisto1DDown
GetAmountHisto1DDown(const TH1 &histo)
Definition: egammaLayerRecalibTool.h:163
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