ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
dqi::HanHistogramLink Class Reference

#include <HanUtils.h>

Inheritance diagram for dqi::HanHistogramLink:
Collaboration diagram for dqi::HanHistogramLink:

Public Member Functions

 HanHistogramLink (TDirectory *dir, const std::string &path)
 
TObject * getObject ()
 

Private Attributes

TDirectory * m_dir
 
std::string m_path
 

Detailed Description

Definition at line 20 of file HanUtils.h.

Constructor & Destructor Documentation

◆ HanHistogramLink()

dqi::HanHistogramLink::HanHistogramLink ( TDirectory *  dir,
const std::string &  path 
)

Definition at line 120 of file HanUtils.cxx.

122  : m_dir(dir)
123  , m_path(path)
124 {}

Member Function Documentation

◆ getObject()

TObject * dqi::HanHistogramLink::getObject ( )

Definition at line 126 of file HanUtils.cxx.

128 {
129  //std::cout << "Getting " << m_dir->GetPath() << " " << m_path << std::endl;
130  return m_dir->Get(m_path.c_str());
131  /* std::unique_ptr<TKey> key(getObjKey(m_dir, m_path));
132  if (key.get() == 0) return 0;
133  TObject* rv = key->ReadObj();
134  if (TH1* hptr = dynamic_cast<TH1*>(rv)) { hptr->SetDirectory(0); }
135  return rv; */
136 }

Member Data Documentation

◆ m_dir

TDirectory* dqi::HanHistogramLink::m_dir
private

Definition at line 25 of file HanUtils.h.

◆ m_path

std::string dqi::HanHistogramLink::m_path
private

Definition at line 26 of file HanUtils.h.


The documentation for this class was generated from the following files:
athena.path
path
python interpreter configuration --------------------------------------—
Definition: athena.py:126
beamspotman.dir
string dir
Definition: beamspotman.py:623