#include <SiStripFedIdListReader.h>
- Author
- R.Bainbridge
Definition at line 18 of file SiStripFedIdListReader.h.
◆ SiStripFedIdListReader() [1/3]
SiStripFedIdListReader::SiStripFedIdListReader |
( |
std::string |
filePath | ) |
|
|
explicit |
Definition at line 8 of file SiStripFedIdListReader.cc.
References fedIds_, dt4ml_dqm_sourceclient-live_cfg::filePath, spr::find(), and inputFile_.
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;
Log< level::Info, true > LogVerbatim
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
filePath
CUSTOMIZE FOR ML.
std::vector< uint16_t > fedIds_
Log< level::Warning, false > LogWarning
◆ SiStripFedIdListReader() [2/3]
◆ ~SiStripFedIdListReader()
SiStripFedIdListReader::~SiStripFedIdListReader |
( |
| ) |
|
◆ SiStripFedIdListReader() [3/3]
SiStripFedIdListReader::SiStripFedIdListReader |
( |
| ) |
|
|
inlineexplicitprivate |
◆ fedIds()
const std::vector< uint16_t > & SiStripFedIdListReader::fedIds |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ fedIds_
std::vector<uint16_t> SiStripFedIdListReader::fedIds_ |
|
private |
◆ inputFile_
std::ifstream SiStripFedIdListReader::inputFile_ |
|
private |