CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/TrackingTools/TransientTrack/src/TransientTrackFromFTSFactory.cc

Go to the documentation of this file.
00001 #include "TrackingTools/TransientTrack/interface/TransientTrackFromFTSFactory.h"
00002 #include "TrackingTools/TransientTrack/interface/TransientTrackFromFTS.h"
00003 
00004 using namespace reco;
00005 using namespace std;
00006 
00007 TransientTrack TransientTrackFromFTSFactory::build (const FreeTrajectoryState & fts) const {
00008   return TransientTrack(new TransientTrackFromFTS(fts));
00009 }
00010 
00011 TransientTrack TransientTrackFromFTSFactory::build (const FreeTrajectoryState & fts,
00012         const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry) const {
00013   return TransientTrack(new TransientTrackFromFTS(fts, trackingGeometry));
00014 }
00015