Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 79 of file PPSPixelDigiProducer.cc.
Definition at line 166 of file PPSPixelDigiProducer.cc.
171 <<
"This class requires the RandomNumberGeneratorService\n"
172 "which is not present in the configuration file. You must add the service\n"
173 "in the configuration file or remove the modules that require it.";
188 edm::LogInfo(
"PPS") <<
"PixelDigiProducer \n\n=================== Starting SimHit access"
189 <<
" ===================";
194 for (cfi =
col.begin(); cfi !=
col.end(); cfi++) {
196 <<
" Hit " <<
count <<
" has tof " << cfi->timeOfFlight() <<
" trackid " << cfi->trackId()
198 <<
", from EncodedEventId: " << cfi->eventId().bunchCrossing() <<
" "
199 << cfi->eventId().event() <<
" bcr from MixCol " << cfi.
bunch();
200 edm::LogInfo(
"PPS") <<
" PixelDigiProducer Hit: " << (*cfi) <<
" " << cfi->exitPoint();
208 edm::LogInfo(
"PPS") <<
"PixelDigiProducer Input MixCollection size = " << allRPixHits.size();
215 for (isim = allRPixHits.begin(); isim != allRPixHits.end(); ++isim) {
216 SimHitMap[(*isim).detUnitId()].push_back((*isim));
220 std::vector<edm::DetSet<CTPPSPixelDigi>> theDigiVector;
221 theDigiVector.reserve(400);
222 theDigiVector.clear();
228 theAlgoMap[it->first] = std::make_unique<RPixDetDigitizer>(
232 std::vector<int> input_links;
233 std::vector<std::vector<std::pair<int, double>>> output_digi_links;
236 SimHitMap[it->first], input_links, digi_collector.data, output_digi_links, &gainCalibration, &thePixelTopology);
238 if (!digi_collector.data.empty()) {
239 theDigiVector.push_back(digi_collector);
246 edm::LogInfo(
"PPS") <<
"PixelDigiProducer digi_output->size()=" << digi_output->size();
References MixCollection< T >::MixItr::bunch(), cuy::col, conf_, submitPVResolutionJobs::count, edm::DetSet< T >::data, Exception, gainCalibESToken_, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), MixCollection< T >::MixItr::getTrigger(), iEvent, edm::Service< T >::isAvailable(), eostools::move(), edm::Handle< T >::product(), rndEngine_, theAlgoMap, thePixelTopologyToken_, tokenCrossingFramePPSPixel, and verbosity_.