Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:17

0001 #include "RecoVertex/KinematicFitPrimitives/interface/ParticleKinematicLinearizedTrackStateFactory.h"
0002 
0003 ParticleKinematicLinearizedTrackStateFactory::RefCountedLinearizedTrackState
0004 ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(const GlobalPoint& linP,
0005                                                                    RefCountedKinematicParticle& prt) const {
0006   return RefCountedLinearizedTrackState(new ParticleKinematicLinearizedTrackState(linP, prt));
0007 }
0008 
0009 const ParticleKinematicLinearizedTrackStateFactory* ParticleKinematicLinearizedTrackStateFactory::clone() const {
0010   return new ParticleKinematicLinearizedTrackStateFactory(*this);
0011 }
0012 
0013 ParticleKinematicLinearizedTrackStateFactory::RefCountedLinearizedTrackState
0014 ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(const GlobalPoint& linP,
0015                                                                    const reco::TransientTrack& track) const {
0016   throw VertexException("ParticleKinematicLinearizedTrackStateFactory from TransientTrack not possible");
0017 }
0018 ParticleKinematicLinearizedTrackStateFactory::RefCountedLinearizedTrackState
0019 ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(const GlobalPoint& linP,
0020                                                                    const reco::TransientTrack& track,
0021                                                                    const TrajectoryStateOnSurface& tsos) const {
0022   throw VertexException("ParticleKinematicLinearizedTrackStateFactory from TransientTrack not possible");
0023 }