26 typedef std::shared_ptr<EcalSeverityLevelAlgo>
ReturnType;
58 [
this,
h=
host.get()](
auto const& rec) {
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESProductHost< EcalSeverityLevelAlgo, EcalChannelStatusRcd > HostType
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::shared_ptr< T > makeOrGet(F iFunc)
If there isn't an object already available, creates a new one using iFunc.
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
edm::ReusableObjectHolder< HostType > holder_
void setChannelStatus(const EcalChannelStatus &chs)
Set the ChannelStatus record.
void setupChannelStatus(const EcalChannelStatusRcd &, EcalSeverityLevelAlgo *)
std::shared_ptr< EcalSeverityLevelAlgo > ReturnType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
EcalSeverityLevelESProducer(const edm::ParameterSet &iConfig)
T const * product() const
ReturnType produce(const EcalSeverityLevelAlgoRcd &iRecord)