test
CMS 3D CMS Logo

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