1 #ifndef RecoHI_HiTracking_HIMuonTrackingRegionProducer_H
2 #define RecoHI_HiTracking_HIMuonTrackingRegionProducer_H
45 std::vector<TrackingRegion* >
result;
58 unsigned int nMuons = muonH->size();
64 for(
unsigned int imu=0; imu<nMuons; imu++) {
68 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
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
tuple MuonTrackingRegionBuilder
std::vector< Track > TrackCollection
collection of Tracks
MuonTrackingRegionBuilder * theRegionBuilder
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &es) const
edm::InputTag theMuonSource
virtual ~HIMuonTrackingRegionProducer()
void init(const MuonServiceProxy *)
MuonServiceProxy * theService
HIMuonTrackingRegionProducer(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)