CMS 3D CMS Logo

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 
23  ~L1KeyListWriter(void) override{}
24 };
25 
27 
29  evSetup.get<L1TriggerKeyListExtRcd>().get( handle1 ) ;
30  boost::shared_ptr<L1TriggerKeyListExt> ptr1(new L1TriggerKeyListExt(*(handle1.product ())));
31 
33  if( poolDb.isAvailable() ){
34  cond::Time_t firstSinceTime = poolDb->beginOfTime();
35  poolDb->writeOne(ptr1.get(),firstSinceTime,"L1TriggerKeyListExtRcd");
36  }
37 
38 }
39 
43 
L1KeyListWriter(const edm::ParameterSet &)
~L1KeyListWriter(void) override
int iEvent
Definition: GenABIO.cc:224
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
unsigned long long Time_t
Definition: Time.h:16
HLT enums.
T get() const
Definition: EventSetup.h:71
void analyze(const edm::Event &, const edm::EventSetup &) override
T const * product() const
Definition: ESHandle.h:86