|
Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/fun4all/Fun4AllHistoManager.h>
Inheritance diagram for Fun4AllHistoManager:
Collaboration diagram for Fun4AllHistoManager:Public Member Functions | |
| Fun4AllHistoManager (const std::string &name) | |
| virtual | ~Fun4AllHistoManager () |
| void | Print (const std::string &what="ALL") const |
| bool | registerHisto (const std::string &hname, TNamed *h1d, const int replace=0) |
| bool | registerHisto (TNamed *h1d, const int replace=0) |
| template<typename T > | |
| T * | makeHisto (T *t) |
| int | isHistoRegistered (const std::string &name) const |
| TNamed * | getHisto (const std::string &hname) const |
| TNamed * | getHisto (const unsigned int ihisto) const |
| const char * | getHistoName (const unsigned int ihisto) const |
| unsigned int | nHistos () const |
| void | Reset () |
| int | dumpHistos (const std::string &filename="", const std::string &openmode="RECREATE") |
| void | setOutfileName (const std::string &filename) |
Public Member Functions inherited from Fun4AllBase | |
| virtual | ~Fun4AllBase () |
| virtual const std::string | Name () const |
| Returns the name of this module. More... | |
| virtual void | Name (const std::string &name) |
| Sets the name of this module. More... | |
| virtual void | Verbosity (const int ival) |
| Sets the verbosity of this module (0 by default=quiet). More... | |
| virtual void | Verbosity (enu_Verbosity ival) |
| Sets the verbosity of this module (0 by default=quiet). More... | |
| virtual int | Verbosity () const |
| Gets the verbosity of this module. More... | |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
| enum | enu_Verbosity { VERBOSITY_QUIET = 0 , VERBOSITY_SOME = 1 , VERBOSITY_MORE = 2 , VERBOSITY_EVEN_MORE = 3 , VERBOSITY_A_LOT = 4 , VERBOSITY_MAX = INT_MAX - 10 } |
Protected Member Functions inherited from Fun4AllBase | |
| Fun4AllBase (const std::string &name="NONAME") | |
Protected Attributes inherited from Fun4AllBase | |
| std::string | ThisName |
| int | verbosity |
| The verbosity level. 0 means not verbose at all. More... | |
Definition at line 11 of file Fun4AllHistoManager.h.
| Fun4AllHistoManager::Fun4AllHistoManager | ( | const std::string & | name | ) |
Definition at line 25 of file Fun4AllHistoManager.cc.
|
virtual |
Definition at line 30 of file Fun4AllHistoManager.cc.
| int Fun4AllHistoManager::dumpHistos | ( | const std::string & | filename = "", |
| const std::string & | openmode = "RECREATE" |
||
| ) |
Definition at line 41 of file Fun4AllHistoManager.cc.
References PHFlag::FlagExist(), PHFlag::get_IntFlag(), recoConsts::instance(), TDirectoryHelper::mkdir(), Fun4AllBase::Name(), PHWHERE, and Fun4AllBase::verbosity.
Here is the call graph for this function:| TNamed * Fun4AllHistoManager::getHisto | ( | const std::string & | hname | ) | const |
Definition at line 248 of file Fun4AllHistoManager.cc.
Referenced by Fun4AllServer::getHisto().
Here is the call graph for this function:
Here is the caller graph for this function:| TNamed * Fun4AllHistoManager::getHisto | ( | const unsigned int | ihisto | ) | const |
Definition at line 198 of file Fun4AllHistoManager.cc.
References NULL, and Fun4AllBase::Verbosity().
Here is the call graph for this function:| const char * Fun4AllHistoManager::getHistoName | ( | const unsigned int | ihisto | ) | const |
Definition at line 223 of file Fun4AllHistoManager.cc.
References NULL, and Fun4AllBase::verbosity.
Referenced by Fun4AllServer::getHistoName().
Here is the caller graph for this function:| int Fun4AllHistoManager::isHistoRegistered | ( | const std::string & | name | ) | const |
Definition at line 186 of file Fun4AllHistoManager.cc.
Referenced by Fun4AllServer::isHistoRegistered().
Here is the caller graph for this function:
|
inline |
Definition at line 20 of file Fun4AllHistoManager.h.
References NULL, and registerHisto().
Referenced by Fun4AllServer::makeHisto().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 31 of file Fun4AllHistoManager.h.
|
virtual |
Print out some info about this module.
| what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Definition at line 264 of file Fun4AllHistoManager.cc.
References Fun4AllBase::Name().
Referenced by getHisto(), and Fun4AllServer::Print().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Fun4AllHistoManager::registerHisto | ( | const std::string & | hname, |
| TNamed * | h1d, | ||
| const int | replace = 0 |
||
| ) |
Definition at line 150 of file Fun4AllHistoManager.cc.
References PHWHERE, and Fun4AllBase::verbosity.
Referenced by makeHisto(), registerHisto(), and Fun4AllServer::registerHisto().
Here is the caller graph for this function:| bool Fun4AllHistoManager::registerHisto | ( | TNamed * | h1d, |
| const int | replace = 0 |
||
| ) |
Definition at line 144 of file Fun4AllHistoManager.cc.
References registerHisto().
Here is the call graph for this function:| void Fun4AllHistoManager::Reset | ( | ) |
Definition at line 284 of file Fun4AllHistoManager.cc.
|
inline |
Definition at line 34 of file Fun4AllHistoManager.h.
Referenced by Fun4AllServer::dumpHistos().
Here is the caller graph for this function: