Main Page
Namespaces
Classes
Package Documentation
FWCore
Framework
interface
stream
makeGlobal.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_stream_makeGlobal_h
2
#define FWCore_Framework_stream_makeGlobal_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : makeGlobal
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Thu, 22 May 2014 13:55:01 GMT
19
//
20
21
// system include files
22
#include <memory>
23
// user include files
24
#include "
FWCore/Framework/interface/stream/dummy_helpers.h
"
25
// forward declarations
26
27
namespace
edm
{
28
class
ParameterSet
;
29
namespace
stream {
30
namespace
impl
{
31
template
<
typename
T,
typename
G>
32
std::unique_ptr<G>
makeGlobal
(
edm::ParameterSet
const
& iPSet,
G
const
*) {
33
return
T::initializeGlobalCache(iPSet);
34
}
35
template
<
typename
T>
36
dummy_ptr
makeGlobal
(
edm::ParameterSet
const
& iPSet,
void
const
*) {
37
return
dummy_ptr
();
38
}
39
40
template
<
typename
T,
typename
G>
41
T
*
makeStreamModule
(
edm::ParameterSet
const
& iPSet,
42
G
const
* iGlobal) {
43
return
new
T
(iPSet,iGlobal);
44
}
45
46
template
<
typename
T>
47
T
*
makeStreamModule
(
edm::ParameterSet
const
& iPSet,
48
void
const
* ) {
49
return
new
T
(iPSet);
50
}
51
}
52
}
53
}
54
#endif
ParameterSet
Definition:
Functions.h:16
edm::stream::impl::makeStreamModule
T * makeStreamModule(edm::ParameterSet const &iPSet, G const *iGlobal)
Definition:
makeGlobal.h:41
impl
Definition:
trackAlgoPriorityOrder.h:18
edm::stream::impl::dummy_ptr
Definition:
dummy_helpers.h:32
edm::stream::impl::makeGlobal
std::unique_ptr< G > makeGlobal(edm::ParameterSet const &iPSet, G const *)
Definition:
makeGlobal.h:32
callgraph.G
G
Definition:
callgraph.py:12
edm
HLT enums.
Definition:
AlignableModifier.h:17
dummy_helpers.h
edm::ParameterSet
Definition:
ParameterSet.h:36
T
long double T
Definition:
Basic3DVectorLD.h:66
Generated for CMSSW Reference Manual by
1.8.11