CMS 3D CMS Logo

L1TMuonOverlapParamsOnlineProxy.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <fstream>
3 
10 
12 private:
13 public:
14  std::shared_ptr<L1TMuonOverlapParams> produce(const L1TMuonOverlapParamsO2ORcd& record);
15 
18 };
19 
21  setWhatProduced(this);
22 }
23 
24 std::shared_ptr<L1TMuonOverlapParams> L1TMuonOverlapParamsOnlineProxy::produce(const L1TMuonOverlapParamsO2ORcd& record) {
25 
26  const L1TMuonOverlapParamsRcd& baseRcd = record.template getRecord< L1TMuonOverlapParamsRcd >() ;
28  baseRcd.get( baseSettings ) ;
29 
30  std::shared_ptr< L1TMuonOverlapParams > retval = std::make_shared< L1TMuonOverlapParams >( *(baseSettings.product()) );
31  return retval;
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
std::shared_ptr< L1TMuonOverlapParams > produce(const L1TMuonOverlapParamsO2ORcd &record)
L1TMuonOverlapParamsOnlineProxy(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
HLT enums.