#include <SiStripFedIdListReader.h>
- Author
- R.Bainbridge
Definition at line 18 of file SiStripFedIdListReader.h.
SiStripFedIdListReader::SiStripFedIdListReader |
( |
std::string |
filePath | ) |
|
|
explicit |
Definition at line 8 of file SiStripFedIdListReader.cc.
References fedIds_, spr::find(), and inputFile_.
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;
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< uint16_t > fedIds_
SiStripFedIdListReader::~SiStripFedIdListReader |
( |
| ) |
|
SiStripFedIdListReader::SiStripFedIdListReader |
( |
| ) |
|
|
inlineexplicitprivate |
const std::vector< uint16_t > & SiStripFedIdListReader::fedIds |
( |
| ) |
const |
|
inline |
std::vector<uint16_t> SiStripFedIdListReader::fedIds_ |
|
private |
std::ifstream SiStripFedIdListReader::inputFile_ |
|
private |