#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 814 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 2216 of file ManagedMonitorToolBase.cxx.
2222 bool isTemp =
false;
2224 bool useRunFolders =
group.interval() !=
all;
2226 bool useLBFolders = ( useRunFolders )
2229 bool useLowStatInterval = ( useRunFolders )
2232 bool useMedStatInterval = ( useRunFolders )
2235 bool useHigStatInterval = ( useRunFolders )
2244 if( useRunFolders ) {
2252 if( useLBFolders ) {
2258 else if( useLowStatInterval ) {
2266 else if( useMedStatInterval ) {
2271 else if( useHigStatInterval ) {
2276 else if( useEBFolders ) {
2281 long eventsBlockNumber = 1;
2282 long procNEventsProp =
tool->get_procNEventsProp();
2284 if (procNEventsProp > 0) {
2285 eventsBlockNumber = (long)
nEvents / procNEventsProp;
2286 if ((
nEvents % procNEventsProp) != 0)
2287 eventsBlockNumber++;
2291 if (usePreviousInterval) {
2292 eventsBlockNumber--;
2295 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 2415 of file ManagedMonitorToolBase.cxx.
2419 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: