#include <SeedTransformer.h>
Public Member Functions | |
std::vector< Trajectory > | seedTransform (const TrajectorySeed &) const |
Performs the fit. More... | |
SeedTransformer (const edm::ParameterSet &, edm::ConsumesCollector) | |
Constructor. More... | |
TrajectoryStateOnSurface | seedTransientState (const TrajectorySeed &) const |
void | setServices (const edm::EventSetup &) |
Set the services needed by the SeedTransformer. More... | |
virtual | ~SeedTransformer () |
Destructor. More... | |
Private Attributes | |
double | errorRescale |
Error rescale factor. More... | |
unsigned int | nMinRecHits |
Minimum number of RecHits required to perform the fit. More... | |
const TrajectoryFitter * | theFitter |
edm::ESGetToken< TrajectoryFitter, TrajectoryFitter::Record > | theFitterToken |
const MagneticField * | theMagneticField |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | theMagneticFieldToken |
const TransientTrackingRecHitBuilder * | theMuonRecHitBuilder |
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > | theMuonRecHitBuilderToken |
const Propagator * | thePropagator |
edm::ESGetToken< Propagator, TrackingComponentsRecord > | thePropagatorToken |
const GlobalTrackingGeometry * | theTrackingGeometry |
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > | theTrackingGeometryToken |
bool | useSubRecHits |
Description: this class takes a TrajectorySeed, fits its RecHits and returns a vector of Trajectories. If the fit fails, the returned vector is empty.
Definition at line 35 of file SeedTransformer.h.
SeedTransformer::SeedTransformer | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector | iC | ||
) |
Constructor.
Definition at line 47 of file SeedTransformer.cc.
References edm::ConsumesCollector::esConsumes(), edm::ParameterSet::getParameter(), LogTrace, and HLT_2024v14_cff::propagatorName.
|
virtual |
Destructor.
Definition at line 64 of file SeedTransformer.cc.
References LogTrace.
vector< Trajectory > SeedTransformer::seedTransform | ( | const TrajectorySeed & | aSeed | ) | const |
Performs the fit.
Definition at line 76 of file SeedTransformer.cc.
References MuonTransientTrackingRecHitBreaker::breakInSubRecHits(), filterCSVwithJSON::copy, TrajectoryStateOnSurface::isValid(), LogTrace, metname, TrajectorySeed::nHits(), rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, TrajectorySeed::recHits(), and TrajectoryStateOnSurface::rescaleError().
Referenced by DirectMuonTrajectoryBuilder::trajectories().
TrajectoryStateOnSurface SeedTransformer::seedTransientState | ( | const TrajectorySeed & | tmpSeed | ) | const |
Definition at line 132 of file SeedTransformer.cc.
References PTrajectoryStateOnDet::detId(), TrajectorySeed::startingState(), and trajectoryStateTransform::transientState().
void SeedTransformer::setServices | ( | const edm::EventSetup & | iSetup | ) |
Set the services needed by the SeedTransformer.
Definition at line 68 of file SeedTransformer.cc.
References edm::EventSetup::getData().
Referenced by DirectMuonTrajectoryBuilder::trajectories().
|
private |
Error rescale factor.
Definition at line 69 of file SeedTransformer.h.
|
private |
Minimum number of RecHits required to perform the fit.
Definition at line 66 of file SeedTransformer.h.
|
private |
Definition at line 55 of file SeedTransformer.h.
|
private |
Definition at line 61 of file SeedTransformer.h.
|
private |
Definition at line 54 of file SeedTransformer.h.
|
private |
Definition at line 60 of file SeedTransformer.h.
|
private |
Definition at line 56 of file SeedTransformer.h.
|
private |
Definition at line 62 of file SeedTransformer.h.
|
private |
Definition at line 57 of file SeedTransformer.h.
|
private |
Definition at line 63 of file SeedTransformer.h.
|
private |
Definition at line 53 of file SeedTransformer.h.
|
private |
Definition at line 59 of file SeedTransformer.h.
|
private |
Definition at line 71 of file SeedTransformer.h.