CMS 3D CMS Logo

PTrajectoryStateOnDet.h

Go to the documentation of this file.
00001 #ifndef PTrajectoryStateOnDet_H
00002 #define PTrajectoryStateOnDet_H
00003 
00004 #include "DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h"
00005 #include<vector>
00006 class Det;
00007 
00012 class PTrajectoryStateOnDet {
00013 public:
00014 
00015   PTrajectoryStateOnDet() : theLocalErrors(15) { }
00016   virtual ~PTrajectoryStateOnDet() {}
00017 
00018   PTrajectoryStateOnDet( const LocalTrajectoryParameters& param,
00019                          float errmatrix[15], unsigned int id,
00020                          int surfaceSide);
00021 
00022   const LocalTrajectoryParameters& parameters() const {return theLocalParameters;}
00023   const  std::vector<float> &errorMatrix() const {return theLocalErrors;}
00024   const unsigned int detId() const {return theDetId;}
00025   const int surfaceSide() const    {return theSurfaceSide;}
00026 
00027   virtual PTrajectoryStateOnDet * clone() const {return new PTrajectoryStateOnDet( * this); }
00028 
00029 private:
00030 
00031   LocalTrajectoryParameters theLocalParameters;
00032   std::vector<float> theLocalErrors;
00033   unsigned int theDetId;
00034   int          theSurfaceSide;
00035 
00036 };
00037 
00038 #endif

Generated on Tue Jun 9 17:31:48 2009 for CMSSW by  doxygen 1.5.4