1 #ifndef RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H 2 #define RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H 47 desc.
add<
bool>(
"precise",
true);
48 desc.
add<
bool>(
"useMultipleScattering",
false);
50 desc.
add<
bool>(
"useFixedError",
true);
51 desc.
add<
double>(
"originRadius", 0.2);
52 desc.
add<
double>(
"sigmaZVertex", 3.0);
53 desc.
add<
double>(
"fixedError", 0.2);
55 desc.
add<
double>(
"ptMin", 0.9);
56 desc.
add<
bool>(
"useFoundVertices",
true);
57 desc.
add<
bool>(
"useFakeVertices",
false);
58 desc.
add<
int>(
"maxNVertices", -1)->setComment(
"-1 for all vertices");
59 desc.
add<
double>(
"nSigmaZ", 4.0);
65 descriptions.
add(
"globalTrackingRegionWithVertices", descRegion);
68 virtual std::vector<std::unique_ptr<TrackingRegion> >
regions 71 std::vector<std::unique_ptr<TrackingRegion> >
result;
82 throw cms::Exception(
"Seeding") <<
"ERROR: input beamSpot is not valid in GlobalTrackingRegionWithVertices";
90 for(reco::VertexCollection::const_iterator iV=vertexCollection->begin(); iV != vertexCollection->end() ; iV++) {
91 if (!iV->isValid())
continue;
100 if (result.empty()) {
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
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
ParameterDescriptionBase * add(U const &iLabel, T const &value)
virtual ~GlobalTrackingRegionWithVerticesProducer()
double sigmaZ() const
sigma z
void add(std::string const &label, ParameterSetDescription const &psetDescription)
GlobalTrackingRegionWithVerticesProducer(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
double y0() const
y coordinate
virtual std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &) const override
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
double x0() const
x coordinate