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);
void produce(edm::Event &, const edm::EventSetup &) override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
ME0ChamberMasker(const edm::ParameterSet &)
std::map< unsigned int, float > m_ME0ChambEffs
#define DEFINE_FWK_MODULE(type)
void beginRun(edm::Run const &, edm::EventSetup const &) override
MuonDigiCollection< ME0DetId, ME0DigiPreReco > ME0DigiPreRecoCollection
void endRun(edm::Run const &, edm::EventSetup const &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~ME0ChamberMasker() override
std::map< unsigned int, float > m_maskedME0IDs
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_digiTag