CMS 3D CMS Logo

L1TMuonGlobalParamsWriter.cc
Go to the documentation of this file.
1 #include <iomanip>
2 #include <iostream>
3 
7 
10 
13 
16 
18 public:
19  virtual void analyze(const edm::Event&, const edm::EventSetup&);
20 
23 };
24 
27  evSetup.get<L1TMuonGlobalParamsO2ORcd>().get( handle1 ) ;
28  boost::shared_ptr<L1TMuonGlobalParams> ptr1(new L1TMuonGlobalParams(*(handle1.product ())));
29 
31  if( poolDb.isAvailable() ){
32  cond::Time_t firstSinceTime = poolDb->beginOfTime();
33  poolDb->writeOne(ptr1.get(),firstSinceTime,"L1TMuonGlobalParamsO2ORcd");
34  }
35 
36 }
37 
41 
43 
virtual void analyze(const edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
L1TMuonGlobalParamsWriter(const edm::ParameterSet &)
int iEvent
Definition: GenABIO.cc:230
unsigned long long Time_t
Definition: Time.h:16
const T & get() const
Definition: EventSetup.h:56
HLT enums.
T const * product() const
Definition: ESHandle.h:86