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 
20 
21 // #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
22 
24 class Propagator;
27 
28 class GsfTrackProducerBase : public TrackProducerBase<reco::GsfTrack> {
29 public:
30 
32  explicit GsfTrackProducerBase(bool trajectoryInEvent, bool split) :
33  TrackProducerBase<reco::GsfTrack>(trajectoryInEvent),
34  useSplitting(split){}
35 
37  virtual void putInEvt(edm::Event&,
38  const Propagator* prop,
39  const MeasurementTracker* measTk,
40  std::auto_ptr<TrackingRecHitCollection>&,
41  std::auto_ptr<reco::GsfTrackCollection>&,
42  std::auto_ptr<reco::TrackExtraCollection>&,
43  std::auto_ptr<reco::GsfTrackExtraCollection>&,
44  std::auto_ptr<std::vector<Trajectory> >&,
46  const reco::BeamSpot&);
47 
48 
49 protected:
50  void fillStates (TrajectoryStateOnSurface tsos, std::vector<reco::GsfComponent5D>& states) const;
51  void fillMode (reco::GsfTrack& track, const TrajectoryStateOnSurface innertsos,
52  const Propagator& gsfProp,
53  const TransverseImpactPointExtrapolator& tipExtrapolator,
55  const reco::BeamSpot& bs) const;
56 
57 private:
61  AlgebraicSymMatrix55& covariance) const;
63  bool computeModeAtTM (const TrajectoryMeasurement& tm,
66  Measurement1D& deltaP) const;
67 
68 private:
70 
71 };
72 
73 
74 #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
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 &, const reco::BeamSpot &)
Put produced collections in the event.
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
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