Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Framework
interface
stream
Contexts.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_stream_Contexts_h
2
#define FWCore_Framework_stream_Contexts_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : Contexts
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Fri, 02 Aug 2013 18:19:39 GMT
19
//
20
21
// system include files
22
23
// user include files
24
25
// forward declarations
26
27
namespace
edm {
28
namespace
stream {
29
30
template
<
typename
R,
typename
G>
31
class
RunContextT
{
32
public
:
33
RunContextT
(
R
const
* iRun, G
const
* iGlobal):
m_run
(iRun),
m_global
(iGlobal) {}
34
R
const
*
run
()
const
{
return
m_run
;}
35
G
const
*
global
()
const
{
return
m_global
;}
36
37
private
:
38
R
const
*
m_run
;
39
G
const
*
m_global
;
40
};
41
42
template
<
typename
L,
typename
R,
typename
G>
43
class
LuminosityBlockContextT
{
44
public
:
45
LuminosityBlockContextT
(
L
const
* iLumi,
R
const
* iRun, G
const
* iGlobal):
46
m_lumi
(iLumi),
m_run
(iRun),
m_global
(iGlobal) {}
47
48
L
const
*
luminosityBlock
()
const
{
return
m_lumi
;}
49
R
const
*
run
()
const
{
return
m_run
;}
50
G
const
*
global
()
const
{
return
m_global
;}
51
private
:
52
L
const
*
m_lumi
;
53
R
const
*
m_run
;
54
G
const
*
m_global
;
55
};
56
}
57
}
58
59
#endif
edm::stream::LuminosityBlockContextT::global
G const * global() const
Definition:
Contexts.h:50
dttmaxenums::L
Definition:
DTTMax.h:28
edm::stream::RunContextT::m_global
G const * m_global
Definition:
Contexts.h:39
edm::stream::RunContextT::RunContextT
RunContextT(R const *iRun, G const *iGlobal)
Definition:
Contexts.h:33
edm::stream::LuminosityBlockContextT
Definition:
Contexts.h:43
edm::stream::LuminosityBlockContextT::luminosityBlock
L const * luminosityBlock() const
Definition:
Contexts.h:48
dttmaxenums::R
Definition:
DTTMax.h:28
edm::stream::LuminosityBlockContextT::m_run
R const * m_run
Definition:
Contexts.h:53
edm::stream::RunContextT::global
G const * global() const
Definition:
Contexts.h:35
edm::stream::LuminosityBlockContextT::LuminosityBlockContextT
LuminosityBlockContextT(L const *iLumi, R const *iRun, G const *iGlobal)
Definition:
Contexts.h:45
edm::stream::RunContextT
Definition:
Contexts.h:31
edm::stream::LuminosityBlockContextT::run
R const * run() const
Definition:
Contexts.h:49
edm::stream::RunContextT::run
R const * run() const
Definition:
Contexts.h:34
edm::stream::LuminosityBlockContextT::m_lumi
L const * m_lumi
Definition:
Contexts.h:52
edm::stream::LuminosityBlockContextT::m_global
G const * m_global
Definition:
Contexts.h:54
edm::stream::RunContextT::m_run
R const * m_run
Definition:
Contexts.h:38
Generated for CMSSW Reference Manual by
1.8.5