66 : me0Minus_(iConfig.getParameter<
bool>(
"me0Minus")),
67 me0Plus_(iConfig.getParameter<
bool>(
"me0Plus")),
68 digiTag_(iConfig.getParameter<
edm::
InputTag>(
"digiTag")) {
70 produces<ME0DigiPreRecoCollection>();
88 for (
const auto& me0LayerId : (*me0Digis)) {
89 auto chambId = me0LayerId.first.chamberId();
91 bool keepDigi = (!
me0Minus_ && chambId.region() < 0) || (!
me0Plus_ && chambId.region() > 0);
93 uint32_t rawId = chambId.rawId();
95 filteredDigis->put(me0LayerId.second, me0LayerId.first);
120 desc.
add<
bool>(
"me0Minus",
true);
121 desc.
add<
bool>(
"me0Plus",
true);
122 descriptions.
add(
"me0ChamberMasker", desc);