68 : me0Minus_(iConfig.getParameter<
bool>(
"me0Minus")),
69 me0Plus_(iConfig.getParameter<
bool>(
"me0Plus")),
70 digiTag_(iConfig.getParameter<
edm::
InputTag>(
"digiTag")) {
72 m_agingObjTag = esConsumes<MuonSystemAging, MuonSystemAgingRcd, edm::Transition::BeginRun>();
73 produces<ME0DigiPreRecoCollection>();
91 for (
const auto& me0LayerId : (*me0Digis)) {
92 auto chambId = me0LayerId.first.chamberId();
94 bool keepDigi = (!
me0Minus_ && chambId.region() < 0) || (!
me0Plus_ && chambId.region() > 0);
96 uint32_t rawId = chambId.rawId();
98 filteredDigis->put(me0LayerId.second, me0LayerId.first);
122 desc.add<
bool>(
"me0Minus",
true);
123 desc.add<
bool>(
"me0Plus",
true);
124 descriptions.
add(
"me0ChamberMasker",
desc);