kalmanalignment is hosted by Hepforge, IPPP Durham
Kalman Alignment

/home/mweber/Dokumente/CMS/Alignment/kalmanalignment/trunk/simulation/Hit.h

Go to the documentation of this file.
00001 #ifndef _Hit_h
00002 #define _Hit_h
00003 
00004 // CLHEP includes
00005 #include <CLHEP/Matrix/Vector.h>
00006 
00007 #include "Det.h"
00008 
00018 class Hit {
00020   const Det * fDet;
00022   CLHEP::HepVector fPosition;
00023  public:
00024   Hit(const Det & det, CLHEP::HepVector position);
00025   Hit(const Det & det);
00026   class HitNotFoundException {};
00028   void SetDet(const Det & det) { fDet = & det; };
00029   const Det & GetDet() const { return *fDet; };
00031   void SetPosition(CLHEP::HepVector position) { fPosition = position; };
00032   CLHEP::HepVector GetPosition() const { return fPosition; };
00034   CLHEP::HepVector GlobalMeasuredPosition() const;
00035   CLHEP::HepVector GlobalTruePosition() const;
00036   CLHEP::HepSymMatrix GetCovariance() const;
00037 };
00038 
00039 #endif