27 typedef std::shared_ptr<EcalNextToDeadChannel>
ReturnType;
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > const channelToken_
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static const int MIN_IPHI
EcalNextToDeadChannelESProducer(const edm::ParameterSet &iConfig)
void setupNextToDeadChannels(const EcalChannelStatusRcd &, EcalNextToDeadChannel *)
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
static bool validDetId(int i, int j)
check if a valid index combination
std::shared_ptr< EcalNextToDeadChannel > ReturnType
void setValue(const uint32_t id, const Item &item)
std::shared_ptr< T > makeOrGet(F iFunc)
If there isn't an object already available, creates a new one using iFunc.
edm::ESProductHost< EcalNextToDeadChannel, EcalChannelStatusRcd > HostType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static const int MAX_IPHI
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
static const int MAX_IETA
ReturnType produce(const EcalNextToDeadChannelRcd &iRecord)
edm::ReusableObjectHolder< HostType > holder_