//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // TrackRep for fit in conformal space // straight line fit // _state[0][0]=slope // _state[1][0]=offset // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCCONFMAPFIT_HH #define TPCCONFMAPFIT_HH // Base Class Headers ---------------- #include "AbsTrackRep.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op // Collaborating Class Declarations -- class TpcConfMapFit : public AbsTrackRep { public: // Constructors/Destructors --------- TpcConfMapFit(); ~TpcConfMapFit(){;} virtual AbsTrackRep* clone(); virtual AbsTrackRep* prototype(); // Accessors ----------------------- // Modifiers ----------------------- // Operations ---------------------- virtual void predict(const DetPlane& plane, TMatrixT& statePred, TMatrixT& covPred, TMatrixT& jacobian); virtual void extrapolate(const DetPlane& plane, TMatrixT& statePred); virtual void extrapolate(const DetPlane& plane, TMatrixT& statePred, TMatrixT& covPred, TMatrixT& jacobian); virtual TVector3 getPos(const DetPlane& pl); virtual TVector3 getMom(const DetPlane& pl); virtual int getCharge() const {return 1;} virtual int getDim() const {return 2;} virtual void setReferencePlane(const DetPlane& pl); double getR2(); double getR(); // returns R from conformal mapping fit void setRotated(bool flag=true){_isRotated=flag;} bool isRotated() const {return _isRotated;} private: // Private Data Members ------------ bool _isRotated; // Private Methods ----------------- }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------