cms-sw/cmssw — pull request #3105 by makortel (2014-03-31 09:26:51+00:00)
Title: Migrate RectangularEtaPhiTrackingRegion to consumes

The RectangularEtaPhiTrackingRegion needs MeasurementTrackerEvent if it is configured to use MTE always or for strips only (and if any seeding layer is in strips). RectangularEtaPhiTrackingRegion is constructed per event by various factory-like classes (+ a couple of others). Therefore the responsibility to call consumes+getByToken is moved to these constructing classes, and they call getByToken only if MTE usage is not disabled (```!= kNever```).

I also changed the default value of ```whereToUseMeasurementTracker``` from ```kForSiStrips``` to ```kNever``` in the constructor of RectangularEtaPhiTrackingRegion. I think this is the only sensible default value given the (also old) default value of ```measurementTracker``` parameter.

Based on top of CMSSW_7_1_X_2014-03-27-0200, should not affect physics.

FYI @VinInn @fwyzard @gennai @mtosi @cerati @rovere