#include <SeedFromConsecutiveHitsCreator.h>
Public Member Functions | |
void | init (const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) final |
void | makeSeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) final |
SeedFromConsecutiveHitsCreator (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
~SeedFromConsecutiveHitsCreator () override | |
Public Member Functions inherited from SeedCreator | |
virtual | ~SeedCreator () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &desc) |
static const char * | fillDescriptionsLabel () |
Protected Attributes | |
TkClonerImpl | cloner |
const SeedComparitor * | filter = nullptr |
bool | forceKinematicWithRegionDirection_ |
bool | isBOFF = false |
MagneticField const * | magneticField_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magneticFieldESToken_ |
std::string | mfName_ |
float | nomField |
Propagator const * | propagator_ |
const edm::ESGetToken< Propagator, TrackingComponentsRecord > | propagatorESToken_ |
const TrackingRegion * | region = nullptr |
float | theBOFFMomentum |
float | theMinOneOverPtError |
float | theOriginTransverseErrorMultiplier |
std::string | thePropagatorLabel |
TrackerGeometry const * | trackerGeometry_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeometryESToken_ |
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > | transientTrackingRecHitBuilderESToken_ |
std::string | TTRHBuilder |
Private Member Functions | |
void | buildSeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts) const |
bool | checkHit (const TrajectoryStateOnSurface &tsos, SeedingHitSet::ConstRecHitPointer hit) const |
CurvilinearTrajectoryError | initialError (float sin2Theta) const |
virtual bool | initialKinematic (GlobalTrajectoryParameters &kine, const SeedingHitSet &hits) const |
SeedingHitSet::RecHitPointer | refitHit (SeedingHitSet::ConstRecHitPointer hit, const TrajectoryStateOnSurface &state) const |
Definition at line 25 of file SeedFromConsecutiveHitsCreator.h.
SeedFromConsecutiveHitsCreator::SeedFromConsecutiveHitsCreator | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 26 of file SeedFromConsecutiveHitsCreator.cc.
|
override |
Definition at line 40 of file SeedFromConsecutiveHitsCreator.cc.
|
private |
Definition at line 159 of file SeedFromConsecutiveHitsCreator.cc.
References alongMomentum, checkHit(), hfClusterShapes_cfi::hits, TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), eostools::move(), trajectoryStateTransform::persistentState(), Propagator::propagate(), propagator_, edm::OwnVector< T, P >::push_back(), refitHit(), ElectronSeedTrackRefFix_cfi::seedCollection, trackerGeometry_, and HLT_2023v12_cff::updator.
Referenced by makeSeed().
|
private |
Definition at line 206 of file SeedFromConsecutiveHitsCreator.cc.
References SeedComparitor::compatible(), and filter.
Referenced by buildSeed().
|
static |
Definition at line 42 of file SeedFromConsecutiveHitsCreator.cc.
References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SeedFromConsecutiveHitsTripletOnlyCreator::fillDescriptions().
|
inlinestatic |
Definition at line 32 of file SeedFromConsecutiveHitsCreator.h.
|
finalvirtual |
Implements SeedCreator.
Definition at line 52 of file SeedFromConsecutiveHitsCreator.cc.
References cloner, filter, edm::EventSetup::getData(), isBOFF, magneticField_, magneticFieldESToken_, nomField, MagneticField::nominalValue(), propagator_, propagatorESToken_, region, trackerGeometry_, trackerGeometryESToken_, and transientTrackingRecHitBuilderESToken_.
|
private |
Definition at line 137 of file SeedFromConsecutiveHitsCreator.cc.
References correctionTermsCaloMet_cff::C, CurvilinearTrajectoryError::matrix(), SiStripPI::max, TrackingRegion::originRBound(), TrackingRegion::originZBound(), TrackingRegion::ptMin(), region, funct::sqr(), theMinOneOverPtError, and theOriginTransverseErrorMultiplier.
Referenced by makeSeed().
|
privatevirtual |
Reimplemented in SeedFromConsecutiveHitsTripletOnlyCreator, and SeedFromConsecutiveHitsStraightLineCreator.
Definition at line 114 of file SeedFromConsecutiveHitsCreator.cc.
References GlobalTrajectoryParameters::charge(), SeedComparitor::compatible(), filter, hfClusterShapes_cfi::hits, isBOFF, magneticField_, GlobalTrajectoryParameters::momentum(), nomField, TrackingRegion::origin(), GlobalTrajectoryParameters::position(), region, theBOFFMomentum, Vector3DBase< T, FrameTag >::unit(), and UNLIKELY.
Referenced by makeSeed().
|
finalvirtual |
Implements SeedCreator.
Definition at line 69 of file SeedFromConsecutiveHitsCreator.cc.
References buildSeed(), correctionTermsCaloMet_cff::C, FreeTrajectoryState::charge(), TrackingRegion::direction(), relativeConstraints::error, forceKinematicWithRegionDirection_, hfClusterShapes_cfi::hits, initialError(), initialKinematic(), TkTrackingRegionsMargin< T >::left(), PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::mag2(), GlobalTrajectoryParameters::magneticField(), CurvilinearTrajectoryError::matrix(), SiStripPI::max, GlobalTrajectoryParameters::momentum(), FreeTrajectoryState::momentum(), TrackingRegion::origin(), TrackingRegion::originRBound(), TrackingRegion::originZBound(), FreeTrajectoryState::parameters(), PV3DBase< T, PVType, FrameType >::perp2(), RectangularEtaPhiTrackingRegion::phiMargin(), position, TrackingRegion::ptMin(), ptMin, region, TkTrackingRegionsMargin< T >::right(), ElectronSeedTrackRefFix_cfi::seedCollection, funct::sqr(), RectangularEtaPhiTrackingRegion::tanLambdaRange(), and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 201 of file SeedFromConsecutiveHitsCreator.cc.
References cloner.
Referenced by buildSeed().
|
protected |
Definition at line 72 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init(), and refitHit().
|
protected |
Definition at line 62 of file SeedFromConsecutiveHitsCreator.h.
Referenced by checkHit(), init(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), and initialKinematic().
|
protected |
Definition at line 70 of file SeedFromConsecutiveHitsCreator.h.
Referenced by makeSeed().
|
protected |
Definition at line 67 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), and initialKinematic().
|
protected |
Definition at line 65 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init(), SeedFromConsecutiveHitsStraightLineCreator::initialKinematic(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), and initialKinematic().
|
protected |
Definition at line 76 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init().
|
protected |
Definition at line 69 of file SeedFromConsecutiveHitsCreator.h.
|
protected |
Definition at line 66 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), and initialKinematic().
|
protected |
Definition at line 64 of file SeedFromConsecutiveHitsCreator.h.
Referenced by buildSeed(), and init().
|
protected |
Definition at line 75 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init().
|
protected |
Definition at line 61 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init(), initialError(), SeedFromConsecutiveHitsStraightLineCreator::initialKinematic(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), initialKinematic(), and makeSeed().
|
protected |
Definition at line 57 of file SeedFromConsecutiveHitsCreator.h.
Referenced by SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), and initialKinematic().
|
protected |
Definition at line 59 of file SeedFromConsecutiveHitsCreator.h.
Referenced by initialError().
|
protected |
Definition at line 58 of file SeedFromConsecutiveHitsCreator.h.
Referenced by initialError().
|
protected |
Definition at line 56 of file SeedFromConsecutiveHitsCreator.h.
|
protected |
Definition at line 63 of file SeedFromConsecutiveHitsCreator.h.
Referenced by buildSeed(), and init().
|
protected |
Definition at line 74 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init().
|
protected |
Definition at line 77 of file SeedFromConsecutiveHitsCreator.h.
Referenced by init().
|
protected |
Definition at line 68 of file SeedFromConsecutiveHitsCreator.h.