CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/RecoVertex/KinematicFitPrimitives/src/ParticleKinematicLinearizedTrackStateFactory.cc

Go to the documentation of this file.
00001 #include "RecoVertex/KinematicFitPrimitives/interface/ParticleKinematicLinearizedTrackStateFactory.h"
00002                                
00003 ParticleKinematicLinearizedTrackStateFactory::RefCountedLinearizedTrackState 
00004 ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(const GlobalPoint & linP, 
00005                                             RefCountedKinematicParticle & prt) const
00006 {
00007   return RefCountedLinearizedTrackState(new ParticleKinematicLinearizedTrackState(linP, prt));
00008 }  
00009 
00010 const ParticleKinematicLinearizedTrackStateFactory * ParticleKinematicLinearizedTrackStateFactory::clone() const
00011 {
00012   return new ParticleKinematicLinearizedTrackStateFactory ( *this );
00013 }
00014 
00015 ParticleKinematicLinearizedTrackStateFactory::RefCountedLinearizedTrackState 
00016 ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(
00017         const GlobalPoint & linP, const reco::TransientTrack & track) const
00018 {
00019 throw VertexException("ParticleKinematicLinearizedTrackStateFactory from TransientTrack not possible");
00020 }
00021 ParticleKinematicLinearizedTrackStateFactory::RefCountedLinearizedTrackState 
00022 ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(
00023         const GlobalPoint & linP, const reco::TransientTrack & track,
00024         const TrajectoryStateOnSurface& tsos) const
00025 {
00026 throw VertexException("ParticleKinematicLinearizedTrackStateFactory from TransientTrack not possible");
00027 }
00028