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
ESProducerLooper
(
const
ESProducerLooper
&) =
delete
;
// stop default
37
const
ESProducerLooper
&
operator=
(
const
ESProducerLooper
&) =
delete
;
// stop default
38
39
//virtual ~ESProducerLooper();
40
41
// ---------- const member functions ---------------------
42
43
// ---------- static member functions --------------------
44
45
std::set<eventsetup::EventSetupRecordKey>
modifyingRecords
()
const override
;
46
// ---------- member functions ---------------------------
47
48
protected
:
49
void
setIntervalFor
(
const
eventsetup::EventSetupRecordKey
& iKey,
50
const
IOVSyncValue
& iTime,
51
ValidityInterval
& oInterval)
override
;
52
53
//use this to 'snoop' on what records are being used by the Producer
54
void
registerFactoryWithKey
(
const
eventsetup::EventSetupRecordKey
& iRecord,
55
std::unique_ptr<eventsetup::ProxyFactoryBase> iFactory,
56
const
std::string
& iLabel =
std::string
())
override
;
57
58
private
:
59
// ---------- member data --------------------------------
60
};
61
}
// namespace edm
62
63
#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
edm::ESProducerLooper
Definition:
ESProducerLooper.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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:104
EDLooper.h
Generated for CMSSW Reference Manual by
1.8.16