#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 48 of file SeedTransformer.cc.
References edm::ParameterSet::getParameter(), and LogTrace.
|
virtual |
Destructor.
Definition at line 61 of file SeedTransformer.cc.
References LogTrace.
vector< Trajectory > SeedTransformer::seedTransform | ( | const TrajectorySeed & | aSeed | ) | const |
Performs the fit.
Definition at line 77 of file SeedTransformer.cc.
References MuonTransientTrackingRecHitBreaker::breakInSubRecHits(), filterCSVwithJSON::copy, TrajectoryStateOnSurface::isValid(), LogTrace, metname, TrajectorySeed::nHits(), TrajectorySeed::recHits(), HLT_50ns_5e33_v3_cff::recHits, TrajectoryStateOnSurface::rescaleError(), and TrajectoryStateOnSurface::surface().
Referenced by DirectMuonTrajectoryBuilder::trajectories(), and StandAloneMuonTrajectoryBuilder::trajectories().
TrajectoryStateOnSurface SeedTransformer::seedTransientState | ( | const TrajectorySeed & | tmpSeed | ) | const |
Definition at line 137 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 67 of file SeedTransformer.cc.
References edm::EventSetup::get().
Referenced by DirectMuonTrajectoryBuilder::trajectories(), and StandAloneMuonTrajectoryBuilder::trajectories().
|
private |
Error rescale factor.
Definition at line 62 of file SeedTransformer.h.
|
private |
Minimum number of RecHits required to perform the fit.
Definition at line 59 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 49 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 52 of file SeedTransformer.h.
|
private |
Definition at line 56 of file SeedTransformer.h.
|
private |
Definition at line 48 of file SeedTransformer.h.
|
private |
Definition at line 64 of file SeedTransformer.h.