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

#include <egammaLayerRecalibTool.h>

Inheritance diagram for GetAmountHisto2DEtaCaloRunNumber:
Collaboration diagram for GetAmountHisto2DEtaCaloRunNumber:

Public Member Functions

 GetAmountHisto2DEtaCaloRunNumber (const TH2F &histo)
 
virtual GetAmountHisto2DEtaCaloRunNumberclone () const
 
virtual float operator() (const StdCalibrationInputs &input) const
 

Protected Attributes

TH2F m_histo
 

Detailed Description

Definition at line 195 of file egammaLayerRecalibTool.h.

Constructor & Destructor Documentation

◆ GetAmountHisto2DEtaCaloRunNumber()

GetAmountHisto2DEtaCaloRunNumber::GetAmountHisto2DEtaCaloRunNumber ( const TH2F &  histo)
inline

Definition at line 197 of file egammaLayerRecalibTool.h.

197 : m_histo(histo) { m_histo.SetDirectory(0); };

Member Function Documentation

◆ clone()

virtual GetAmountHisto2DEtaCaloRunNumber* GetAmountHisto2DEtaCaloRunNumber::clone ( ) const
inlinevirtual

Implements GetAmountBase.

Definition at line 198 of file egammaLayerRecalibTool.h.

198 { return new GetAmountHisto2DEtaCaloRunNumber(*this); };

◆ operator()()

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

Implements GetAmountBase.

Definition at line 91 of file egammaLayerRecalibTool.cxx.

91  {
92  const int bin = m_histo.FindFixBin(input.etaCalo, input.RunNumber);
93  if (m_histo.IsBinUnderflow(bin) or m_histo.IsBinOverflow(bin)) return VALUE_OVERFLOW;
94  return m_histo.GetBinContent(bin);
95 }

Member Data Documentation

◆ m_histo

TH2F GetAmountHisto2DEtaCaloRunNumber::m_histo
protected

Definition at line 201 of file egammaLayerRecalibTool.h.


The documentation for this struct was generated from the following files:
bin
Definition: BinsDiffFromStripMedian.h:43
GetAmountHisto2DEtaCaloRunNumber::GetAmountHisto2DEtaCaloRunNumber
GetAmountHisto2DEtaCaloRunNumber(const TH2F &histo)
Definition: egammaLayerRecalibTool.h:197
GetAmountHisto2DEtaCaloRunNumber::m_histo
TH2F m_histo
Definition: egammaLayerRecalibTool.h:201
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415