//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // TrackRep for fit in SZ-plane // 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 TPCZSFIT_HH #define TPCZSFIT_HH // Base Class Headers ---------------- #include "AbsTrackRep.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op // Collaborating Class Declarations -- class TpcZSFit : public AbsTrackRep { public: // Constructors/Destructors --------- TpcZSFit(); ~TpcZSFit(){;} 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;} double getDip() const {return cos(atan(state[0][0]));} // pt=p*dip virtual void setReferencePlane(const DetPlane& pl); private: // Private Data Members ------------ // Private Methods ----------------- }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------