25 getPeak(iConfig.getParameter<
edm::
ParameterSet>(
"BackPlaneCorrectionPeakMode")),
26 getDeconv(iConfig.getParameter<
edm::
ParameterSet>(
"BackPlaneCorrectionDeconvMode"))
30 edm::LogInfo(
"SiStripBackPlaneCorrectionDepESProducer") <<
"ctor" << std::endl;
37 std::unique_ptr<SiStripBackPlaneCorrection> siStripBPC;
38 edm::LogInfo(
"SiStripBackPlaneCorrectionDepESProducer") <<
"Producer called" << std::endl;
42 bool peakMode =
false;
44 if( latencyRecordName ==
"SiStripLatencyRcd" ) {
47 if(latency -> singleReadOutMode() == 1) peakMode =
true;
48 }
else edm::LogError(
"SiStripBackPlaneCorrectionDepESProducer") <<
"[SiStripBackPlaneCorrectionDepESProducer::produce] No Latency Record found " << std::endl;
61 if ( backPlaneCorrectionRecordName ==
"SiStripBackPlaneCorrectionRcd"){
64 siStripBPC = std::make_unique<SiStripBackPlaneCorrection>(*(siStripBackPlaneCorrection.
product()));
65 }
else edm::LogError(
"SiStripBackPlaneCorrectionDepESProducer") <<
"[SiStripBackPlaneCorrectionDepESProducer::produce] No Lorentz Angle Record found " << std::endl;
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ParameterSet getDeconv
T getUntrackedParameter(std::string const &, T const &) const
edm::ParameterSet getPeak
edm::ParameterSet getLatency
const DepRecordT getRecord() const
std::unique_ptr< SiStripBackPlaneCorrection > produce(const SiStripBackPlaneCorrectionDepRcd &)
SiStripBackPlaneCorrectionDepESProducer(const edm::ParameterSet &)
T const * product() const