1 #ifndef RecoMuon_L3MuonIsolationProducer_IsolationRegionAroundL3Muon_H
2 #define RecoMuon_L3MuonIsolationProducer_IsolationRegionAroundL3Muon_H
45 std::vector<std::unique_ptr<TrackingRegion> >
result;
55 reco::VertexCollection::const_iterator ci = vertCollection.begin();
56 if (vertCollection.size()>0) {
71 for(reco::TrackCollection::const_iterator iTrk = trks->begin();iTrk != trks->end();iTrk++) {
73 GlobalVector dirVector((iTrk)->px(),(iTrk)->py(),(iTrk)->pz());
75 std::make_unique<RectangularEtaPhiTrackingRegion>( dirVector,
GlobalPoint(0,0,
float(vz)),
78 true,measurementTrackerEvent) );
T getParameter(std::string const &) const
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Global3DPoint GlobalPoint
std::vector< Track > TrackCollection
collection of Tracks
edm::InputTag theVertexSrc
std::vector< Vertex > VertexCollection
collection of Vertex objects
IsolationRegionAroundL3Muon(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
virtual std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override
double theOriginHalfLength
virtual ~IsolationRegionAroundL3Muon()
edm::EDGetTokenT< reco::VertexCollection > theVertexToken
T const * product() const
edm::EDGetTokenT< reco::TrackCollection > theInputTrkToken
bool theVertexZconstrained