54 if (getLatency.getParameter<
std::string>(
"record") !=
"SiStripLatencyRcd") {
56 "[SiStripLorentzAngleDepESProducer::ctor] No Latency Record found ");
60 if (getPeak.getParameter<
std::string>(
"record") !=
"SiStripLorentzAngleRcd") {
62 "[SiStripLorentzAngleDepESProducer::ctor] No Lorentz Angle Record found ");
67 if (getDeconv.getParameter<
std::string>(
"record") !=
"SiStripLorentzAngleRcd") {
69 "[SiStripLorentzAngleDepESProducer::ctor] No Lorentz Angle Record found ");
72 auto const peakLabel{getPeak.getUntrackedParameter<
std::string>(
"label")};
73 auto const deconvLabel{getDeconv.getUntrackedParameter<
std::string>(
"label")};
78 return get(
"", peakLabel);
80 return get(
"", deconvLabel);
84 edm::LogInfo(
"SiStripLorentzAngleDepESProducer") <<
"ctor" << std::endl;
89 edm::LogInfo(
"SiStripLorentzAngleDepESProducer") <<
"Producer called" << std::endl;
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
int16_t singleReadOutMode() const
void addDefault(ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::shared_ptr< SiStripLorentzAngle const > produce(const SiStripLorentzAngleDepRcd &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< SiStripLorentzAngle, SiStripLorentzAngleRcd > lorentzAngleToken_
SiStripLorentzAngleDepESProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)