#include <SeedFromGenericPairOrTriplet.h>
Public Member Functions | |
bool | momentumFromPSet () |
std::vector< TrajectorySeed * > | seed (const SeedingHitSet &hits, const PropagationDirection &dir, const NavigationDirection &seedDir, const edm::EventSetup &iSetup) |
SeedFromGenericPairOrTriplet (const MagneticField *mf, const TrackerGeometry *geom, const TransientTrackingRecHitBuilder *builder, const Propagator *propagatorAlong, const Propagator *propagatorOpposite, const std::vector< int > &charges, bool momFromPSet, double errorRescaling) | |
TrajectorySeed * | seedFromPair (const SeedingHitSet &hits, const PropagationDirection &dir, const NavigationDirection &seedDir, int charge=-1) const |
TrajectorySeed * | seedFromTriplet (const SeedingHitSet &hits, const PropagationDirection &dir, const NavigationDirection &seedDir, const edm::EventSetup &iSetup, int charge=-1) const |
void | setMomentumTo (double mom) |
~SeedFromGenericPairOrTriplet () | |
Private Member Functions | |
TrajectorySeed * | buildSeed (const GlobalVector &momentum, int charge, std::vector< const BaseTrackerRecHit * > &trHits, const PropagationDirection &dir) const |
bool | qualityFilter (const SeedingHitSet &hits) const |
bool | qualityFilter (const GlobalVector &momentum) const |
Private Attributes | |
const TransientTrackingRecHitBuilder * | theBuilder |
std::vector< int > | theCharges |
double | theErrorRescaling |
const MagneticField * | theMagfield |
float | theP |
const Propagator * | thePropagatorAlong |
const Propagator * | thePropagatorOpposite |
bool | theSetMomentum |
const TrackerGeometry * | theTracker |
Definition at line 30 of file SeedFromGenericPairOrTriplet.h.
SeedFromGenericPairOrTriplet::SeedFromGenericPairOrTriplet | ( | const MagneticField * | mf, |
const TrackerGeometry * | geom, | ||
const TransientTrackingRecHitBuilder * | builder, | ||
const Propagator * | propagatorAlong, | ||
const Propagator * | propagatorOpposite, | ||
const std::vector< int > & | charges, | ||
bool | momFromPSet, | ||
double | errorRescaling | ||
) |
Definition at line 11 of file SeedFromGenericPairOrTriplet.cc.
|
inline |
Definition at line 40 of file SeedFromGenericPairOrTriplet.h.
|
private |
Definition at line 209 of file SeedFromGenericPairOrTriplet.cc.
References plotBeamSpotDB::first, TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), LogDebug, PV3DBase< T, PVType, FrameType >::mag(), oppositeToMomentum, PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), PV3DBase< T, PVType, FrameType >::phi(), Propagator::propagate(), HLT_FULL_cff::propagator, edm::OwnVector< T, P >::push_back(), TrajectoryStateOnSurface::rescaleError(), edm::second(), seed(), GeomDet::surface(), theErrorRescaling, thePropagatorAlong, thePropagatorOpposite, PV3DBase< T, PVType, FrameType >::theta(), theTracker, Surface::toGlobal(), TrajectoryStateOnSurface::update(), HLT_FULL_cff::updator, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by seedFromPair(), and seedFromTriplet().
|
inline |
Definition at line 42 of file SeedFromGenericPairOrTriplet.h.
References theSetMomentum.
Referenced by CtfSpecialSeedGenerator::run().
|
private |
Definition at line 298 of file SeedFromGenericPairOrTriplet.cc.
References LogDebug, FastCircle::rho(), SeedingHitSet::size(), StripSubdetector::TEC, theSetMomentum, and StripSubdetector::TID.
Referenced by seedFromTriplet().
|
private |
Definition at line 325 of file SeedFromGenericPairOrTriplet.cc.
References PV3DBase< T, PVType, FrameType >::perp(), theP, and theSetMomentum.
std::vector< TrajectorySeed * > SeedFromGenericPairOrTriplet::seed | ( | const SeedingHitSet & | hits, |
const PropagationDirection & | dir, | ||
const NavigationDirection & | seedDir, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 21 of file SeedFromGenericPairOrTriplet.cc.
References Exception, seedFromPair(), seedFromTriplet(), SeedingHitSet::size(), theCharges, and theSetMomentum.
Referenced by buildSeed(), CtfSpecialSeedGenerator::buildSeeds(), seedFromPair(), and seedFromTriplet().
TrajectorySeed * SeedFromGenericPairOrTriplet::seedFromPair | ( | const SeedingHitSet & | hits, |
const PropagationDirection & | dir, | ||
const NavigationDirection & | seedDir, | ||
int | charge = -1 |
||
) | const |
Definition at line 148 of file SeedFromGenericPairOrTriplet.cc.
References buildSeed(), Exception, TrackerGeometry::idToDet(), SurfaceOrientation::inner, LogDebug, oppositeToMomentum, SurfaceOrientation::outer, outsideIn, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), seed(), SeedingHitSet::size(), theP, PV3DBase< T, PVType, FrameType >::theta(), theTracker, GeomDet::toGlobal(), and csvLumiCalc::unit.
Referenced by seed(), and seedFromTriplet().
TrajectorySeed * SeedFromGenericPairOrTriplet::seedFromTriplet | ( | const SeedingHitSet & | hits, |
const PropagationDirection & | dir, | ||
const NavigationDirection & | seedDir, | ||
const edm::EventSetup & | iSetup, | ||
int | charge = -1 |
||
) | const |
Definition at line 54 of file SeedFromGenericPairOrTriplet.cc.
References buildSeed(), dir, Exception, TrackerGeometry::idToDet(), SurfaceOrientation::inner, LogDebug, MagneticField::nominalValue(), oppositeToMomentum, SurfaceOrientation::outer, outsideIn, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), qualityFilter(), seed(), seedFromPair(), SeedingHitSet::size(), theMagfield, theSetMomentum, PV3DBase< T, PVType, FrameType >::theta(), theTracker, GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by seed().
|
inline |
Definition at line 41 of file SeedFromGenericPairOrTriplet.h.
References theP.
Referenced by CtfSpecialSeedGenerator::beginRun(), and CtfSpecialSeedGenerator::run().
|
private |
Definition at line 71 of file SeedFromGenericPairOrTriplet.h.
|
private |
Definition at line 77 of file SeedFromGenericPairOrTriplet.h.
Referenced by seed().
|
private |
Definition at line 78 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed().
|
private |
Definition at line 69 of file SeedFromGenericPairOrTriplet.h.
Referenced by seedFromTriplet().
|
private |
Definition at line 75 of file SeedFromGenericPairOrTriplet.h.
Referenced by qualityFilter(), seedFromPair(), and setMomentumTo().
|
private |
Definition at line 72 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed().
|
private |
Definition at line 73 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed().
|
private |
Definition at line 76 of file SeedFromGenericPairOrTriplet.h.
Referenced by momentumFromPSet(), qualityFilter(), seed(), and seedFromTriplet().
|
private |
Definition at line 70 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed(), seedFromPair(), and seedFromTriplet().