ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | List of all members
AthenaL1TopoHistSvc Class Reference

#include <AthenaL1TopoHistSvc.h>

Inheritance diagram for AthenaL1TopoHistSvc:
Collaboration diagram for AthenaL1TopoHistSvc:

Classes

class  AthenaL1TopoHistSvcImpl
 

Public Member Functions

 AthenaL1TopoHistSvc (ServiceHandle< ITHistSvc > histSvc)
 
virtual ~AthenaL1TopoHistSvc ()
 
virtual void registerHist (TH1 *h) override
 
virtual void registerHist (TH2 *h) override
 
virtual TH1 * findHist (const std::string &histName) override
 
virtual void fillHist1D (const std::string &histName, double x) override
 
virtual void fillHist2D (const std::string &histName, double x, double y) override
 
virtual void setBaseDir (const std::string &baseDir) override
 
virtual void save () override
 

Private Attributes

std::unique_ptr< AthenaL1TopoHistSvcImplm_impl
 

Detailed Description

Definition at line 16 of file AthenaL1TopoHistSvc.h.

Constructor & Destructor Documentation

◆ AthenaL1TopoHistSvc()

AthenaL1TopoHistSvc::AthenaL1TopoHistSvc ( ServiceHandle< ITHistSvc >  histSvc)

Definition at line 129 of file AthenaL1TopoHistSvc.cxx.

◆ ~AthenaL1TopoHistSvc()

AthenaL1TopoHistSvc::~AthenaL1TopoHistSvc ( )
virtual

Definition at line 133 of file AthenaL1TopoHistSvc.cxx.

134 {}

Member Function Documentation

◆ fillHist1D()

void AthenaL1TopoHistSvc::fillHist1D ( const std::string &  histName,
double  x 
)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 152 of file AthenaL1TopoHistSvc.cxx.

152  {
153  m_impl->fillHist1D(histName,x);
154 }

◆ fillHist2D()

void AthenaL1TopoHistSvc::fillHist2D ( const std::string &  histName,
double  x,
double  y 
)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 157 of file AthenaL1TopoHistSvc.cxx.

157  {
158  m_impl->fillHist2D(histName,x,y);
159 }

◆ findHist()

TH1 * AthenaL1TopoHistSvc::findHist ( const std::string &  histName)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 147 of file AthenaL1TopoHistSvc.cxx.

147  {
148  return m_impl->findHist( histName );
149 }

◆ registerHist() [1/2]

void AthenaL1TopoHistSvc::registerHist ( TH1 *  h)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 137 of file AthenaL1TopoHistSvc.cxx.

137  {
138  m_impl->registerHist(h);
139 }

◆ registerHist() [2/2]

void AthenaL1TopoHistSvc::registerHist ( TH2 *  h)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 142 of file AthenaL1TopoHistSvc.cxx.

142  {
143  m_impl->registerHist(h);
144 }

◆ save()

void AthenaL1TopoHistSvc::save ( )
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 167 of file AthenaL1TopoHistSvc.cxx.

167  {
168  // not implemented
169 }

◆ setBaseDir()

void AthenaL1TopoHistSvc::setBaseDir ( const std::string &  baseDir)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 162 of file AthenaL1TopoHistSvc.cxx.

162  {
163  m_impl->setBaseDir( baseDir );
164 }

Member Data Documentation

◆ m_impl

std::unique_ptr<AthenaL1TopoHistSvcImpl> AthenaL1TopoHistSvc::m_impl
private

Definition at line 38 of file AthenaL1TopoHistSvc.h.


The documentation for this class was generated from the following files:
AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl
Definition: AthenaL1TopoHistSvc.cxx:24
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
x
#define x
h
MuonSegmentReaderConfig.histSvc
histSvc
Definition: MuonSegmentReaderConfig.py:96
y
#define y
AthenaL1TopoHistSvc::m_impl
std::unique_ptr< AthenaL1TopoHistSvcImpl > m_impl
Definition: AthenaL1TopoHistSvc.h:37