CMS 3D CMS Logo

EventSetupTestHelper.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef FWCore_TestProcessor_EventSetupTestHelper_h
3 #define FWCore_TestProcessor_EventSetupTestHelper_h
4 //
5 // Package: FWCore/TestProcessor
6 // Class : EventSetupTestHelper
7 //
16 //
17 // Original Author: root
18 // Created: Tue, 08 May 2018 18:33:09 GMT
19 //
20 
21 // system include files
22 #include <vector>
23 
24 // user include files
27 
29 
30 // forward declarations
31 namespace edm {
32  namespace test {
33 
35  public:
36  EventSetupTestHelper(std::vector<ESProduceEntry>);
38  const EventSetupTestHelper& operator=(const EventSetupTestHelper&) = delete;
39 
40  std::shared_ptr<eventsetup::ESProductResolver> getResolver(unsigned int index);
41 
42  void resetAllResolvers();
43 
44  protected:
46 
47  KeyedResolversVector registerResolvers(const eventsetup::EventSetupRecordKey&, unsigned int iovIndex) final;
48 
49  private:
50  // ---------- member data --------------------------------
51  std::vector<ESProduceEntry> resolvers_;
52  };
53  } // namespace test
54 } // namespace edm
55 #endif
const EventSetupTestHelper & operator=(const EventSetupTestHelper &)=delete
std::vector< ESProduceEntry > resolvers_
std::shared_ptr< eventsetup::ESProductResolver > getResolver(unsigned int index)
EventSetupTestHelper(std::vector< ESProduceEntry >)
std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> KeyedResolversVector
HLT enums.
void setIntervalFor(const eventsetup::EventSetupRecordKey &, const IOVSyncValue &, ValidityInterval &) final
KeyedResolversVector registerResolvers(const eventsetup::EventSetupRecordKey &, unsigned int iovIndex) final