#include <ManagedMonitorToolBase.h>
|
static void | parseString (const std::string &streamName, std::string &root, std::string &rem) |
| A helper non-virtual function, parses id string. More...
|
|
Definition at line 752 of file ManagedMonitorToolBase.h.
◆ OfflineStream() [1/2]
◆ ~OfflineStream()
virtual ManagedMonitorToolBase::OfflineStream::~OfflineStream |
( |
| ) |
|
|
inlinevirtual |
◆ OfflineStream() [2/2]
ManagedMonitorToolBase::OfflineStream::OfflineStream |
( |
| ) |
|
|
inlineprivate |
◆ getDirectoryName()
◆ getLBrange()
void ManagedMonitorToolBase::OfflineStream::getLBrange |
( |
int * |
start, |
|
|
int * |
end, |
|
|
int |
LB, |
|
|
int |
length |
|
) |
| |
|
private |
◆ getStreamName()
A function that converts a MonGroup of logical parameters into a physical output stream name.
Implements ManagedMonitorToolBase::StreamNameFcn.
Definition at line 1984 of file ManagedMonitorToolBase.cxx.
1990 bool isTemp =
false;
1992 bool useRunFolders =
group.interval() !=
all;
1994 bool useLBFolders = ( useRunFolders )
1997 bool useLowStatInterval = ( useRunFolders )
2000 bool useMedStatInterval = ( useRunFolders )
2003 bool useHigStatInterval = ( useRunFolders )
2012 if( useRunFolders ) {
2020 if( useLBFolders ) {
2026 else if( useLowStatInterval ) {
2034 else if( useMedStatInterval ) {
2039 else if( useHigStatInterval ) {
2044 else if( useEBFolders ) {
2049 long eventsBlockNumber = 1;
2050 long procNEventsProp =
tool->get_procNEventsProp();
2052 if (procNEventsProp > 0) {
2053 eventsBlockNumber = (long)
nEvents / procNEventsProp;
2054 if ((
nEvents % procNEventsProp) != 0)
2055 eventsBlockNumber++;
2059 if (usePreviousInterval) {
2060 eventsBlockNumber--;
2063 streamName <<
"eb_" << eventsBlockNumber <<
"/";
◆ parseString()
void ManagedMonitorToolBase::StreamNameFcn::parseString |
( |
const std::string & |
streamName, |
|
|
std::string & |
root, |
|
|
std::string & |
rem |
|
) |
| |
|
staticinherited |
A helper non-virtual function, parses id string.
String format: id = /root/rem The method is needed to separate root stream from the directory in a file. E.g. typical streamName is /TestMon/run_211670/lb_360/spacepointVsEvent_managed
- TestMon is the stream from configuration file (svcMgr.THistSvc.Output += ["TestMon DATAFILE='TestMon.root' OPT='RECREATE'"])
- run_211670/lb_360/ - directory path
- spacepointVsEvent_managed - object name
in this case, root = TestMon rem = run_211670/lb_360/spacepointVsEvent_managed
Definition at line 2183 of file ManagedMonitorToolBase.cxx.
2187 if (
pos == std::string::npos) {
◆ updateRunLB()
void ManagedMonitorToolBase::OfflineStream::updateRunLB |
( |
| ) |
|
◆ m_ebNames
std::set<std::string> ManagedMonitorToolBase::OfflineStream::m_ebNames |
|
private |
◆ m_fileKey
const std::string ManagedMonitorToolBase::OfflineStream::m_fileKey |
|
private |
◆ m_prev_lumi_block
uint32_t ManagedMonitorToolBase::OfflineStream::m_prev_lumi_block |
|
private |
◆ m_prev_run_number
uint32_t ManagedMonitorToolBase::OfflineStream::m_prev_run_number |
|
private |
The documentation for this class was generated from the following files: