CMS 3D CMS Logo

ClusterParameterEstimator.h

Go to the documentation of this file.
00001 #ifndef RecoLocalTracker_Cluster_Parameter_Estimator_H
00002 #define RecoLocalTracker_Cluster_Parameter_Estimator_H
00003 
00004 #include "DataFormats/GeometrySurface/interface/LocalError.h"
00005 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00006 
00007 #include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
00008 #include "DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h"
00009 
00010 template <class T> class ClusterParameterEstimator {
00011   
00012  public:
00013    typedef std::pair<LocalPoint,LocalError>  LocalValues; 
00014    virtual LocalValues localParameters( const T&,const GeomDetUnit&) const = 0; 
00015    virtual LocalValues localParameters( const T& cluster, const GeomDetUnit& gd, const LocalTrajectoryParameters & ltp) const {
00016      return localParameters(cluster,gd);
00017    } 
00018 
00019   virtual ~ClusterParameterEstimator(){}
00020   
00021 };
00022 
00023 #endif

Generated on Tue Jun 9 17:43:54 2009 for CMSSW by  doxygen 1.5.4