CMS 3D CMS Logo

GsfTrajectoryFitter.h
Go to the documentation of this file.
1 #ifndef GsfTrajectoryFitter_H_
2 #define GsfTrajectoryFitter_H_
3 
12 
13 #include <vector>
14 
16 
20 class GsfTrajectoryFitter final : public TrajectoryFitter {
21 private:
24 
25 public:
29  GsfTrajectoryFitter(const Propagator& aPropagator,
30  const TrajectoryStateUpdator& aUpdator,
31  const MeasurementEstimator& aEstimator,
32  const MultiTrajectoryStateMerger& aMerger,
33  const DetLayerGeometry* detLayerGeometry = nullptr);
34 
35  ~GsfTrajectoryFitter() override;
36 
37  Trajectory fitOne(const Trajectory& t, fitType type) const override;
38  Trajectory fitOne(const TrajectorySeed& aSeed,
39  const RecHitContainer& hits,
40  const TrajectoryStateOnSurface& firstPredTsos,
41  fitType type) const override;
42  Trajectory fitOne(const TrajectorySeed& aSeed, const RecHitContainer& hits, fitType type) const override;
43 
44  const Propagator* propagator() const { return thePropagator; }
45  const TrajectoryStateUpdator* updator() const { return theUpdator; }
46  const MeasurementEstimator* estimator() const { return theEstimator; }
47  const MultiTrajectoryStateMerger* merger() const { return theMerger; }
48 
49  std::unique_ptr<TrajectoryFitter> clone() const override {
50  return std::unique_ptr<TrajectoryFitter>(
52  }
53 
54  void setHitCloner(TkCloner const* hc) override { theHitCloner = hc; }
55 
56 private:
61  TkCloner const* theHitCloner = nullptr;
64 
65  bool theTiming;
66 };
67 
68 #endif //TR_GsfTrajectoryFitter_H_
Propagator.h
MeasurementEstimator
Definition: MeasurementEstimator.h:19
TrajectoryStateOnSurface.h
GsfTrajectoryFitter::estimator
const MeasurementEstimator * estimator() const
Definition: GsfTrajectoryFitter.h:46
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
GsfTrajectoryFitter::theTiming
bool theTiming
Definition: GsfTrajectoryFitter.h:65
GsfTrajectoryFitter::updator
const TrajectoryStateUpdator * updator() const
Definition: GsfTrajectoryFitter.h:45
TrajectoryMeasurement.h
GsfTrajectoryFitter::setHitCloner
void setHitCloner(TkCloner const *hc) override
Definition: GsfTrajectoryFitter.h:54
GsfTrajectoryFitter::~GsfTrajectoryFitter
~GsfTrajectoryFitter() override
Definition: GsfTrajectoryFitter.cc:28
TrajectoryStateUpdator.h
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
GsfTrajectoryFitter::theEstimator
const MeasurementEstimator * theEstimator
Definition: GsfTrajectoryFitter.h:59
TkCloner
Definition: TkCloner.h:16
MeasurementEstimator.h
GsfTrajectoryFitter::theGeometry
const DetLayerGeometry * theGeometry
Definition: GsfTrajectoryFitter.h:63
TrajectoryFitter.h
GsfTrajectoryFitter::clone
std::unique_ptr< TrajectoryFitter > clone() const override
Definition: GsfTrajectoryFitter.h:49
GsfTrajectoryFitter
Definition: GsfTrajectoryFitter.h:20
GsfTrajectoryFitter::fitOne
Trajectory fitOne(const Trajectory &t, fitType type) const override
Definition: GsfTrajectoryFitter.cc:35
DetLayerGeometry.h
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
DetLayerGeometry
Definition: DetLayerGeometry.h:18
GsfTrajectoryFitter::TM
TrajectoryMeasurement TM
Definition: GsfTrajectoryFitter.h:23
GsfTrajectoryFitter::theUpdator
const TrajectoryStateUpdator * theUpdator
Definition: GsfTrajectoryFitter.h:58
Trajectory.h
GsfTrajectoryFitter::TSOS
TrajectoryStateOnSurface TSOS
Definition: GsfTrajectoryFitter.h:22
TrajectoryFitter
Definition: TrajectoryFitter.h:19
GsfTrajectoryFitter::GsfTrajectoryFitter
GsfTrajectoryFitter(const Propagator &aPropagator, const TrajectoryStateUpdator &aUpdator, const MeasurementEstimator &aEstimator, const MultiTrajectoryStateMerger &aMerger, const DetLayerGeometry *detLayerGeometry=nullptr)
Definition: GsfTrajectoryFitter.cc:14
Trajectory
Definition: Trajectory.h:38
GsfTrajectoryFitter::merger
const MultiTrajectoryStateMerger * merger() const
Definition: GsfTrajectoryFitter.h:47
TrajectorySeed
Definition: TrajectorySeed.h:18
GsfTrajectoryFitter::propagator
const Propagator * propagator() const
Definition: GsfTrajectoryFitter.h:44
GsfTrajectoryFitter::thePropagator
const Propagator * thePropagator
Definition: GsfTrajectoryFitter.h:57
TrajectoryStateUpdator
Definition: TrajectoryStateUpdator.h:14
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
MultiTrajectoryStateMerger
Definition: MultiTrajectoryStateMerger.h:13
GsfTrajectoryFitter::theHitCloner
TkCloner const * theHitCloner
Definition: GsfTrajectoryFitter.h:61
GsfTrajectoryFitter::dummyGeometry
const DetLayerGeometry dummyGeometry
Definition: GsfTrajectoryFitter.h:62
TrajectoryFitter::RecHitContainer
Trajectory::RecHitContainer RecHitContainer
Definition: TrajectoryFitter.h:24
GsfTrajectoryFitter::theMerger
const MultiTrajectoryStateMerger * theMerger
Definition: GsfTrajectoryFitter.h:60
TrajectoryFitter::fitType
fitType
Definition: TrajectoryFitter.h:21