Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: ESProducerLooper.h,v 1.2 2010/07/24 14:15:26 wmtan Exp $
20
//
21
22
// system include files
23
#include <memory>
24
#include <set>
25
#include <string>
26
27
// user include files
28
#include "
FWCore/Framework/interface/ESProducer.h
"
29
#include "
FWCore/Framework/interface/EDLooper.h
"
30
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
31
32
// forward declarations
33
namespace
edm {
34
class
ESProducerLooper
:
public
ESProducer
,
public
EventSetupRecordIntervalFinder
,
public
EDLooper
35
{
36
37
public
:
38
ESProducerLooper
();
39
//virtual ~ESProducerLooper();
40
41
// ---------- const member functions ---------------------
42
43
// ---------- static member functions --------------------
44
45
virtual
std::set<eventsetup::EventSetupRecordKey>
modifyingRecords
()
const
;
46
// ---------- member functions ---------------------------
47
48
protected
:
49
void
setIntervalFor
(
const
eventsetup::EventSetupRecordKey
& iKey,
50
const
IOVSyncValue
& iTime,
51
ValidityInterval
& oInterval);
52
53
//use this to 'snoop' on what records are being used by the Producer
54
virtual
void
registerFactoryWithKey
(
const
eventsetup::EventSetupRecordKey
& iRecord ,
55
std::auto_ptr<eventsetup::ProxyFactoryBase>& iFactory,
56
const
std::string
& iLabel=
std::string
() );
57
private
:
58
ESProducerLooper
(
const
ESProducerLooper
&);
// stop default
59
60
const
ESProducerLooper
&
operator=
(
const
ESProducerLooper
&);
// stop default
61
62
// ---------- member data --------------------------------
63
64
};
65
}
66
67
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
edm::ESProducerLooper::operator=
const ESProducerLooper & operator=(const ESProducerLooper &)
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::ESProducer
Definition:
ESProducer.h:97
edm::EDLooper
Definition:
EDLooper.h:27
edm::ESProducerLooper::modifyingRecords
virtual std::set< eventsetup::EventSetupRecordKey > modifyingRecords() const
Definition:
ESProducerLooper.cc:91
edm::ESProducerLooper::registerFactoryWithKey
virtual void registerFactoryWithKey(const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string())
Definition:
ESProducerLooper.cc:79
edm::ESProducerLooper::ESProducerLooper
ESProducerLooper()
Definition:
ESProducerLooper.cc:32
edm::ESProducerLooper
Definition:
ESProducerLooper.h:34
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
edm::ESProducerLooper::setIntervalFor
void setIntervalFor(const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval)
Definition:
ESProducerLooper.cc:61
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
EDLooper.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5