Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:41

0001 #ifndef TrackingTools_TrajectoryState_ftsFromVertexToPoint_h
0002 #define TrackingTools_TrajectoryState_ftsFromVertexToPoint_h
0003 // -*- C++ -*-
0004 //
0005 //
0006 /**
0007  *  Generates a FreeTrajectoryState from a given measured point, vertex momentum and charge.
0008  *  auto fts = trackingTools::ftsFromVertexToPoint(magField, xmeas, xvert, momentum, charge);
0009  *  gives a FreeTrajectoryState of a track which comes from xvert to xmeas. 
0010  *  The curvature of fts is computed taken into account the bend in the magnetic field.       
0011 
0012 */
0013 //
0014 // Original Author:  Ursula Berthon, Claude Charlot
0015 //     Modified by:  Jonas Rembser
0016 //         Created:  Mon Mar 27 13:22:06 CEST 2006
0017 //
0018 //
0019 
0020 #include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
0021 
0022 class MagneticField;
0023 
0024 namespace trackingTools {
0025   FreeTrajectoryState ftsFromVertexToPoint(MagneticField const& magField,
0026                                            GlobalPoint const& xmeas,
0027                                            GlobalPoint const& xvert,
0028                                            float momentum,
0029                                            TrackCharge charge);
0030 }
0031 
0032 #endif