CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1KeyListWriter.cc
Go to the documentation of this file.
1 #include <iomanip>
2 #include <iostream>
3 
5 
8 
11 
14 
17 
19 public:
20  void analyze(const edm::Event&, const edm::EventSetup&) override;
21 
22  explicit L1KeyListWriter(const edm::ParameterSet&) : edm::EDAnalyzer() {}
23  ~L1KeyListWriter(void) override {}
24 };
25 
28  evSetup.get<L1TriggerKeyListExtRcd>().get(handle1);
29  std::shared_ptr<L1TriggerKeyListExt> ptr1(new L1TriggerKeyListExt(*(handle1.product())));
30 
32  if (poolDb.isAvailable()) {
33  cond::Time_t firstSinceTime = poolDb->beginOfTime();
34  poolDb->writeOneIOV(*ptr1, firstSinceTime, "L1TriggerKeyListExtRcd");
35  }
36 }
37 
41 
L1KeyListWriter(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
~L1KeyListWriter(void) override
int iEvent
Definition: GenABIO.cc:224
unsigned long long Time_t
Definition: Time.h:14
T const * product() const
Definition: ESHandle.h:86
T get() const
Definition: EventSetup.h:82
void analyze(const edm::Event &, const edm::EventSetup &) override