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
#define DEFINE_FWK_MODULE(type)
SiStripDetVOffReader(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
bool getData(T &iHolder) const
Log< level::Info, false > LogInfo
~SiStripDetVOffReader() override=default