1 #ifndef RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H
2 #define RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H
40 virtual std::vector<TrackingRegion* >
regions
43 std::vector<TrackingRegion* >
result;
54 throw cms::Exception(
"Seeding") <<
"ERROR: input beamSpot is not valid in GlobalTrackingRegionWithVertices";
62 for(reco::VertexCollection::const_iterator iV=vertexCollection->begin(); iV != vertexCollection->end() ; iV++) {
63 if (iV->isFake() || !iV->isValid())
continue;
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &) const
T getParameter(std::string const &) const
double z0() const
z coordinate
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Global3DPoint GlobalPoint
edm::EDGetTokenT< reco::VertexCollection > token_vertex
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::InputTag theBeamSpotTag
virtual ~GlobalTrackingRegionWithVerticesProducer()
double sigmaZ() const
sigma z
GlobalTrackingRegionWithVerticesProducer(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
double y0() const
y coordinate
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
double x0() const
x coordinate