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 119 of file HanUtils.cxx.

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

Member Function Documentation

◆ getObject()

TObject * dqi::HanHistogramLink::getObject ( )

Definition at line 125 of file HanUtils.cxx.

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

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:128
beamspotman.dir
string dir
Definition: beamspotman.py:623