CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
28 
30  explicit GsfTrackProducerBase(bool trajectoryInEvent, bool split) :
31  TrackProducerBase<reco::GsfTrack>(trajectoryInEvent),
32  useSplitting(split){}
33 
35  virtual void putInEvt(edm::Event&,
36  const Propagator* prop,
37  const MeasurementTracker* measTk,
38  std::auto_ptr<TrackingRecHitCollection>&,
39  std::auto_ptr<reco::GsfTrackCollection>&,
40  std::auto_ptr<reco::TrackExtraCollection>&,
41  std::auto_ptr<reco::GsfTrackExtraCollection>&,
42  std::auto_ptr<std::vector<Trajectory> >&,
44  const reco::BeamSpot&, const TrackerTopology *ttopo);
45 
46 
47 protected:
48  void fillStates (TrajectoryStateOnSurface tsos, std::vector<reco::GsfComponent5D>& states) const;
49  void fillMode (reco::GsfTrack& track, const TrajectoryStateOnSurface innertsos,
50  const Propagator& gsfProp,
51  const TransverseImpactPointExtrapolator& tipExtrapolator,
53  const reco::BeamSpot& bs) const;
54 
55 private:
59  AlgebraicSymMatrix55& covariance) const;
61  bool computeModeAtTM (const TrajectoryMeasurement& tm,
64  Measurement1D& deltaP) const;
65 
66 private:
68 
69 };
70 
71 
72 #endif
dictionary parameters
Definition: Parameters.py:2
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
void fillMode(reco::GsfTrack &track, const TrajectoryStateOnSurface innertsos, const Propagator &gsfProp, const TransverseImpactPointExtrapolator &tipExtrapolator, TrajectoryStateClosestToBeamLineBuilder &tscblBuilder, const reco::BeamSpot &bs) const
void fillStates(TrajectoryStateOnSurface tsos, std::vector< reco::GsfComponent5D > &states) const
GsfTrackProducerBase(bool trajectoryInEvent, bool split)
Constructor.
std::vector< AlgoProduct > AlgoProductCollection
void localParametersFromQpMode(const TrajectoryStateOnSurface tsos, AlgebraicVector5 &parameters, AlgebraicSymMatrix55 &covariance) const
local parameters rescaled with q/p from mode
virtual void putInEvt(edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::auto_ptr< TrackingRecHitCollection > &, std::auto_ptr< reco::GsfTrackCollection > &, std::auto_ptr< reco::TrackExtraCollection > &, std::auto_ptr< reco::GsfTrackExtraCollection > &, std::auto_ptr< std::vector< Trajectory > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const reco::BeamSpot &, const TrackerTopology *ttopo)
Put produced collections in the event.
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) ...
ROOT::Math::SVector< double, 5 > AlgebraicVector5
math::XYZPoint Point
point in the space
Definition: GsfTrackExtra.h:25
static int position[264][3]
Definition: ReadPGInfo.cc:509
math::XYZVector Vector
spatial vector
Definition: GsfTrackExtra.h:27
double split
Definition: MVATrainer.cc:139