src
FWCore
Framework
interface
EventForTransformer.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_EventForTransformer_h
2
#define FWCore_Framework_EventForTransformer_h
3
4
// -*- C++ -*-
5
//
6
// Package: Framework
7
// Class : EventForTransformer
8
//
12
/*----------------------------------------------------------------------
13
----------------------------------------------------------------------*/
14
15
#include "
DataFormats/Common/interface/BasicHandle.h
"
16
#include "
DataFormats/Common/interface/WrapperBase.h
"
17
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/ServiceRegistry/interface/ModuleCallingContext.h
"
20
#include "
FWCore/Utilities/interface/TypeID.h
"
21
#include "
FWCore/Utilities/interface/ProductResolverIndex.h
"
22
23
#include <memory>
24
25
namespace
edm
{
26
27
class
EventPrincipal;
28
29
class
EventForTransformer
{
30
public
:
31
EventForTransformer
(
EventPrincipal
const
&,
ModuleCallingContext
) noexcept;
32
33
BasicHandle
get
(
edm::TypeID
const
& iTypeID,
ProductResolverIndex
iIndex)
const
;
34
35
void
put
(
ProductResolverIndex
index
, std::unique_ptr<WrapperBase> edp,
BasicHandle
const
& iGetHandle);
36
37
ModuleCallingContext
const
&
moduleCallingContext
()
const
noexcept {
return
mcc_
; }
38
39
private
:
40
EventPrincipal
const
&
eventPrincipal_
;
41
ModuleCallingContext
mcc_
;
42
};
43
}
// namespace edm
44
#endif
edm::EventForTransformer::mcc_
ModuleCallingContext mcc_
Definition:
EventForTransformer.h:41
edm::ProductResolverIndex
unsigned int ProductResolverIndex
Definition:
ProductResolverIndex.h:8
runTheMatrix.const
const
Definition:
runTheMatrix.py:371
edm::EventForTransformer::EventForTransformer
EventForTransformer(EventPrincipal const &, ModuleCallingContext) noexcept
Definition:
EventForTransformer.cc:14
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:33
edm::EventPrincipal
Definition:
EventPrincipal.h:48
edm::TypeID
Definition:
TypeID.h:22
edm::EventForTransformer::moduleCallingContext
ModuleCallingContext const & moduleCallingContext() const noexcept
Definition:
EventForTransformer.h:37
Frameworkfwd.h
edm::BasicHandle
Definition:
BasicHandle.h:43
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:93
edm::EventForTransformer
Definition:
EventForTransformer.h:29
ProductResolverIndex.h
edm::EventForTransformer::eventPrincipal_
EventPrincipal const & eventPrincipal_
Definition:
EventForTransformer.h:40
WrapperBase.h
TypeID.h
BasicHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::EventForTransformer::put
void put(ProductResolverIndex index, std::unique_ptr< WrapperBase > edp, BasicHandle const &iGetHandle)
Definition:
EventForTransformer.cc:22
ModuleCallingContext.h
Generated for CMSSW Reference Manual by
1.8.14