#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 1986 of file ManagedMonitorToolBase.cxx.
1992 bool isTemp =
false;
1994 bool useRunFolders =
group.interval() !=
all;
1996 bool useLBFolders = ( useRunFolders )
1999 bool useLowStatInterval = ( useRunFolders )
2002 bool useMedStatInterval = ( useRunFolders )
2005 bool useHigStatInterval = ( useRunFolders )
2014 if( useRunFolders ) {
2022 if( useLBFolders ) {
2028 else if( useLowStatInterval ) {
2036 else if( useMedStatInterval ) {
2041 else if( useHigStatInterval ) {
2046 else if( useEBFolders ) {
2051 long eventsBlockNumber = 1;
2052 long procNEventsProp =
tool->get_procNEventsProp();
2054 if (procNEventsProp > 0) {
2055 eventsBlockNumber = (long)
nEvents / procNEventsProp;
2056 if ((
nEvents % procNEventsProp) != 0)
2057 eventsBlockNumber++;
2061 if (usePreviousInterval) {
2062 eventsBlockNumber--;
2065 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 2185 of file ManagedMonitorToolBase.cxx.
2189 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: