![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
A container of information describing a monitoring object.
More...
#include <ManagedMonitorToolBase.h>
|
| MonGroup (ManagedMonitorToolBase *tool, const std::string &system, Interval_t interval) |
|
| MonGroup (ManagedMonitorToolBase *tool, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt) |
|
| MonGroup (ManagedMonitorToolBase *tool, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt, const std::string &chain) |
|
| MonGroup (ManagedMonitorToolBase *tool, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt, const std::string &chain, const std::string &merge) |
|
StatusCode | regHist (TH1 *h) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
StatusCode | getHist (TH1 *&h, const std::string &hName) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
StatusCode | getHist (TH2 *&h, const std::string &hName) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
StatusCode | regEfficiency (TEfficiency *e) |
| Registers a TEfficiency to be included in the output stream. More...
|
|
StatusCode | regGraph (TGraph *g) |
| Registers a TGraph to be included in the output stream using logical parameters that describe the histogram. More...
|
|
StatusCode | regTree (TTree *t) |
| Registers a TTree to be included in the output stream using logical parameters that describe the histogram. More...
|
|
StatusCode | writeAndDelete (TH1 *h) |
| Write and delete a histogram. More...
|
|
StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object (also works for LWHists). More...
|
|
StatusCode | deregObject (const std::string &objName) |
| De-registers a TObject from the THistSvc, but does NOT delete the object (also works for LWHists). More...
|
|
StatusCode | deregAll () |
| De-registers all TH1 objects from the THistSvc, but does NOT delete the objects. More...
|
|
StatusCode | regHist (LWHist *h) |
| Support for lightweight histograms (NB: The various deReg methods also work, but of course will just prevent the LWHist's from being dereg'ed later). More...
|
|
StatusCode | getHist (LWHist *&h, const std::string &hName) |
|
StatusCode | deregHist (LWHist *h) |
|
const std::string & | system () const |
|
Interval_t | interval () const |
|
MgmtAttr_t | histo_mgmt () const |
|
const std::string & | chain () const |
|
const std::string & | merge () const |
|
HistMap_t & | map () |
| A map containing all histograms registered with this MonGroup. More...
|
|
HistMapLW_t & | mapLW () |
|
| MonGroup (const MonGroup &o) |
|
MonGroup & | operator= (const MonGroup &o) |
|
A container of information describing a monitoring object.
Definition at line 138 of file ManagedMonitorToolBase.h.
◆ HistMap_t
◆ HistMapLW_t
◆ MonGroup() [1/6]
◆ MonGroup() [2/6]
◆ MonGroup() [3/6]
◆ MonGroup() [4/6]
◆ MonGroup() [5/6]
◆ MonGroup() [6/6]
ManagedMonitorToolBase::MonGroup::MonGroup |
( |
| ) |
|
|
inlineprivate |
◆ badusage()
void ManagedMonitorToolBase::MonGroup::badusage |
( |
| ) |
|
|
staticprivate |
◆ chain()
const std::string& ManagedMonitorToolBase::MonGroup::chain |
( |
| ) |
const |
|
inline |
◆ deregAll()
StatusCode ManagedMonitorToolBase::MonGroup::deregAll |
( |
| ) |
|
De-registers all TH1 objects from the THistSvc, but does NOT delete the objects.
Definition at line 354 of file ManagedMonitorToolBase.cxx.
358 bool isSuccess(
true);
361 typedef HistMap_t::const_iterator MapIter_t;
362 MapIter_t mapEnd =
m_map.end();
363 for( MapIter_t
i =
m_map.begin();
i != mapEnd; ++
i ) {
365 if( !
sc.isSuccess() )
369 typedef HistMapLW_t::const_iterator MapIterLW_t;
370 MapIterLW_t mapEndLW =
m_mapLW.end();
371 for( MapIterLW_t
i =
m_mapLW.begin();
i != mapEndLW; ++
i ) {
373 if( !
sc.isSuccess() )
381 return StatusCode::SUCCESS;
384 return StatusCode::FAILURE;
◆ deregGraph()
StatusCode ManagedMonitorToolBase::MonGroup::deregGraph |
( |
TGraph * |
g | ) |
|
De-registers a TGraph from the THistSvc, but does NOT delete the object (also works for LWHists).
Definition at line 330 of file ManagedMonitorToolBase.cxx.
337 return StatusCode::FAILURE;
◆ deregHist() [1/2]
StatusCode ManagedMonitorToolBase::MonGroup::deregHist |
( |
LWHist * |
h | ) |
|
◆ deregHist() [2/2]
StatusCode ManagedMonitorToolBase::MonGroup::deregHist |
( |
TH1 * |
h | ) |
|
De-registers a TH1 from the THistSvc, but does NOT delete the object.
Definition at line 304 of file ManagedMonitorToolBase.cxx.
308 std::string hName(
h->GetName() );
309 m_map.erase( hName );
313 return StatusCode::FAILURE;
◆ deregObject()
StatusCode ManagedMonitorToolBase::MonGroup::deregObject |
( |
const std::string & |
objName | ) |
|
De-registers a TObject from the THistSvc, but does NOT delete the object (also works for LWHists).
Definition at line 342 of file ManagedMonitorToolBase.cxx.
349 return StatusCode::FAILURE;
◆ getHist() [1/3]
StatusCode ManagedMonitorToolBase::MonGroup::getHist |
( |
LWHist *& |
h, |
|
|
const std::string & |
hName |
|
) |
| |
◆ getHist() [2/3]
StatusCode ManagedMonitorToolBase::MonGroup::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName |
|
) |
| |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 208 of file ManagedMonitorToolBase.cxx.
215 return StatusCode::FAILURE;
◆ getHist() [3/3]
StatusCode ManagedMonitorToolBase::MonGroup::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName |
|
) |
| |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 246 of file ManagedMonitorToolBase.cxx.
253 return StatusCode::FAILURE;
◆ histo_mgmt()
MgmtAttr_t ManagedMonitorToolBase::MonGroup::histo_mgmt |
( |
| ) |
const |
|
inline |
◆ interval()
Interval_t ManagedMonitorToolBase::MonGroup::interval |
( |
| ) |
const |
|
inline |
◆ map()
HistMap_t& ManagedMonitorToolBase::MonGroup::map |
( |
| ) |
|
|
inline |
A map containing all histograms registered with this MonGroup.
NB: Does not return LWHists (support for this could be added).
Definition at line 289 of file ManagedMonitorToolBase.h.
◆ mapLW()
HistMapLW_t& ManagedMonitorToolBase::MonGroup::mapLW |
( |
| ) |
|
|
inline |
◆ merge()
const std::string& ManagedMonitorToolBase::MonGroup::merge |
( |
| ) |
const |
|
inline |
◆ ncopies()
unsigned ManagedMonitorToolBase::MonGroup::ncopies |
( |
| ) |
|
|
static |
◆ operator=()
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::MonGroup::regEfficiency |
( |
TEfficiency * |
e | ) |
|
Registers a TEfficiency to be included in the output stream.
Definition at line 257 of file ManagedMonitorToolBase.cxx.
261 return StatusCode::FAILURE;
◆ regGraph()
StatusCode ManagedMonitorToolBase::MonGroup::regGraph |
( |
TGraph * |
g | ) |
|
Registers a TGraph to be included in the output stream using logical parameters that describe the histogram.
The optional 'dqmAlgorithm' parameter may be used to specify an algorithm to automatically check the histogram after it has been filled.
Definition at line 266 of file ManagedMonitorToolBase.cxx.
273 return StatusCode::FAILURE;
◆ regHist() [1/2]
StatusCode ManagedMonitorToolBase::MonGroup::regHist |
( |
LWHist * |
h | ) |
|
Support for lightweight histograms (NB: The various deReg methods also work, but of course will just prevent the LWHist's from being dereg'ed later).
Definition at line 221 of file ManagedMonitorToolBase.cxx.
225 std::string hName(
h->GetName() );
226 HistMapLW_t::value_type valToInsert( hName,
h );
231 return StatusCode::FAILURE;
◆ regHist() [2/2]
StatusCode ManagedMonitorToolBase::MonGroup::regHist |
( |
TH1 * |
h | ) |
|
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
The optional 'dqmAlgorithm' parameter may be used to specify an algorithm to automatically check the histogram after it has been filled.
Definition at line 194 of file ManagedMonitorToolBase.cxx.
198 std::string hName(
h->GetName() );
199 HistMap_t::value_type valToInsert( hName,
h );
200 m_map.insert( valToInsert );
204 return StatusCode::FAILURE;
◆ regTree()
StatusCode ManagedMonitorToolBase::MonGroup::regTree |
( |
TTree * |
t | ) |
|
Registers a TTree to be included in the output stream using logical parameters that describe the histogram.
Definition at line 278 of file ManagedMonitorToolBase.cxx.
285 return StatusCode::FAILURE;
◆ system()
const std::string& ManagedMonitorToolBase::MonGroup::system |
( |
| ) |
const |
|
inline |
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::MonGroup::writeAndDelete |
( |
TH1 * |
h | ) |
|
Write and delete a histogram.
Definition at line 290 of file ManagedMonitorToolBase.cxx.
294 std::string hName(
h->GetName() );
295 m_map.erase( hName );
299 return StatusCode::FAILURE;
◆ m_chain
std::string ManagedMonitorToolBase::MonGroup::m_chain |
|
private |
◆ m_histo_mgmt
MgmtAttr_t ManagedMonitorToolBase::MonGroup::m_histo_mgmt |
|
private |
◆ m_interval
Interval_t ManagedMonitorToolBase::MonGroup::m_interval |
|
private |
◆ m_map
HistMap_t ManagedMonitorToolBase::MonGroup::m_map |
|
private |
◆ m_mapLW
◆ m_merge
std::string ManagedMonitorToolBase::MonGroup::m_merge |
|
private |
◆ m_system
std::string ManagedMonitorToolBase::MonGroup::m_system |
|
private |
◆ m_tool
The documentation for this class was generated from the following files:
::StatusCode StatusCode
StatusCode definition for legacy code.