CMS 3D CMS Logo

L1TMuonEndCapForestOnlineProxy.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <fstream>
3 
10 
12 public:
13  std::shared_ptr<L1TMuonEndCapForest> produce(const L1TMuonEndCapForestO2ORcd& record);
14 
17 };
18 
20  setWhatProduced(this);
21 }
22 
23 std::shared_ptr<L1TMuonEndCapForest> L1TMuonEndCapForestOnlineProxy::produce(const L1TMuonEndCapForestO2ORcd& record) {
24 
25  const L1TMuonEndCapForestRcd& baseRcd = record.template getRecord< L1TMuonEndCapForestRcd >() ;
27  baseRcd.get( baseSettings ) ;
28 
29  std::shared_ptr< L1TMuonEndCapForest > retval = std::make_shared< L1TMuonEndCapForest >( *(baseSettings.product()) );
30 
31  return retval;
32 }
33 
34 //define this as a plug-in
L1TMuonEndCapForestOnlineProxy(const edm::ParameterSet &)
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
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
HLT enums.
std::shared_ptr< L1TMuonEndCapForest > produce(const L1TMuonEndCapForestO2ORcd &record)