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;
50 float old_clusTh = -1, old_lowTh = -1, old_highTh = -1, old_FirstStrip = -1;
51 for (
int it = 0;
it < 768;
it++) {
55 if (old_clusTh !=
data.getClusth() || old_lowTh !=
data.getLth() || old_highTh !=
data.getHth() ||
56 old_FirstStrip !=
data.getFirstStrip()) {
58 <<
"detid: " <<
detid[
id] <<
" \t" 59 <<
"strip: " <<
it <<
" \t" <<
ss.str() <<
"FirstStrip_and_Hth: " <<
data.FirstStrip_and_Hth <<
" \n" 61 old_lowTh =
data.getLth();
62 old_highTh =
data.getHth();
63 old_clusTh =
data.getClusth();
64 old_FirstStrip =
data.getFirstStrip();
~SiStripThresholdReader() override=default
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
SiStripThresholdReader(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
Namespace of DDCMS conversion namespace.
Log< level::Info, false > LogInfo
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