26 getLatency(iConfig.getParameter<edm::
ParameterSet>(
"LatencyRecord")),
27 getPeak(iConfig.getParameter<edm::
ParameterSet>(
"LorentzAnglePeakMode")),
28 getDeconv(iConfig.getParameter<edm::
ParameterSet>(
"LorentzAngleDeconvMode"))
32 edm::LogInfo(
"SiStripLorentzAngleDepESProducer") <<
"ctor" << std::endl;
40 edm::LogInfo(
"SiStripLorentzAngleDepESProducer") <<
"Producer called" << std::endl;
44 bool peakMode =
false;
46 if( latencyRecordName ==
"SiStripLatencyRcd" ) {
49 if(latency -> singleReadOutMode() == 1) peakMode =
true;
50 }
else edm::LogError(
"SiStripLorentzAngleDepESProducer") <<
"[SiStripLorentzAngleDepESProducer::produce] No Latency Record found " << std::endl;
63 if ( lorentzAngleRecordName ==
"SiStripLorentzAngleRcd"){
67 }
else edm::LogError(
"SiStripLorentzAngleDepESProducer") <<
"[SiStripLorentzAngleDepESProducer::produce] No Lorentz Angle Record found " << std::endl;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
tuple siStripLorentzAngle
tuple SiStripLorentzAngle
std::shared_ptr< SiStripLorentzAngle > produce(const SiStripLorentzAngleDepRcd &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const DepRecordT & getRecord() const
edm::ParameterSet getPeak
edm::ParameterSet getLatency
T const * product() const
SiStripLorentzAngleDepESProducer(const edm::ParameterSet &)
edm::ParameterSet getDeconv
std::shared_ptr< SiStripLorentzAngle > siStripLA_