CMS 3D CMS Logo

ESProducerLooper.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : ESProducerLooper
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Mon Jul 17 09:34:30 EDT 2006
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 using namespace edm;
19 using namespace edm::eventsetup;
20 //
21 // constants, enums and typedefs
22 //
23 
24 //
25 // static data member definitions
26 //
27 
28 //
29 // constructors and destructor
30 //
32 
33 // ESProducerLooper::ESProducerLooper(const ESProducerLooper& rhs)
34 // {
35 // // do actual copying here;
36 // }
37 /*
38 ESProducerLooper::~ESProducerLooper()
39 {
40 }
41 */
42 //
43 // assignment operators
44 //
45 // const ESProducerLooper& ESProducerLooper::operator=(const ESProducerLooper& rhs)
46 // {
47 // //An exception safe implementation is
48 // ESProducerLooper temp(rhs);
49 // swap(rhs);
50 //
51 // return *this;
52 // }
53 
54 //
55 // member functions
56 //
58  //since non of the dependent records are valid, I will create one that is valid
59  // at the beginning of time BUT must also be checked every request
60  //oInterval = ValidityInterval(IOVSyncValue::beginOfTime(),
61  // IOVSyncValue::invalidIOVSyncValue());
62  // }
63  //} else {
64  //Give one valid for all time
66  //}
67 }
68 
69 //use this to 'snoop' on what records are being used by the Producer
71  std::unique_ptr<eventsetup::ProxyFactoryBase> iFactory,
72  const std::string& iLabel) {
73  findingRecordWithKey(iRecord);
75 }
76 
77 //
78 // const member functions
79 //
80 std::set<eventsetup::EventSetupRecordKey> ESProducerLooper::modifyingRecords() const { return findingForRecords(); }
81 //
82 // static member functions
83 //
virtual void registerFactoryWithKey(const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
void registerFactoryWithKey(const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) override
HLT enums.
void setIntervalFor(const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval) override
std::set< eventsetup::EventSetupRecordKey > modifyingRecords() const override
def move(src, dest)
Definition: eostools.py:511