Definition at line 74 of file SeedGeneratorForCosmics.cc.
107 if (
positiveYOnly && (outrhit->globalPosition().y() < 0 || innrhit->globalPosition().y() < 0 ||
108 outrhit->globalPosition().y() < innrhit->globalPosition().y()))
110 if (
negativeYOnly && (outrhit->globalPosition().y() > 0 || innrhit->globalPosition().y() > 0 ||
111 outrhit->globalPosition().y() > innrhit->globalPosition().y()))
119 float ch = helix.stateAtVertex().charge();
120 float Mom =
sqrt(gv.x() * gv.x() + gv.y() * gv.y() + gv.z() * gv.z());
135 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
138 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
146 edm::LogError(
"TooManySeeds") <<
"Found too many seeds, bailing out.\n";
156 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
159 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
167 edm::LogError(
"TooManySeeds") <<
"Found too many seeds, bailing out.\n";
184 LogDebug(
"CosmicSeedFinder") <<
"inner point of the seed " <<
inner <<
" outer point of the seed " <<
outer;
189 if (
positiveYOnly && (outrhit->globalPosition().y() < 0 || innrhit->globalPosition().y() < 0 ||
190 outrhit->globalPosition().y() < innrhit->globalPosition().y()))
192 if (
negativeYOnly && (outrhit->globalPosition().y() > 0 || innrhit->globalPosition().y() > 0 ||
193 outrhit->globalPosition().y() > innrhit->globalPosition().y()))
201 for (
int i = 0;
i < 2;
i++) {
203 int predsign = (2 *
i) - 1;
210 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << CosmicSeed;
215 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
218 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
221 outerUpdated, (*(
HitPairs[is].
outer())).geographicalId().rawId());
226 edm::LogError(
"TooManySeeds") <<
"Found too many seeds, bailing out.\n";
232 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
234 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
240 LogDebug(
"CosmicSeedFinder") <<
" FirstTSOS " << CosmicSeed;
245 LogDebug(
"CosmicSeedFinder") <<
"outerState " << outerState;
248 LogDebug(
"CosmicSeedFinder") <<
"outerUpdated " << outerUpdated;
251 outerUpdated, (*(
HitPairs[is].
outer())).geographicalId().rawId());
256 edm::LogError(
"TooManySeeds") <<
"Found too many seeds, bailing out.\n";
262 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first update failed ";
264 edm::LogWarning(
"CosmicSeedFinder") <<
" SeedForCosmics first propagation failed ";
References alongMomentum, clone(), HitPairs, hfClusterShapes_cfi::hits, HitTriplets, mps_fire::i, TrackerGeometry::idToDet(), SurfaceOrientation::inner, edm::detail::isnan(), TrajectoryStateOnSurface::isValid(), LogDebug, mag(), magfield, maxSeeds_, negativeYOnly, MagneticField::nominalValue(), oppositeToMomentum, SurfaceOrientation::outer, convertSQLitetoXML_cfg::output, trajectoryStateTransform::persistentState(), positiveYOnly, PropagatorWithMaterial::propagate(), seedpt, OrderedHitPairs::size(), OrderedHitTriplets::size(), mathSSE::sqrt(), GeomDet::surface(), thePropagatorAl, thePropagatorOp, theUpdator, Surface::toGlobal(), tracker, and KFUpdator::update().
Referenced by run().