CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/RecoVertex/LinearizationPointFinders/interface/MonteCarloLinearizationPointFinder.h

Go to the documentation of this file.
00001 #ifndef MonteCarloLinearizationPointFinder_H
00002 #define MonteCarloLinearizationPointFinder_H
00003 
00004 #include "RecoVertex/VertexTools/interface/LinearizationPointFinder.h"
00005 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00006 
00012 class MonteCarloLinearizationPointFinder : public LinearizationPointFinder
00013 {
00014 public:
00015   MonteCarloLinearizationPointFinder();
00016 
00020   void setPoint ( const GlobalPoint & pos );
00021     
00022   virtual GlobalPoint getLinearizationPoint(const std::vector<reco::TransientTrack> & ) const;
00023   virtual GlobalPoint getLinearizationPoint(const std::vector<FreeTrajectoryState> & ) const;
00024 
00025   virtual MonteCarloLinearizationPointFinder * clone() const
00026   {
00027     return new MonteCarloLinearizationPointFinder ( * this );
00028   };
00029 private:
00030   GlobalPoint thePt;
00031 };
00032 
00033 #endif