CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/RecoVertex/LinearizationPointFinders/interface/FallbackLinearizationPointFinder.h

Go to the documentation of this file.
00001 #ifndef FallbackLinearizationPointFinder_H
00002 #define FallbackLinearizationPointFinder_H
00003 
00004 #include "RecoVertex/VertexTools/interface/LinearizationPointFinder.h"
00005 #include "RecoVertex/VertexTools/interface/HsmModeFinder3d.h"
00006 
00013 class FallbackLinearizationPointFinder : public LinearizationPointFinder
00014 {
00015 public:
00016   FallbackLinearizationPointFinder ( const ModeFinder3d & m = HsmModeFinder3d() );
00017   virtual GlobalPoint getLinearizationPoint(const std::vector<reco::TransientTrack> & ) const;
00018   virtual GlobalPoint getLinearizationPoint(const std::vector<FreeTrajectoryState> & ) const;
00019 
00020   virtual FallbackLinearizationPointFinder * clone() const
00021   {
00022     return new FallbackLinearizationPointFinder ( * this );
00023   };
00024 private:
00025   ModeFinder3d * theModeFinder;
00026 };
00027 
00028 #endif