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