1 #ifndef RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H
2 #define RecoTracker_TkTrackingRegions_GlobalTrackingRegionWithVerticesProducer_H
59 desc.add<
bool>(
"precise",
true);
60 desc.add<
bool>(
"useMultipleScattering",
false);
62 desc.add<
bool>(
"useFixedError",
true);
63 desc.add<
double>(
"originRadius", 0.2);
64 desc.add<
double>(
"sigmaZVertex", 3.0);
65 desc.add<
double>(
"fixedError", 0.2);
67 desc.add<
double>(
"ptMin", 0.9);
68 desc.add<
bool>(
"useFoundVertices",
true);
69 desc.add<
bool>(
"useFakeVertices",
false);
70 desc.add<
int>(
"maxNVertices", -1)->setComment(
"-1 for all vertices");
71 desc.add<
double>(
"nSigmaZ", 4.0);
73 desc.add<
bool>(
"originRScaling4BigEvts",
false);
74 desc.add<
bool>(
"ptMinScaling4BigEvts",
false);
75 desc.add<
bool>(
"halfLengthScaling4BigEvts",
false);
76 desc.add<
double>(
"minOriginR", 0);
77 desc.add<
double>(
"maxPtMin", 1000);
78 desc.add<
double>(
"minHalfLength", 0);
79 desc.add<
double>(
"scalingStartNPix", 0.0);
80 desc.add<
double>(
"scalingEndNPix", 1.0);
86 descriptions.
add(
"globalTrackingRegionWithVertices", descRegion);
90 std::vector<std::unique_ptr<TrackingRegion> >
result;
101 throw cms::Exception(
"Seeding") <<
"ERROR: input beamSpot is not valid in GlobalTrackingRegionWithVertices";
131 nPix =
input.dataSize();
153 if (scaledOriginRadius != 0 && scaledHalfLength != 0) {
154 result.push_back(std::make_unique<GlobalTrackingRegion>(
155 scaledPtMin, theOrigin_, scaledOriginRadius, scaledHalfLength,
thePrecise,
theUseMS));
161 result.push_back(std::make_unique<GlobalTrackingRegion>(
169 result.push_back(std::make_unique<GlobalTrackingRegion>(