CMS 3D CMS Logo

GsfTrackProducerBase.h
Go to the documentation of this file.
1 #ifndef GsfTrackProducerBase_h
2 #define GsfTrackProducerBase_h
3 
18 
19 // #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
20 
22 class Propagator;
25 
26 class GsfTrackProducerBase : public TrackProducerBase<reco::GsfTrack> {
27 public:
29  explicit GsfTrackProducerBase(bool trajectoryInEvent, bool split)
30  : TrackProducerBase<reco::GsfTrack>(trajectoryInEvent), useSplitting(split) {}
31 
33  virtual void putInEvt(edm::Event&,
34  const Propagator* prop,
35  const MeasurementTracker* measTk,
36  std::unique_ptr<TrackingRecHitCollection>&,
37  std::unique_ptr<reco::GsfTrackCollection>&,
38  std::unique_ptr<reco::TrackExtraCollection>&,
39  std::unique_ptr<reco::GsfTrackExtraCollection>&,
40  std::unique_ptr<std::vector<Trajectory> >&,
43  const reco::BeamSpot&,
44  const TrackerTopology* ttopo);
45 
46 protected:
47  void fillStates(TrajectoryStateOnSurface tsos, std::vector<reco::GsfComponent5D>& states) const;
49  const TrajectoryStateOnSurface innertsos,
50  const Propagator& gsfProp,
51  const TransverseImpactPointExtrapolator& tipExtrapolator,
53  const reco::BeamSpot& bs) const;
54 
55 private:
59  AlgebraicSymMatrix55& covariance) const;
64  Measurement1D& deltaP) const;
65 
66 private:
68 };
69 
70 #endif
reco::GsfTrackExtra::Point
math::XYZPoint Point
point in the space
Definition: GsfTrackExtra.h:25
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:30
Measurement1D
Definition: Measurement1D.h:11
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11724
GsfTrackExtra.h
GsfTrackProducerBase::fillMode
void fillMode(reco::GsfTrack &track, const TrajectoryStateOnSurface innertsos, const Propagator &gsfProp, const TransverseImpactPointExtrapolator &tipExtrapolator, TrajectoryStateClosestToBeamLineBuilder &tscblBuilder, const reco::BeamSpot &bs) const
Definition: GsfTrackProducerBase.cc:247
reco::GsfTrackExtra::Vector
math::XYZVector Vector
spatial vector
Definition: GsfTrackExtra.h:27
TrackerTopology
Definition: TrackerTopology.h:16
TrackProducerBase< reco::GsfTrack >::AlgoProductCollection
typename Base::AlgoProductCollection AlgoProductCollection
Definition: TrackProducerBase.h:44
TransverseImpactPointExtrapolator
Definition: TransverseImpactPointExtrapolator.h:26
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
GsfTrackProducerBase::localParametersFromQpMode
void localParametersFromQpMode(const TrajectoryStateOnSurface tsos, AlgebraicVector5 &parameters, AlgebraicSymMatrix55 &covariance) const
local parameters rescaled with q/p from mode
Definition: GsfTrackProducerBase.cc:316
TrajectoryStateClosestToBeamLineBuilder
Definition: TrajectoryStateClosestToBeamLineBuilder.h:14
Propagator
Definition: Propagator.h:44
MeasurementTracker
Definition: MeasurementTracker.h:21
reco::GsfTrack
Definition: GsfTrack.h:12
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
cms::cuda::bs
bs
Definition: HistoContainer.h:76
BeamSpot.h
submitPVValidationJobs.split
def split(sequence, size)
Definition: submitPVValidationJobs.py:352
TrackProducerBase.h
MultiTrajectoryStateMode.h
reco::BeamSpot
Definition: BeamSpot.h:21
GsfTrackProducerBase
Definition: GsfTrackProducerBase.h:26
GsfTrackProducerBase::putInEvt
virtual void putInEvt(edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::unique_ptr< TrackingRecHitCollection > &, std::unique_ptr< reco::GsfTrackCollection > &, std::unique_ptr< reco::TrackExtraCollection > &, std::unique_ptr< reco::GsfTrackExtraCollection > &, std::unique_ptr< std::vector< Trajectory > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const reco::BeamSpot &, const TrackerTopology *ttopo)
Put produced collections in the event.
Definition: GsfTrackProducerBase.cc:30
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
GsfTrackExtraFwd.h
GsfTrack.h
AlgebraicVector5
ROOT::Math::SVector< double, 5 > AlgebraicVector5
Definition: AlgebraicROOTObjects.h:14
GsfTrackProducerBase::GsfTrackProducerBase
GsfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
Definition: GsfTrackProducerBase.h:29
GsfTrackProducerBase::useSplitting
bool useSplitting
Definition: GsfTrackProducerBase.h:67
cms::cuda::device::unique_ptr
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Definition: device_unique_ptr.h:33
GsfTrackFwd.h
GsfTrackProducerBase::computeModeAtTM
bool computeModeAtTM(const TrajectoryMeasurement &tm, reco::GsfTrackExtra::Point &position, reco::GsfTrackExtra::Vector &momentum, Measurement1D &deltaP) const
position, momentum and estimated deltaP at an intermediate measurement (true if successful)
Definition: GsfTrackProducerBase.cc:344
GsfTrackProducerBase::fillStates
void fillStates(TrajectoryStateOnSurface tsos, std::vector< reco::GsfComponent5D > &states) const
Definition: GsfTrackProducerBase.cc:237
TrackProducerBase
Definition: TrackProducerBase.h:39
edm::Event
Definition: Event.h:73
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition: AlgebraicROOTObjects.h:23
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
GsfComponent5D.h