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

#include <StandaloneL1TopoHistSvc.h>

Inheritance diagram for StandaloneL1TopoHistSvc:
Collaboration diagram for StandaloneL1TopoHistSvc:

Classes

class  StandaloneL1TopoHistSvcImpl
 

Public Member Functions

 StandaloneL1TopoHistSvc ()
 
virtual ~StandaloneL1TopoHistSvc ()
 
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< StandaloneL1TopoHistSvcImplm_impl
 

Detailed Description

Definition at line 11 of file StandaloneL1TopoHistSvc.h.

Constructor & Destructor Documentation

◆ StandaloneL1TopoHistSvc()

StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvc ( )

Definition at line 166 of file StandaloneL1TopoHistSvc.cxx.

◆ ~StandaloneL1TopoHistSvc()

StandaloneL1TopoHistSvc::~StandaloneL1TopoHistSvc ( )
virtual

Definition at line 170 of file StandaloneL1TopoHistSvc.cxx.

171 {}

Member Function Documentation

◆ fillHist1D()

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

Implements IL1TopoHistSvc.

Definition at line 193 of file StandaloneL1TopoHistSvc.cxx.

193  {
194  m_impl->fillHist1D(histName,x);
195 }

◆ fillHist2D()

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

Implements IL1TopoHistSvc.

Definition at line 197 of file StandaloneL1TopoHistSvc.cxx.

197  {
198  m_impl->fillHist2D(histName,x,y);
199 }

◆ findHist()

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

Implements IL1TopoHistSvc.

Definition at line 188 of file StandaloneL1TopoHistSvc.cxx.

188  {
189  //cout << "Called StandaloneL1TopoHistSvc::findHist(" << histName << ")" << endl;
190  return m_impl->findHist(histName);
191 }

◆ registerHist() [1/2]

void StandaloneL1TopoHistSvc::registerHist ( TH1 *  h)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 176 of file StandaloneL1TopoHistSvc.cxx.

176  {
177  //cout << "Called StandaloneL1TopoHistSvc::registerHist(" << h->GetName() << ")" << endl;
178  m_impl->registerHist(h);
179 }

◆ registerHist() [2/2]

void StandaloneL1TopoHistSvc::registerHist ( TH2 *  h)
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 182 of file StandaloneL1TopoHistSvc.cxx.

182  {
183  //cout << "Called StandaloneL1TopoHistSvc::registerHist(" << h->GetName() << ")" << endl;
184  m_impl->registerHist(h);
185 }

◆ save()

void StandaloneL1TopoHistSvc::save ( )
overridevirtual

Implements IL1TopoHistSvc.

Definition at line 208 of file StandaloneL1TopoHistSvc.cxx.

208  {
209  m_impl->save();
210 }

◆ setBaseDir()

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

Implements IL1TopoHistSvc.

Definition at line 202 of file StandaloneL1TopoHistSvc.cxx.

202  {
203  m_impl->setBaseDir(baseDir);
204 }

Member Data Documentation

◆ m_impl

std::unique_ptr<StandaloneL1TopoHistSvcImpl> StandaloneL1TopoHistSvc::m_impl
private

Definition at line 34 of file StandaloneL1TopoHistSvc.h.


The documentation for this class was generated from the following files:
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
x
#define x
StandaloneL1TopoHistSvc::m_impl
std::unique_ptr< StandaloneL1TopoHistSvcImpl > m_impl
Definition: StandaloneL1TopoHistSvc.h:33
StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl
Definition: StandaloneL1TopoHistSvc.cxx:16
y
#define y
h