8 : printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 3)) {}
15 edm::LogInfo(
"SiStripThresholdReader") <<
"[SiStripThresholdReader::analyze] End Reading SiStripThreshold" 18 std::vector<uint32_t> detid;
20 edm::LogInfo(
"Number of detids ") << detid.size() << std::endl;
22 for (
size_t id = 0;
id < detid.size() &&
id <
printdebug_;
id++) {
26 float old_clusTh = -1, old_lowTh = -1, old_highTh = -1, old_FirstStrip = -1;
27 for (
int it = 0; it < 768; it++) {
34 <<
"detid: " << detid[
id] <<
" \t" 35 <<
"strip: " << it <<
" \t" << ss.str() <<
"FirstStrip_and_Hth: " << data.
FirstStrip_and_Hth <<
" \n" 38 old_highTh = data.
getHth();
uint16_t FirstStrip_and_Hth
SiStripThresholdReader(const edm::ParameterSet &)
SiStripThreshold::Data getData(const uint16_t &strip, const Range &range) const
uint16_t getFirstStrip() const
Namespace of DDCMS conversion namespace.
void print(std::stringstream &ss) const
std::pair< ContainerIterator, ContainerIterator > Range
void getDetIds(std::vector< uint32_t > &DetIds_) const
char data[epos_bytes_allocation]
~SiStripThresholdReader() override
const Range getRange(const uint32_t &detID) const
void analyze(const edm::Event &, const edm::EventSetup &) override