#include <L1TMuonEndCapShowerProducer.h>
◆ L1TMuonEndCapShowerProducer()
L1TMuonEndCapShowerProducer::L1TMuonEndCapShowerProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 4 of file L1TMuonEndCapShowerProducer.cc.
9 produces<l1t::RegionalMuonShowerBxCollection>(
"EMTF");
T getParameter(std::string const &) const
const edm::ParameterSet & config_
emtf::sector_array< SectorProcessorShower > sector_processors_shower_
edm::EDGetToken tokenCSCShower_
◆ ~L1TMuonEndCapShowerProducer()
L1TMuonEndCapShowerProducer::~L1TMuonEndCapShowerProducer |
( |
| ) |
|
|
override |
◆ fillDescriptions()
Definition at line 41 of file L1TMuonEndCapShowerProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_2022v12_cff::InputTag, and edm::ConfigurationDescriptions::setComment().
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");
void setComment(std::string const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
◆ produce()
Definition at line 14 of file L1TMuonEndCapShowerProducer.cc.
References config_, makeMuonMisalignmentScenario::endcap, iEvent, emtf::MAX_ENDCAP, emtf::MAX_TRIGSECTOR, emtf::MIN_ENDCAP, emtf::MIN_TRIGSECTOR, eostools::move(), edm::Handle< T >::product(), sector_processors_shower_, and tokenCSCShower_.
16 auto out_showers = std::make_unique<l1t::RegionalMuonShowerBxCollection>();
18 out_showers->setBXRange(0, 0);
T const * product() const
constexpr int MIN_TRIGSECTOR
const edm::ParameterSet & config_
emtf::sector_array< SectorProcessorShower > sector_processors_shower_
constexpr int MAX_TRIGSECTOR
edm::EDGetToken tokenCSCShower_
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...
◆ config_
◆ sector_processors_shower_
◆ tokenCSCShower_