Definition at line 38 of file GEMDigiProducer.cc.
◆ GEMDigiSimLinks
◆ GEMDigiProducer()
◆ ~GEMDigiProducer()
GEMDigiProducer::~GEMDigiProducer |
( |
| ) |
|
|
overridedefault |
◆ beginRun()
◆ fillDescriptions()
Definition at line 82 of file GEMDigiProducer.cc.
87 desc.add<
double>(
"signalPropagationSpeed", 0.66);
88 desc.add<
double>(
"timeResolution", 5.);
89 desc.add<
double>(
"timeJitter", 1.0);
90 desc.add<
double>(
"averageShapingTime", 50.0);
91 desc.add<
double>(
"averageEfficiency", 0.98);
92 desc.add<
double>(
"averageNoiseRate", 0.001);
96 desc.add<
int>(
"minBunch", -5);
97 desc.add<
int>(
"maxBunch", 3);
99 desc.add<
bool>(
"fixedRollRadius",
true);
101 desc.add<
bool>(
"digitizeOnlyMuons",
false);
102 desc.add<
bool>(
"simulateBkgNoise",
false);
104 desc.add<
bool>(
"simulateNoiseCLS",
true);
105 desc.add<
bool>(
"simulateElectronBkg",
true);
107 desc.add<
bool>(
"simulateIntrinsicNoise",
false);
109 desc.add<
double>(
"instLumi", 7.5);
111 desc.add<
double>(
"rateFact", 1.0);
113 desc.add<
double>(
"bxWidth", 25E-9);
114 desc.add<
double>(
"referenceInstLumi", 5.);
116 desc.add<
double>(
"resolutionX", 0.03);
122 desc.add<
double>(
"GE11ModNeuBkgParam0", 5710.23);
123 desc.add<
double>(
"GE11ModNeuBkgParam1", -43.3928);
124 desc.add<
double>(
"GE11ModNeuBkgParam2", 0.0863681);
125 desc.add<
double>(
"GE21ModNeuBkgParam0", 1440.44);
126 desc.add<
double>(
"GE21ModNeuBkgParam1", -7.48607);
127 desc.add<
double>(
"GE21ModNeuBkgParam2", 0.0103078);
128 desc.add<
double>(
"GE11ElecBkgParam0", 406.249);
129 desc.add<
double>(
"GE11ElecBkgParam1", -2.90939);
130 desc.add<
double>(
"GE11ElecBkgParam2", 0.00548191);
131 desc.add<
double>(
"GE21ElecBkgParam0", 97.0505);
132 desc.add<
double>(
"GE21ElecBkgParam1", -43.3928);
133 desc.add<
double>(
"GE21ElecBkgParam2", 00.000550599);
135 descriptions.
add(
"simMuonGEMDigisDef",
desc);
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ produce()
Definition at line 144 of file GEMDigiProducer.cc.
146 CLHEP::HepRandomEngine* engine = &rng->
getEngine(
e.streamID());
154 auto digis = std::make_unique<GEMDigiCollection>();
155 auto gemDigiSimLinks = std::make_unique<GEMDigiSimLinks>();
158 std::map<uint32_t, edm::PSimHitContainer> hitMap;
166 for (
const auto& roll : etaPartitions) {
168 const uint32_t rawId(detId.rawId());
169 const auto&
simHits(hitMap[rawId]);
171 LogDebug(
"GEMDigiProducer") <<
"GEMDigiProducer: found " <<
simHits.size() <<
" hit(s) in eta partition" << rawId;
References cf_token, MillePedeFileConverter_cfg::e, GEMGeometry::etaPartitions(), gemDigiModule_, geometry_, edm::RandomNumberGenerator::getEngine(), hfClusterShapes_cfi::hits, LogDebug, eostools::move(), edm::Handle< T >::product(), and FastTrackerRecHitCombiner_cfi::simHits.
◆ cf_token
◆ gemDigiModule_
◆ geom_token_
◆ geometry_