14 printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug",5)),
15 label_(iConfig.getUntrackedParameter<
std::
string>(
"label",
"")){}
22 edm::LogInfo(
"SiStripLorentzAngleReader") <<
"[SiStripLorentzAngleReader::analyze] End Reading SiStripLorentzAngle with label " <<
label_<< std::endl;
24 std::map<unsigned int,float> detid_la= SiStripLorentzAngle_->
getLorentzAngles();
25 std::map<unsigned int,float>::const_iterator it;
27 for (it=detid_la.begin();it!=detid_la.end() && count<
printdebug_;it++)
29 edm::LogInfo(
"SiStripLorentzAngleReader") <<
"detid " << it->first <<
" \t" 30 <<
" Lorentz angle " << it->second;
const std::map< unsigned int, float > & getLorentzAngles() const
void analyze(const edm::Event &, const edm::EventSetup &) override
SiStripLorentzAngleReader(const edm::ParameterSet &)
~SiStripLorentzAngleReader() override