diff --git a/Validation/RecoHI/plugins/HitPixelLayersTPSelector.h b/Validation/RecoHI/plugins/HitPixelLayersTPSelector.h index aac9abec2ba6b..90441bbc14731 100644 --- a/Validation/RecoHI/plugins/HitPixelLayersTPSelector.h +++ b/Validation/RecoHI/plugins/HitPixelLayersTPSelector.h @@ -96,26 +96,7 @@ class HitPixelLayersTPSelector std::vector pixelHitPattern( const TrackingParticleRef& simTrack, const TrackerTopology *tTopo ) { std::vector hitpattern(5,false); // PXB 0,1,2 PXF 0,1 - /* -#warning "This file has been modified just to get it to compile without any regard as to whether it still functions as intended" -#ifdef REMOVED_JUST_TO_GET_IT_TO_COMPILE__THIS_CODE_NEEDS_TO_BE_CHECKED - for(std::vector::const_iterator simHit = simTrack->pSimHit_begin();simHit!= simTrack->pSimHit_end();simHit++){ - - DetId id = DetId(simHit->detUnitId()); - uint32_t detid = id.det(); - uint32_t subdet = id.subdetId(); - - if (detid == DetId::Tracker) { - if (subdet == PixelSubdetector::PixelBarrel) - hitpattern[tTopo->pxbLayer(id)-1]=true; - else if (subdet == PixelSubdetector::PixelEndcap) - hitpattern[tTopo->pxfDisk(id)+2]=true; - } - - }// end simhit loop -#endif - */ - // Indeed this no longer functions as intended, but this code should no longer be accessed, since tripletSeedOnly_ has been changed to False. We will clean up when we figure out how to do this properly - Matt Nguyen, 24/7/2013 + // This currently will always return false, since we can no loger use the sim hits to check for triplets. This would need to be fixed if we want to enable this feature, but it's not being used at the moment, since tripletSeedOnly is always set to False - Matt Nguyen, 24/7/2013 return hitpattern; }