1 #ifndef FastSimulation_TrackingRecHitProducer_TrackingRecHitProduct_H 2 #define FastSimulation_TrackingRecHitProducer_TrackingRecHitProduct_H 11 #include <unordered_map> 35 for (
unsigned int isimhit = 0; isimhit < simHitIdPairs.size(); ++isimhit) {
36 _recHits.back().first.addSimTrackId(simHitIdPairs[isimhit].
second->trackId());
std::pair< unsigned int, const PSimHit * > SimHitIdPair
virtual void addRecHit(const FastSingleTrackerRecHit &recHit, std::vector< SimHitIdPair > simHitIdPairs={})
virtual std::vector< SimHitIdPair > & getSimHitIdPairs()
std::vector< SimHitIdPair > _simHitsIdPairList
U second(std::pair< T, U > const &p)
virtual ~TrackingRecHitProduct()
std::pair< FastSingleTrackerRecHit, std::vector< SimHitIdPair > > RecHitToSimHitIdPairs
std::shared_ptr< TrackingRecHitProduct > TrackingRecHitProductPtr
const DetId & getDetId() const
virtual const std::vector< RecHitToSimHitIdPairs > & getRecHitToSimHitIdPairs() const
std::vector< RecHitToSimHitIdPairs > _recHits
TrackingRecHitProduct(const DetId &detId, std::vector< SimHitIdPair > &simHitsIdPairList)
virtual unsigned int numberOfRecHits() const