1 #ifndef RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H
2 #define RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H
41 virtual std::vector<TrackingRegion* >
regions
44 std::vector<TrackingRegion* >
result;
55 throw cms::Exception(
"Seeding") <<
"ERROR: input beamSpot is not valid in GlobalTrackingRegionWithVertices";
63 for(reco::VertexCollection::const_iterator iV=vertexCollection->begin(); iV != vertexCollection->end() ; iV++) {
64 if (!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 existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
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