#ifndef BRAT_BrTrackHit #define BRAT_BrTrackHit // $Id: BrTrackHit.h,v 1.1.1.1 2001/06/21 14:55:03 hagel Exp $ // /////////////////////////////////////////////////////////////////////// // // // BrTrackHit // // // // BRAHMS Track Hit class // // // // Author : Kris Hagel (hagel@comp.tamu.edu) // // Created : 9/Mar/1998 // // Version : 1.0 // // Changed : // // // /////////////////////////////////////////////////////////////////////// // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif // Brahms Classes #ifndef BRAT_BrDetectorHit #include "BrDetectorHit.h" #endif //This is now obsolete KH 9-27-00. Kept in only for compatibility reasons //so that the old BrLocalTrackDC will still compile. Once that has been //removed from BRAT, this can be removed along with all references to BrCombinedHit #ifndef BRAT_BrCombinedHit #include "BrCombinedHit.h" #endif class BrLocalTrack; class BrTrackHit2D; class BrTrackHit: public TObject { public: BrTrackHit(); virtual ~BrTrackHit() { }; virtual Int_t GetImod() {return fImod;} virtual Int_t GetTrackID() {return fTrackID;} virtual Int_t GetHitID() {return fHitID;} virtual BrCombinedHit *GetHitcmb() {return fHitcmb;} //obsolete KH 9-27-00 virtual BrDetectorHit *GetDetectorHit() {return fDetectorHit;} virtual BrLocalTrack *GetLocalTrack() {return fLoctra;} virtual BrTrackHit2D *GetTra2d() {return fTra2d;} virtual void SetImod(Int_t i) {fImod = i;} virtual void SetTrackID(Int_t trid) {fTrackID = trid;} virtual void SetHitID(Int_t trid) {fHitID = trid;} virtual void SetHitcmb(BrCombinedHit* hitcmb) {fHitcmb = hitcmb;} //obsolete KH 9-27-00 virtual void SetDetectorHit(BrDetectorHit *hit) {fDetectorHit = hit;} virtual void SetLoctra(BrLocalTrack* loctra) {fLoctra = loctra;} virtual void SetTra2d(BrTrackHit2D* tra2d) {fTra2d = tra2d;} private: Int_t fImod; // Rownumber, rownumber,plane id Int_t fTrackID; // Unique Id for local track Int_t fHitID; // Unique HitId BrCombinedHit* fHitcmb; //! pointer to hit (obsolete KH 9-27-00) BrDetectorHit* fDetectorHit; //!Pointer to hit BrLocalTrack* fLoctra; //! pointer to local track BrTrackHit2D* fTra2d; //! pointer to 2D track (DC only) public: ClassDef(BrTrackHit,1) // BRAHMS track hit association class }; #endif // $Log: BrTrackHit.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:03 hagel // Initial revision of brat2 // // Revision 1.4 2000/09/29 02:19:37 hagel // Changes having to do with development of BrDCTrackingModule // // Revision 1.3 1999/01/21 23:23:28 hagel // 1. Changed convention for checking includes. Current convention is: // BRAT_Br...... eg BRAT_BrModule ala ROOT. // 2. Added CVS logs to .h files that didn't have them. // 3. Moved checking of include definition to first line for easier reading // 4. Put checks before all includes in the include files as per BRAT specifications // 5. Added BrGeantHeader to Geant Makefile // 6. All changes have been checked to compile on NT ala Cygnus // // Revision 1.2 1998/12/04 21:35:40 videbaek // Started updating structures for tracking. Using BrVector3D // in many places where double* or float* was used before. // Fix type SHLIB->$(SHLIB) .. // //