32 : printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 5)),
33 label_(iConfig.getUntrackedParameter<std::
string>(
"label",
"")),
41 <<
"[SiPhase2OuterTrackerLorentzAngleReader::analyze] End Reading SiPhase2OuterTrackerLorentzAngle with label "
44 const auto& detid_la = lorentzAngles.getLorentzAngles();
45 std::unordered_map<unsigned int, float>::const_iterator it;
47 for (it = detid_la.begin(); it != detid_la.end() && count <
printdebug_; it++) {
48 edm::LogInfo(
"SiPhase2OuterTrackerLorentzAngleReader") <<
"detid " << it->first <<
" \t"
49 <<
" Lorentz angle " << it->second;
57 desc.
setComment(
"Module to read SiPhase2OuterTrackerLorentzAngle Payloads");
58 desc.
addUntracked<uint32_t>(
"printDebug", 5)->setComment(
"maximum amount of print-outs");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
SiPhase2OuterTrackerLorentzAngleReader(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void analyze(edm::StreamID, edm::Event const &, edm::EventSetup const &) const override
const edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleRcd > laToken_
bool getData(T &iHolder) const
void setComment(std::string const &value)
const uint32_t printdebug_
Log< level::Info, false > LogInfo
~SiPhase2OuterTrackerLorentzAngleReader() override=default