1 #ifndef RecoHI_HiTracking_HIMuonTrackingRegionProducer_H
2 #define RecoHI_HiTracking_HIMuonTrackingRegionProducer_H
43 std::vector<TrackingRegion* >
result;
56 unsigned int nMuons = muonH->size();
62 for(
unsigned int imu=0; imu<nMuons; imu++) {
66 result.push_back(etaphiRegion);
void update(const edm::EventSetup &setup)
update the services each event
RectangularEtaPhiTrackingRegion * region(const reco::TrackRef &) const
define tracking region
T getParameter(std::string const &) const
virtual void setEvent(const edm::Event &)
pass the Event to the algo at each event
MuonTrackingRegionBuilder * theRegionBuilder
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &es) const
edm::InputTag theMuonSource
virtual ~HIMuonTrackingRegionProducer()
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void init(const MuonServiceProxy *)
MuonServiceProxy * theService
HIMuonTrackingRegionProducer(const edm::ParameterSet &cfg)