FWCore
TestProcessor
interface
EventSetupTestHelper.h
Go to the documentation of this file.
1
#ifndef FWCore_TestProcessor_EventSetupTestHelper_h
2
#define FWCore_TestProcessor_EventSetupTestHelper_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/TestProcessor
6
// Class : EventSetupTestHelper
7
//
16
//
17
// Original Author: root
18
// Created: Tue, 08 May 2018 18:33:09 GMT
19
//
20
21
// system include files
22
#include <vector>
23
24
// user include files
25
#include "
FWCore/Framework/interface/DataProxyProvider.h
"
26
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
27
28
#include "
FWCore/TestProcessor/interface/ESProduceEntry.h
"
29
30
// forward declarations
31
namespace
edm
{
32
namespace
test
{
33
34
class
EventSetupTestHelper
:
public
eventsetup::DataProxyProvider
,
public
EventSetupRecordIntervalFinder
{
35
public
:
36
EventSetupTestHelper
(std::vector<ESProduceEntry>);
37
EventSetupTestHelper
(
const
EventSetupTestHelper
&) =
delete
;
38
const
EventSetupTestHelper
&
operator=
(
const
EventSetupTestHelper
&) =
delete
;
39
40
std::shared_ptr<eventsetup::DataProxy>
getProxy
(
unsigned
int
index
);
41
42
void
resetAllProxies
();
43
44
protected
:
45
void
setIntervalFor
(
const
eventsetup::EventSetupRecordKey
&,
const
IOVSyncValue
&,
ValidityInterval
&)
final
;
46
47
KeyedProxiesVector
registerProxies
(
const
eventsetup::EventSetupRecordKey
&,
unsigned
int
iovIndex)
final
;
48
49
private
:
50
// ---------- member data --------------------------------
51
std::vector<ESProduceEntry>
proxies_
;
52
};
53
}
// namespace test
54
}
// namespace edm
55
#endif
edm::eventsetup::DataProxyProvider
Definition:
DataProxyProvider.h:64
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ValidityInterval
Definition:
ValidityInterval.h:28
edm::test::EventSetupTestHelper::setIntervalFor
void setIntervalFor(const eventsetup::EventSetupRecordKey &, const IOVSyncValue &, ValidityInterval &) final
Definition:
EventSetupTestHelper.cc:34
edm::test::EventSetupTestHelper::operator=
const EventSetupTestHelper & operator=(const EventSetupTestHelper &)=delete
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProduceEntry.h
test
Definition:
SmallWORMDict.h:13
edm::test::EventSetupTestHelper::resetAllProxies
void resetAllProxies()
Definition:
EventSetupTestHelper.cc:74
DataProxyProvider.h
edm::test::EventSetupTestHelper::EventSetupTestHelper
EventSetupTestHelper(std::vector< ESProduceEntry >)
Definition:
EventSetupTestHelper.cc:22
edm::test::EventSetupTestHelper::proxies_
std::vector< ESProduceEntry > proxies_
Definition:
EventSetupTestHelper.h:51
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::eventsetup::DataProxyProvider::KeyedProxiesVector
std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> KeyedProxiesVector
Definition:
DataProxyProvider.h:196
edm::test::EventSetupTestHelper::registerProxies
KeyedProxiesVector registerProxies(const eventsetup::EventSetupRecordKey &, unsigned int iovIndex) final
Definition:
EventSetupTestHelper.cc:59
edm::test::EventSetupTestHelper::getProxy
std::shared_ptr< eventsetup::DataProxy > getProxy(unsigned int index)
Definition:
EventSetupTestHelper.cc:70
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
edm::test::EventSetupTestHelper
Definition:
EventSetupTestHelper.h:34
Generated for CMSSW Reference Manual by
1.8.16