35 : printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 3)), thresholdToken_(
esConsumes()) {}
39 edm::LogInfo(
"SiStripThresholdReader") <<
"[SiStripThresholdReader::analyze] End Reading SiStripThreshold"
42 std::vector<uint32_t> detid;
44 edm::LogInfo(
"Number of detids ") << detid.size() << std::endl;
46 for (
size_t id = 0;
id < detid.size() &&
id <
printdebug_;
id++) {
50 float old_clusTh = -1, old_lowTh = -1, old_highTh = -1, old_FirstStrip = -1;
51 for (
int it = 0; it < 768; it++) {
58 <<
"detid: " << detid[
id] <<
" \t"
59 <<
"strip: " << it <<
" \t" << ss.str() <<
"FirstStrip_and_Hth: " << data.
FirstStrip_and_Hth <<
" \n"
62 old_highTh = data.
getHth();
~SiStripThresholdReader() override=default
uint16_t *__restrict__ id
#define DEFINE_FWK_MODULE(type)
const uint16_t range(const Frame &aFrame)
bool getData(T &iHolder) const
uint16_t FirstStrip_and_Hth
SiStripThresholdReader(const edm::ParameterSet &)
uint16_t getFirstStrip() const
Log< level::Info, false > LogInfo
void print(std::stringstream &ss) const
std::pair< ContainerIterator, ContainerIterator > Range
char data[epos_bytes_allocation]
const edm::ESGetToken< SiStripThreshold, SiStripThresholdRcd > thresholdToken_
void analyze(const edm::Event &, const edm::EventSetup &) override