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  const L1TMuonEndCapForestRcd& baseRcd = record.template getRecord<L1TMuonEndCapForestRcd>();
26  baseRcd.get(baseSettings);
27 
28  return std::make_unique<L1TMuonEndCapForest>(*(baseSettings.product()));
29 }
30 
31 //define this as a plug-in
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
L1TMuonEndCapForestOnlineProxy(const edm::ParameterSet &)
JetCorrectorParameters::Record record
Definition: classes.h:7
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
std::unique_ptr< L1TMuonEndCapForest > produce(const L1TMuonEndCapForestO2ORcd &record)
HLT enums.