Main Page
Namespaces
Classes
Package Documentation
FWCore
Utilities
interface
ESGetToken.h
Go to the documentation of this file.
1
#ifndef FWCore_Utilities_ESGetToken_h
2
#define FWCore_Utilities_ESGetToken_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Utilities
6
// Class : ESGetToken
7
//
17
#include "
FWCore/Utilities/interface/ESInputTag.h
"
18
19
namespace
edm
{
20
class
EDConsumerBase;
21
class
ESProducer
;
22
class
ESConsumesCollector;
23
class
EventSetup
;
24
namespace
eventsetup {
25
class
EventSetupRecord
;
26
}
27
28
// A ESGetToken is created by calls to 'esConsumes' from an EDM
29
// module.
30
template
<
typename
ESProduct>
31
class
ESGetTokenT {
32
friend
class
EDConsumerBase
;
33
friend
class
ESProducer
;
34
friend
class
ESConsumesCollector
;
35
friend
class
EventSetup
;
36
friend
class
eventsetup::EventSetupRecord
;
37
38
public
:
39
ESGetTokenT
() =
default
;
40
41
private
:
42
explicit
ESGetTokenT
(
ESInputTag
const
&
tag
) : m_tag{tag} {}
43
44
ESInputTag
m_tag{};
45
};
46
47
}
48
49
#endif
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition:
GlobalPosition_Frontier_DevDB_cff.py:11
edm::ESInputTag
Definition:
ESInputTag.h:87
edm::ESGetTokenT
Definition:
EventSetup.h:45
edm::ESConsumesCollector
Definition:
ESConsumesCollector.h:38
ESInputTag.h
edm::ESProducer
Definition:
ESProducer.h:98
edm::EDConsumerBase
Definition:
EDConsumerBase.h:54
EventSetup
edm::ESGetTokenT::ESGetTokenT
ESGetTokenT(ESInputTag const &tag)
Definition:
ESGetToken.h:42
ESProducer
edm::EventSetup
Definition:
EventSetup.h:54
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::eventsetup::EventSetupRecord
Definition:
EventSetupRecord.h:88
EventSetupRecord
Generated for CMSSW Reference Manual by
1.8.11