#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 GlobalVector &momentum) const |
bool | qualityFilter (const SeedingHitSet &hits) 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 205 of file SeedFromGenericPairOrTriplet.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, DeadROC_duringRun::dir, dqmdumpme::first, TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), LogDebug, PV3DBase< T, PVType, FrameType >::mag(), oppositeToMomentum, trajectoryStateTransform::persistentState(), TrackCandidateProducer_cfi::propagator, edm::OwnVector< T, P >::push_back(), TrajectoryStateOnSurface::rescaleError(), edm::second(), seed(), GeomDet::surface(), theErrorRescaling, thePropagatorAlong, thePropagatorOpposite, theTracker, Surface::toGlobal(), 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 |
|
private |
Definition at line 316 of file SeedFromGenericPairOrTriplet.cc.
References PV3DBase< T, PVType, FrameType >::perp(), theP, and theSetMomentum.
|
private |
Definition at line 292 of file SeedFromGenericPairOrTriplet.cc.
References hfClusterShapes_cfi::hits, LogDebug, FastCircle::rho(), StripSubdetector::TEC, theSetMomentum, and StripSubdetector::TID.
Referenced by seedFromTriplet().
std::vector< TrajectorySeed * > SeedFromGenericPairOrTriplet::seed | ( | const SeedingHitSet & | hits, |
const PropagationDirection & | dir, | ||
const NavigationDirection & | seedDir, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 28 of file SeedFromGenericPairOrTriplet.cc.
References DeadROC_duringRun::dir, Exception, hfClusterShapes_cfi::hits, seedFromPair(), seedFromTriplet(), InitialStep_cff::seeds, theCharges, and theSetMomentum.
Referenced by buildSeed(), seedFromPair(), and seedFromTriplet().
TrajectorySeed * SeedFromGenericPairOrTriplet::seedFromPair | ( | const SeedingHitSet & | hits, |
const PropagationDirection & | dir, | ||
const NavigationDirection & | seedDir, | ||
int | charge = -1 |
||
) | const |
Definition at line 150 of file SeedFromGenericPairOrTriplet.cc.
References buildSeed(), ALCARECOTkAlJpsiMuMu_cff::charge, DeadROC_duringRun::dir, Exception, hfClusterShapes_cfi::hits, TrackerGeometry::idToDet(), SurfaceOrientation::inner, LogDebug, oppositeToMomentum, SurfaceOrientation::outer, outsideIn, seed(), theP, theTracker, GeomDet::toGlobal(), and 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 65 of file SeedFromGenericPairOrTriplet.cc.
References buildSeed(), ALCARECOTkAlJpsiMuMu_cff::charge, DeadROC_duringRun::dir, Exception, hfClusterShapes_cfi::hits, TrackerGeometry::idToDet(), SurfaceOrientation::inner, LogDebug, MagneticField::nominalValue(), oppositeToMomentum, SurfaceOrientation::outer, outsideIn, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), qualityFilter(), seed(), seedFromPair(), 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 |
|
private |
Definition at line 72 of file SeedFromGenericPairOrTriplet.h.
|
private |
Definition at line 78 of file SeedFromGenericPairOrTriplet.h.
Referenced by seed().
|
private |
Definition at line 79 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed().
|
private |
Definition at line 70 of file SeedFromGenericPairOrTriplet.h.
Referenced by seedFromTriplet().
|
private |
Definition at line 76 of file SeedFromGenericPairOrTriplet.h.
Referenced by qualityFilter(), seedFromPair(), and setMomentumTo().
|
private |
Definition at line 73 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed().
|
private |
Definition at line 74 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed().
|
private |
Definition at line 77 of file SeedFromGenericPairOrTriplet.h.
Referenced by momentumFromPSet(), qualityFilter(), seed(), and seedFromTriplet().
|
private |
Definition at line 71 of file SeedFromGenericPairOrTriplet.h.
Referenced by buildSeed(), seedFromPair(), and seedFromTriplet().