CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/RecoPixelVertexing/PixelTrackFitting/interface/PixelTrackBuilder.h

Go to the documentation of this file.
00001 #ifndef PixelTrackBuilder_H
00002 #define PixelTrackBuilder_H
00003 
00004 #include <vector>
00005 #include <string>
00006 #include "DataFormats/TrackReco/interface/Track.h"
00007 #include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h"
00008 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00009 class TrackingRecHit;
00010 class MagneticField;
00011 class FreeTrajectoryState;
00012 
00013 class PixelTrackBuilder {
00014 public:
00015   reco::Track * build(
00016       const Measurement1D & pt,               // transverse momentu
00017       const Measurement1D & phi,              // direction at impact point
00018       const Measurement1D & cotTheta,         // cotangent of polar angle
00019       const Measurement1D & tip,              // closest approach in 2D
00020       const Measurement1D & zip,              // z at closest approach in 2D
00021       float chi2,                             // chi2 
00022       int   charge,                           // chi2
00023       const std::vector<const TrackingRecHit* >& hits,
00024       const MagneticField * mf,
00025       const GlobalPoint   & reference = GlobalPoint(0,0,0) // reference point of a track for IP computation 
00026   ) const;   
00027   
00028 };
00029 
00030 #endif