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 }
34 
35 // ESProducerLooper::ESProducerLooper(const ESProducerLooper& rhs)
36 // {
37 // // do actual copying here;
38 // }
39 /*
40 ESProducerLooper::~ESProducerLooper()
41 {
42 }
43 */
44 //
45 // assignment operators
46 //
47 // const ESProducerLooper& ESProducerLooper::operator=(const ESProducerLooper& rhs)
48 // {
49 // //An exception safe implementation is
50 // ESProducerLooper temp(rhs);
51 // swap(rhs);
52 //
53 // return *this;
54 // }
55 
56 //
57 // member functions
58 //
59 void
61  const IOVSyncValue&,
62  ValidityInterval& oInterval)
63 {
64  //since non of the dependent records are valid, I will create one that is valid
65  // at the beginning of time BUT must also be checked every request
66  //oInterval = ValidityInterval(IOVSyncValue::beginOfTime(),
67  // IOVSyncValue::invalidIOVSyncValue());
68  // }
69  //} else {
70  //Give one valid for all time
73  //}
74 }
75 
76 //use this to 'snoop' on what records are being used by the Producer
77 void
79  std::unique_ptr<eventsetup::ProxyFactoryBase> iFactory,
80  const std::string& iLabel )
81 {
82  findingRecordWithKey(iRecord);
84 }
85 
86 //
87 // const member functions
88 //
89 std::set<eventsetup::EventSetupRecordKey>
91  return findingForRecords();
92 }
93 //
94 // static member functions
95 //
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
static const IOVSyncValue & beginOfTime()
void registerFactoryWithKey(const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) override
virtual void registerFactoryWithKey(const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
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:510