test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TMuonOverlapParamsOnlineProxy.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <fstream>
3 
10 
12 private:
13 public:
14  boost::shared_ptr<L1TMuonOverlapParams> produce(const L1TMuonOverlapParamsO2ORcd& record);
15 
18 };
19 
21  setWhatProduced(this);
22 }
23 
24 boost::shared_ptr<L1TMuonOverlapParams> L1TMuonOverlapParamsOnlineProxy::produce(const L1TMuonOverlapParamsO2ORcd& record) {
25 
26  const L1TMuonOverlapParamsRcd& baseRcd = record.template getRecord< L1TMuonOverlapParamsRcd >() ;
28  baseRcd.get( baseSettings ) ;
29 
30  return boost::shared_ptr< L1TMuonOverlapParams > ( new L1TMuonOverlapParams( *(baseSettings.product()) ) );
31 
32 }
33 
34 //define this as a plug-in
JetCorrectorParameters::Record record
Definition: classes.h:7
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
void get(HolderT &iHolder) const
L1TMuonOverlapParamsOnlineProxy(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
boost::shared_ptr< L1TMuonOverlapParams > produce(const L1TMuonOverlapParamsO2ORcd &record)