1 #ifndef RecoHI_HiTracking_HIMuonTrackingRegionProducer_H
2 #define RecoHI_HiTracking_HIMuonTrackingRegionProducer_H
45 std::vector<std::unique_ptr<TrackingRegion> >
result;
57 unsigned int nMuons = muonH->size();
63 for(
unsigned int imu=0; imu<nMuons; imu++) {
void update(const edm::EventSetup &setup)
update the services each event
T getParameter(std::string const &) const
virtual std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override
edm::EDGetTokenT< reco::TrackCollection > theMuonSourceToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void setEvent(const edm::Event &)
Pass the Event to the algo at each event.
std::vector< Track > TrackCollection
collection of Tracks
MuonTrackingRegionBuilder * theRegionBuilder
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::TrackRef &) const
Define tracking region.
edm::InputTag theMuonSource
tuple MuonTrackingRegionBuilder
virtual ~HIMuonTrackingRegionProducer()
MuonServiceProxy * theService
HIMuonTrackingRegionProducer(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)