Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
A container of information describing a monitoring object.
More...
#include <ManagedMonitorToolBase.h>
|
typedef std::map< std::string, TH1 * > | HistMap_t |
| A mapping of histogram name to histogram object. More...
|
|
|
| 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. More...
|
|
StatusCode | deregObject (const std::string &objName) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
StatusCode | deregAll () |
| De-registers all TH1 objects from the THistSvc, but does NOT delete the objects. More...
|
|
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...
|
|
| MonGroup (const MonGroup &o) |
|
MonGroup & | operator= (const MonGroup &o) |
|
A container of information describing a monitoring object.
Definition at line 137 of file ManagedMonitorToolBase.h.
◆ HistMap_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 313 of file ManagedMonitorToolBase.cxx.
317 bool isSuccess(
true);
320 typedef HistMap_t::const_iterator MapIter_t;
321 MapIter_t mapEnd =
m_map.end();
322 for( MapIter_t
i =
m_map.begin();
i != mapEnd; ++
i ) {
324 if( !
sc.isSuccess() )
331 return StatusCode::SUCCESS;
334 return StatusCode::FAILURE;
◆ deregGraph()
StatusCode ManagedMonitorToolBase::MonGroup::deregGraph |
( |
TGraph * |
g | ) |
|
De-registers a TGraph from the THistSvc, but does NOT delete the object.
Definition at line 289 of file ManagedMonitorToolBase.cxx.
296 return StatusCode::FAILURE;
◆ deregHist()
StatusCode ManagedMonitorToolBase::MonGroup::deregHist |
( |
TH1 * |
h | ) |
|
De-registers a TH1 from the THistSvc, but does NOT delete the object.
Definition at line 275 of file ManagedMonitorToolBase.cxx.
279 std::string hName(
h->GetName() );
280 m_map.erase( hName );
284 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.
Definition at line 301 of file ManagedMonitorToolBase.cxx.
308 return StatusCode::FAILURE;
◆ getHist() [1/2]
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 205 of file ManagedMonitorToolBase.cxx.
212 return StatusCode::FAILURE;
◆ getHist() [2/2]
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 217 of file ManagedMonitorToolBase.cxx.
224 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 |
◆ 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 228 of file ManagedMonitorToolBase.cxx.
232 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 237 of file ManagedMonitorToolBase.cxx.
244 return StatusCode::FAILURE;
◆ regHist()
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 191 of file ManagedMonitorToolBase.cxx.
195 std::string hName(
h->GetName() );
196 HistMap_t::value_type valToInsert( hName,
h );
197 m_map.insert( valToInsert );
201 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 249 of file ManagedMonitorToolBase.cxx.
256 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 261 of file ManagedMonitorToolBase.cxx.
265 std::string hName(
h->GetName() );
266 m_map.erase( hName );
270 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_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.