Go to the documentation of this file.
51 produces<GEMPadDigiCollection>();
52 consumes<GEMDigiCollection>(
digis_);
61 descriptions.
add(
"simMuonGEMPadDigisDef", desc);
87 std::set<std::pair<int, int> > proto_pads;
91 auto digis = det_digis.get(
p->id());
92 for (
auto d = digis.first;
d != digis.second; ++
d) {
93 int pad_num = static_cast<int>(
p->padOfStrip(
d->strip()));
94 proto_pads.emplace(pad_num,
d->bx());
98 for (
const auto&
d : proto_pads) {
100 out_pads.insertDigi(
p->id(), pad_digi);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
MuonDigiCollection< GEMDetId, GEMPadDigi > GEMPadDigiCollection
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< GEMDigiCollection > digi_token_
Name of input digi Collection.
~GEMPadDigiProducer() override
void buildPads(const GEMDigiCollection &digis, GEMPadDigiCollection &out_pads) const
void produce(edm::Event &, const edm::EventSetup &) override
GEMPadDigiProducer(const edm::ParameterSet &ps)
const GEMGeometry * geometry_
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void beginRun(const edm::Run &, const edm::EventSetup &) override
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM eta partitions.