FWCore
Framework
interface
ESProducerLooper.h
Go to the documentation of this file.
1
#ifndef Framework_ESProducerLooper_h
2
#define Framework_ESProducerLooper_h
3
// -*- C++ -*-
4
//
5
// Package: Framework
6
// Class : ESProducerLooper
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Mon Jul 17 09:03:32 EDT 2006
19
//
20
21
// system include files
22
#include <memory>
23
#include <set>
24
#include <string>
25
26
// user include files
27
#include "
FWCore/Framework/interface/ESProducer.h
"
28
#include "
FWCore/Framework/interface/EDLooper.h
"
29
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
30
31
// forward declarations
32
namespace
edm
{
33
class
ESProducerLooper
:
public
ESProducer
,
public
EventSetupRecordIntervalFinder
,
public
EDLooper
{
34
public
:
35
ESProducerLooper
();
36
//virtual ~ESProducerLooper();
37
38
// ---------- const member functions ---------------------
39
40
// ---------- static member functions --------------------
41
42
std::set<eventsetup::EventSetupRecordKey>
modifyingRecords
()
const override
;
43
// ---------- member functions ---------------------------
44
45
protected
:
46
void
setIntervalFor
(
const
eventsetup::EventSetupRecordKey
& iKey,
47
const
IOVSyncValue
& iTime,
48
ValidityInterval
& oInterval)
override
;
49
50
//use this to 'snoop' on what records are being used by the Producer
51
void
registerFactoryWithKey
(
const
eventsetup::EventSetupRecordKey
& iRecord,
52
std::unique_ptr<eventsetup::ProxyFactoryBase> iFactory,
53
const
std::string
& iLabel =
std::string
())
override
;
54
55
private
:
56
ESProducerLooper
(
const
ESProducerLooper
&) =
delete
;
// stop default
57
58
const
ESProducerLooper
&
operator=
(
const
ESProducerLooper
&) =
delete
;
// stop default
59
60
// ---------- member data --------------------------------
61
};
62
}
// namespace edm
63
64
#endif
edm::ESProducerLooper::modifyingRecords
std::set< eventsetup::EventSetupRecordKey > modifyingRecords() const override
Definition:
ESProducerLooper.cc:80
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
edm::EDLooper
Definition:
EDLooper.h:27
edm::ESProducerLooper::registerFactoryWithKey
void registerFactoryWithKey(const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) override
Definition:
ESProducerLooper.cc:70
edm::ESProducerLooper::ESProducerLooper
ESProducerLooper()
Definition:
ESProducerLooper.cc:31
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESProducerLooper
Definition:
ESProducerLooper.h:33
edm::ESProducerLooper::operator=
const ESProducerLooper & operator=(const ESProducerLooper &)=delete
edm::ESProducerLooper::setIntervalFor
void setIntervalFor(const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval) override
Definition:
ESProducerLooper.cc:57
edm::ESProducer
Definition:
ESProducer.h:101
EDLooper.h
Generated for CMSSW Reference Manual by
1.8.16