1 #ifndef RecoHI_HiTracking_HIMuonTrackingRegionProducer_H 2 #define RecoHI_HiTracking_HIMuonTrackingRegionProducer_H 41 desc.add(
"MuonTrackingRegionBuilder", descRegion);
47 descriptions.
add(
"HiTrackingRegionEDProducer",
desc);
53 std::vector<std::unique_ptr<TrackingRegion> >
result;
64 unsigned int nMuons = muonH->size();
70 for (
unsigned int imu = 0; imu <
nMuons; imu++) {
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::TrackRef &) const
Define tracking region.
edm::EDGetTokenT< reco::TrackCollection > theMuonSourceToken
MuonTrackingRegionBuilder
void setAllowAnything()
allow any parameter label/value pairs
std::vector< Track > TrackCollection
collection of Tracks
MuonTrackingRegionBuilder * theRegionBuilder
edm::InputTag theMuonSource
void setEvent(const edm::Event &, const edm::EventSetup &)
Pass the Event to the algo at each event.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~HIMuonTrackingRegionProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override
static void fillDescriptionsOffline(edm::ParameterSetDescription &descriptions)
HIMuonTrackingRegionProducer(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)