174 <<
"This class requires the RandomNumberGeneratorService\n" 175 "which is not present in the configuration file. You must add the service\n" 176 "in the configuration file or remove the modules that require it.";
190 edm::LogInfo(
"PPSPixelDigiProducer") <<
"\n\n=================== Starting SimHit access" 191 <<
" ===================";
197 for (cfi =
col.begin(); cfi !=
col.end(); cfi++) {
199 <<
" Hit " << count <<
" has tof " << cfi->timeOfFlight() <<
" trackid " << cfi->trackId() <<
" bunchcr " 201 <<
", from EncodedEventId: " << cfi->eventId().bunchCrossing() <<
" " << cfi->eventId().event()
202 <<
" bcr from MixCol " << cfi.
bunch();
203 edm::LogInfo(
"PPSPixelDigiProducer") <<
" Hit: " << (*cfi) <<
" " << cfi->exitPoint();
211 edm::LogInfo(
"PPSPixelDigiProducer") <<
"Input MixCollection size = " << allRPixHits.size();
218 for (isim = allRPixHits.begin(); isim != allRPixHits.end(); ++isim) {
219 SimHitMap[(*isim).detUnitId()].push_back((*isim));
223 std::vector<edm::DetSet<CTPPSPixelDigi>> theDigiVector;
224 theDigiVector.reserve(400);
225 theDigiVector.clear();
231 theAlgoMap[it->first] = std::unique_ptr<RPixDetDigitizer>(
235 std::vector<int> input_links;
236 std::vector<std::vector<std::pair<int, double>>> output_digi_links;
242 if (!digi_collector.data.empty()) {
243 theDigiVector.push_back(digi_collector);
250 edm::LogInfo(
"PPSPixelDigiProducer") <<
"digi_output->size()=" << digi_output->size();
simhit_map::iterator simhit_map_iterator
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const CTPPSPixelGainCalibrations * getCalibs() const
CTPPSPixelGainCalibrationDBService theGainCalibrationDB
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
edm::EDGetTokenT< CrossingFrame< PSimHit > > tokenCrossingFramePPSPixel
CLHEP::HepRandomEngine * rndEngine_
virtual void getDB(const edm::Event &e, const edm::EventSetup &c)
std::map< unsigned int, std::vector< PSimHit > > simhit_map
T const * product() const
std::map< uint32_t, std::unique_ptr< RPixDetDigitizer > > theAlgoMap
StreamID streamID() const