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::unique_ptr<L1TMuonOverlapParams> produce(const L1TMuonOverlapParamsO2ORcd& record);
15 
18 };
19 
21  setWhatProduced(this);
22 }
23 
24 std::unique_ptr<L1TMuonOverlapParams> L1TMuonOverlapParamsOnlineProxy::produce(
26  const L1TMuonOverlapParamsRcd& baseRcd = record.template getRecord<L1TMuonOverlapParamsRcd>();
28  baseRcd.get(baseSettings);
29 
30  return std::make_unique<L1TMuonOverlapParams>(*(baseSettings.product()));
31 }
32 
33 //define this as a plug-in
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
JetCorrectorParameters::Record record
Definition: classes.h:7
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
L1TMuonOverlapParamsOnlineProxy(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
HLT enums.
std::unique_ptr< L1TMuonOverlapParams > produce(const L1TMuonOverlapParamsO2ORcd &record)