00001 #ifndef XANASymMatrix_h 00002 #define XANASymMatrix_h 00003 00004 #include "CLHEP/Matrix/SymMatrix.h" 00005 #include "TObject.h" 00006 // just a wrapper class to make SymMatrix writeable by root 00007 00008 using namespace CLHEP; 00009 00010 class XANASymMatrix : public TObject { 00011 00012 public: 00013 XANASymMatrix(); 00014 XANASymMatrix(const HepSymMatrix & m); 00015 XANASymMatrix(const XANASymMatrix & m); 00016 virtual ~XANASymMatrix(); 00017 operator HepSymMatrix() const; 00018 XANASymMatrix & operator= (const XANASymMatrix &); 00019 void DumpMat(); 00020 double * getP() const { return m;} 00021 00022 private: 00023 int size; 00024 int nrow; 00025 double *m; //[size] 00026 00027 ClassDef(XANASymMatrix,1) 00028 }; 00029 #endif