21 std::vector<uint16_t>::const_iterator it =
find(
fedIds_.begin(),
fedIds_.end(), fed_id );
25 <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 26 <<
" FedId " << fed_id <<
" has already been found in file!" << std::endl;
32 <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 33 <<
" End of file reached! Found " <<
fedIds_.size()
34 <<
" valid FedIds!" << std::endl;
38 <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 39 <<
" Error while reading file \"" << filePath <<
"\"!" << std::endl;
47 <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 48 <<
" Unable to open file \"" << filePath <<
"\"!" << std::endl;
59 <<
"[SiStripFedIdListReader::" << __func__ <<
"]";
67 <<
"[SiStripFedIdListReader::" << __func__ <<
"]";
76 <<
"[SiStripFedIdListReader::" << __func__ <<
"]";
83 std::vector<uint16_t> fed_ids = in.
fedIds();
85 ss <<
"[SiStripFedIdListReader::" << __func__ <<
"]" 86 <<
" Found " << fed_ids.size() <<
" valid FED ids with values: ";
87 std::vector<uint16_t>::const_iterator iter = fed_ids.begin();
88 for ( ; iter != fed_ids.end(); ++iter ) { ss << *iter <<
" "; }
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)
const std::vector< uint16_t > & fedIds() const
~SiStripFedIdListReader()
std::vector< uint16_t > fedIds_
SiStripFedIdListReader & operator=(const SiStripFedIdListReader &)