18 std::vector<uint16_t>::const_iterator it =
find(
fedIds_.begin(),
fedIds_.end(), fed_id);
22 edm::LogWarning(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 23 <<
" FedId " << fed_id <<
" has already been found in file!" << std::endl;
28 edm::LogVerbatim(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 29 <<
" End of file reached! Found " <<
fedIds_.size() <<
" valid FedIds!" 33 edm::LogVerbatim(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 34 <<
" Error while reading file \"" <<
filePath <<
"\"!" << std::endl;
41 edm::LogVerbatim(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 42 <<
" Unable to open file \"" <<
filePath <<
"\"!" << std::endl;
50 edm::LogVerbatim(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]";
57 edm::LogVerbatim(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]";
65 edm::LogVerbatim(
"Unknown") <<
"[SiStripFedIdListReader::" << __func__ <<
"]";
71 std::vector<uint16_t> fed_ids =
in.fedIds();
73 ss <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 74 <<
" Found " << fed_ids.size() <<
" valid FED ids with values: ";
75 std::vector<uint16_t>::const_iterator iter = fed_ids.begin();
76 for (; iter != fed_ids.end(); ++iter) {
Log< level::Info, true > LogVerbatim
std::ostream & operator<<(std::ostream &os, const SiStripFedIdListReader &in)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
~SiStripFedIdListReader()
filePath
CUSTOMIZE FOR ML.
std::vector< uint16_t > fedIds_
Log< level::Warning, false > LogWarning
SiStripFedIdListReader & operator=(const SiStripFedIdListReader &)