Main Page
Namespaces
Classes
Package Documentation
FWCore
ServiceRegistry
interface
SystemBounds.h
Go to the documentation of this file.
1
#ifndef FWCore_ServiceRegistry_SystemBounds_h
2
#define FWCore_ServiceRegistry_SystemBounds_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/ServiceRegistry
6
// Class : SystemBounds
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Sun, 08 Sep 2013 16:16:25 GMT
19
//
20
21
// system include files
22
23
// user include files
24
25
// forward declarations
26
27
namespace
edm
{
28
namespace
service
{
29
class
SystemBounds
{
30
public
:
31
SystemBounds
(
unsigned
int
iNStreams,
unsigned
int
iNLumis,
unsigned
int
iNRuns,
unsigned
int
iNThreads)
32
:
m_nStreams
(iNStreams),
m_nLumis
(iNLumis),
m_nRuns
(iNRuns),
m_nThreads
(iNThreads) {}
33
34
// ---------- const member functions ---------------------
35
unsigned
int
maxNumberOfStreams
()
const
{
return
m_nStreams
; }
36
unsigned
int
maxNumberOfConcurrentRuns
()
const
{
return
m_nRuns
; }
37
unsigned
int
maxNumberOfConcurrentLuminosityBlocks
()
const
{
return
m_nLumis
; }
38
unsigned
int
maxNumberOfThreads
()
const
{
return
m_nThreads
; }
39
40
private
:
41
// ---------- member data --------------------------------
42
unsigned
int
m_nStreams
;
43
unsigned
int
m_nLumis
;
44
unsigned
int
m_nRuns
;
45
unsigned
int
m_nThreads
;
46
};
47
48
}
// namespace service
49
}
// namespace edm
50
51
#endif
edm::service::SystemBounds::maxNumberOfThreads
unsigned int maxNumberOfThreads() const
Definition:
SystemBounds.h:38
edm::service::SystemBounds::SystemBounds
SystemBounds(unsigned int iNStreams, unsigned int iNLumis, unsigned int iNRuns, unsigned int iNThreads)
Definition:
SystemBounds.h:31
edm::service::SystemBounds::m_nRuns
unsigned int m_nRuns
Definition:
SystemBounds.h:44
edm::service::SystemBounds
Definition:
SystemBounds.h:29
edm::service::SystemBounds::maxNumberOfStreams
unsigned int maxNumberOfStreams() const
Definition:
SystemBounds.h:35
edm::service::SystemBounds::m_nStreams
unsigned int m_nStreams
Definition:
SystemBounds.h:42
service
Definition:
service.py:1
edm::service::SystemBounds::m_nThreads
unsigned int m_nThreads
Definition:
SystemBounds.h:45
edm::service::SystemBounds::maxNumberOfConcurrentLuminosityBlocks
unsigned int maxNumberOfConcurrentLuminosityBlocks() const
Definition:
SystemBounds.h:37
edm::service::SystemBounds::m_nLumis
unsigned int m_nLumis
Definition:
SystemBounds.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::service::SystemBounds::maxNumberOfConcurrentRuns
unsigned int maxNumberOfConcurrentRuns() const
Definition:
SystemBounds.h:36
Generated for CMSSW Reference Manual by
1.8.11