#include <HanInputRootFile.h>
Definition at line 19 of file HanInputRootFile.h.
◆ HanInputRootFile()
dqi::HanInputRootFile::HanInputRootFile |
( |
const std::string & |
rootFileName, |
|
|
const std::string & |
path = "" |
|
) |
| |
Definition at line 27 of file HanInputRootFile.cxx.
29 : dqm_core::InputRootFile::InputRootFile(rootFileName)
34 std::cout <<
"Using path \"" <<
path <<
"\" in input file\n";
35 std::string pathForSearch =
path;
36 pathForSearch +=
"/dummyName";
39 std::cerr <<
"Cannot find \"" <<
path <<
"\" in input file\n";
◆ ~HanInputRootFile()
dqi::HanInputRootFile::~HanInputRootFile |
( |
| ) |
|
◆ addListener() [1/3]
void dqi::HanInputRootFile::addListener |
( |
const boost::regex & |
regex, |
|
|
dqm_core::InputListener * |
listener |
|
) |
| |
|
overridevirtual |
Definition at line 55 of file HanInputRootFile.cxx.
64 for (std::vector<std::string>::const_iterator
str =
m_histNames.begin();
68 if (boost::regex_match(*
str,
regex)) {
71 if (
dynamic_cast<TH1*
>(temp) ||
dynamic_cast<TGraph*
>(temp) ||
dynamic_cast<TEfficiency*
>(temp) ) {
72 std::cout <<
"Regular expression " <<
regex <<
" matches " << *
str << std::endl;
78 std::cout <<
"Warning: Matching of regular expression " <<
regex <<
" failed: " << ex.what() << std::endl;
◆ addListener() [2/3]
void dqi::HanInputRootFile::addListener |
( |
const std::string & |
name, |
|
|
dqm_core::InputListener * |
listener |
|
) |
| |
|
overridevirtual |
◆ addListener() [3/3]
void dqi::HanInputRootFile::addListener |
( |
const std::vector< std::string > & |
names, |
|
|
dqm_core::InputListener * |
listener |
|
) |
| |
|
overridevirtual |
◆ file()
TFile* dqi::HanInputRootFile::file |
( |
| ) |
const |
|
inline |
◆ getBasedir() [1/2]
TDirectory* dqi::HanInputRootFile::getBasedir |
( |
| ) |
|
|
inline |
◆ getBasedir() [2/2]
const TDirectory* dqi::HanInputRootFile::getBasedir |
( |
| ) |
const |
|
inline |
◆ m_basedir
TDirectory* dqi::HanInputRootFile::m_basedir |
|
protected |
◆ m_histNames
std::vector<std::string> dqi::HanInputRootFile::m_histNames |
|
protected |
◆ m_histNamesBuilt
bool dqi::HanInputRootFile::m_histNamesBuilt |
|
protected |
The documentation for this class was generated from the following files: