#include <SeedTransformer.h>
Public Member Functions | |
std::vector< Trajectory > | seedTransform (const TrajectorySeed &) const |
Performs the fit. More... | |
SeedTransformer (const edm::ParameterSet &) | |
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... | |
edm::ESHandle< TrajectoryFitter > | theFitter |
std::string | theFitterName |
edm::ESHandle< MagneticField > | theMagneticField |
edm::ESHandle< TransientTrackingRecHitBuilder > | theMuonRecHitBuilder |
std::string | theMuonRecHitBuilderName |
edm::ESHandle< Propagator > | thePropagator |
std::string | thePropagatorName |
edm::ESHandle< GlobalTrackingGeometry > | theTrackingGeometry |
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 29 of file SeedTransformer.h.
SeedTransformer::SeedTransformer | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 46 of file SeedTransformer.cc.
References edm::ParameterSet::getParameter(), LogTrace, and HLT_FULL_cff::thePropagatorName.
|
virtual |
Destructor.
Definition at line 58 of file SeedTransformer.cc.
References LogTrace.
vector< Trajectory > SeedTransformer::seedTransform | ( | const TrajectorySeed & | aSeed | ) | const |
Performs the fit.
Definition at line 70 of file SeedTransformer.cc.
References MuonTransientTrackingRecHitBreaker::breakInSubRecHits(), filterCSVwithJSON::copy, TrajectoryStateOnSurface::isValid(), LogTrace, metname, TrajectorySeed::nHits(), FastTrackerRecHitMaskProducer_cfi::recHits, and TrajectorySeed::recHits().
Referenced by DirectMuonTrajectoryBuilder::trajectories(), and StandAloneMuonTrajectoryBuilder::trajectories().
TrajectoryStateOnSurface SeedTransformer::seedTransientState | ( | const TrajectorySeed & | tmpSeed | ) | const |
Definition at line 129 of file SeedTransformer.cc.
References PTrajectoryStateOnDet::detId(), TrajectorySeed::startingState(), and trajectoryStateTransform::transientState().
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
void SeedTransformer::setServices | ( | const edm::EventSetup & | iSetup | ) |
Set the services needed by the SeedTransformer.
Definition at line 62 of file SeedTransformer.cc.
References edm::EventSetup::get(), and HLT_FULL_cff::thePropagatorName.
Referenced by DirectMuonTrajectoryBuilder::trajectories(), and StandAloneMuonTrajectoryBuilder::trajectories().
|
private |
Error rescale factor.
Definition at line 61 of file SeedTransformer.h.
|
private |
Minimum number of RecHits required to perform the fit.
Definition at line 58 of file SeedTransformer.h.
|
private |
Definition at line 49 of file SeedTransformer.h.
|
private |
Definition at line 53 of file SeedTransformer.h.
|
private |
Definition at line 48 of file SeedTransformer.h.
|
private |
Definition at line 50 of file SeedTransformer.h.
|
private |
Definition at line 54 of file SeedTransformer.h.
|
private |
Definition at line 51 of file SeedTransformer.h.
|
private |
Definition at line 55 of file SeedTransformer.h.
|
private |
Definition at line 47 of file SeedTransformer.h.
|
private |
Definition at line 63 of file SeedTransformer.h.