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::unique_ptr<L1TMuonEndCapForest> produce(const L1TMuonEndCapForestO2ORcd& record);
14 
17 };
18 
20  setWhatProduced(this);
21 }
22 
23 std::unique_ptr<L1TMuonEndCapForest> L1TMuonEndCapForestOnlineProxy::produce(const L1TMuonEndCapForestO2ORcd& record) {
24 
25  const L1TMuonEndCapForestRcd& baseRcd = record.template getRecord< L1TMuonEndCapForestRcd >() ;
27  baseRcd.get( baseSettings ) ;
28 
29  return std::make_unique< L1TMuonEndCapForest >( *(baseSettings.product()) );
30 }
31 
32 //define this as a plug-in
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:116
L1TMuonEndCapForestOnlineProxy(const edm::ParameterSet &)
JetCorrectorParameters::Record record
Definition: classes.h:7
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
std::unique_ptr< L1TMuonEndCapForest > produce(const L1TMuonEndCapForestO2ORcd &record)
HLT enums.
bool get(HolderT &iHolder) const