//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // an xyz reco hit (z being considered as a free parameter) // hitCoord=(x,y)^T // s=z // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCXYRECOHIT_HH #define TPCXYRECOHIT_HH // Base Class Headers ---------------- #include "AbsRecoHit.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op // Collaborating Class Declarations -- class TpcCluster; class TpcXYRecoHit : public AbsRecoHit { public: // Constructors/Destructors --------- TpcXYRecoHit(); TpcXYRecoHit(double x, double y, double z, double sigx, double sigy); TpcXYRecoHit(const TVector3& pos, double sigx, double sigy); TpcXYRecoHit(TpcCluster* cl); virtual ~TpcXYRecoHit(); virtual AbsRecoHit* clone(); // Operators TpcXYRecoHit& operator=(const TpcXYRecoHit&); friend bool operator== (const TpcXYRecoHit& lhs, const TpcXYRecoHit& rhs); friend bool operator< (const TpcXYRecoHit& lhs, const TpcXYRecoHit& rhs); friend std::ostream& operator<< (std::ostream& s, const TpcXYRecoHit& me); // Accessors ----------------------- // Modifiers ----------------------- // Operations ---------------------- virtual void setHMatrix(double s, const AbsTrackRep* stateVector, const TMatrixT& state); virtual double residualScalar(double s, const AbsTrackRep* stateVector, const TMatrixT& state); private: // Private Data Members ------------ static const int NparHitRep = 2; // Private Methods ----------------- public: ClassDef(TpcXYRecoHit,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------