7 sector_processors_shower_() {
9 produces<l1t::RegionalMuonShowerBxCollection>(
"EMTF");
16 auto out_showers = std::make_unique<l1t::RegionalMuonShowerBxCollection>();
18 out_showers->setBXRange(0, 0);
44 desc.
add<
bool>(
"enableOneNominalShowers",
true);
45 desc.
add<
bool>(
"enableOneTightShowers",
true);
46 desc.
add<
bool>(
"enableTwoLooseShowers",
false);
47 desc.
add<
unsigned>(
"nLooseShowers", 2);
48 desc.
add<
unsigned>(
"nNominalShowers", 1);
49 desc.
add<
unsigned>(
"nTightShowers", 1);
51 descriptions.
add(
"simEmtfShowersDef", desc);
52 descriptions.
setComment(
"This is the generic cfi file for the EMTF shower producer");
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
L1TMuonEndCapShowerProducer(const edm::ParameterSet &)
constexpr int MIN_TRIGSECTOR
const edm::ParameterSet & config_
~L1TMuonEndCapShowerProducer() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void setComment(std::string const &value)
emtf::sector_array< SectorProcessorShower > sector_processors_shower_
T const * product() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void produce(edm::Event &, const edm::EventSetup &) override
constexpr int MAX_TRIGSECTOR
edm::EDGetToken tokenCSCShower_
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...