Go to the documentation of this file. 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++) {
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MuonTrackingRegionBuilder * theRegionBuilder
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~HIMuonTrackingRegionProducer() override
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override
edm::InputTag theMuonSource
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::TrackRef &) const
Define tracking region.
virtual void setEvent(const edm::Event &)
Pass the Event to the algo at each event.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< reco::TrackCollection > theMuonSourceToken
void setAllowAnything()
allow any parameter label/value pairs
MuonTrackingRegionBuilder
HIMuonTrackingRegionProducer(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
static void fillDescriptionsOffline(edm::ParameterSetDescription &descriptions)
std::vector< Track > TrackCollection
collection of Tracks