36 : printdebug_(iConfig.getUntrackedParameter<bool>(
"printDebug",
true)), detVOffToken_(
esConsumes()) {}
40 edm::LogInfo(
"SiStripDetVOffReader") <<
"[SiStripDetVOffReader::analyze] End Reading SiStripDetVOff" << std::endl;
46 std::vector<uint32_t> detid;
47 detVOff.getDetIds(detid);
51 for (uint32_t
id = 0;
id <= detid.size();
id++) {
52 bool hvflag = detVOff.IsModuleHVOff(detid[
id]);
53 bool lvflag = detVOff.IsModuleLVOff(detid[
id]);
54 bool vflag = detVOff.IsModuleVOff(detid[
id]);
56 edm::LogInfo(
"SiStripDetVOffReader") <<
"detid: " << detid[
id] <<
" HV\t OFF\n";
58 edm::LogInfo(
"SiStripDetVOffReader") <<
"detid: " << detid[
id] <<
" HV\t ON\n";
61 edm::LogInfo(
"SiStripDetVOffReader") <<
"detid: " << detid[
id] <<
" LV\t OFF\n";
63 edm::LogInfo(
"SiStripDetVOffReader") <<
"detid: " << detid[
id] <<
" LV\t ON\n";
66 edm::LogInfo(
"SiStripDetVOffReader") <<
"detid: " << detid[
id] <<
" V\t OFF\n";
68 edm::LogInfo(
"SiStripDetVOffReader") <<
"detid: " << detid[
id] <<
" V\t ON\n";
const edm::ESGetToken< SiStripDetVOff, SiStripDetVOffRcd > detVOffToken_
std::vector< uint32_t > detids
uint16_t *__restrict__ id
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
SiStripDetVOffReader(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
Log< level::Info, false > LogInfo
~SiStripDetVOffReader() override=default