00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StGlobalTrack.h,v 2.7 2012/05/07 14:42:57 fisyak Exp $ 00008 * 00009 * Author: Thomas Ullrich, Sep 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StGlobalTrack.h,v $ 00017 * Revision 2.7 2012/05/07 14:42:57 fisyak 00018 * Add handilings for Track to Fast Detectors Matching 00019 * 00020 * Revision 2.6 2009/11/23 16:34:06 fisyak 00021 * Cleanup, remove dependence on dst tables, clean up software monitors 00022 * 00023 * Revision 2.5 2006/05/24 17:28:19 ullrich 00024 * Added track-at-DCA geometry. 00025 * 00026 * Revision 2.4 2004/07/15 16:36:24 ullrich 00027 * Removed all clone() declerations and definitions. Use StObject::clone() only. 00028 * 00029 * Revision 2.3 2002/02/22 22:56:48 jeromel 00030 * Doxygen basic documentation in all header files. None of this is required 00031 * for QM production. 00032 * 00033 * Revision 2.2 2001/03/24 03:34:48 perev 00034 * clone() -> clone() const 00035 * 00036 * Revision 2.1 1999/10/28 22:25:39 ullrich 00037 * Adapted new StArray version. First version to compile on Linux and Sun. 00038 * 00039 * Revision 2.0 1999/10/12 18:42:15 ullrich 00040 * Completely Revised for New Version 00041 * 00042 **************************************************************************/ 00043 #ifndef StGlobalTrack_hh 00044 #define StGlobalTrack_hh 00045 00046 #include "StTrack.h" 00047 #include "StDcaGeometry.h" 00048 class StGlobalTrack; 00049 ostream& operator<<(ostream& os, const StGlobalTrack& t); 00050 00051 class StGlobalTrack : public StTrack { 00052 public: 00053 StGlobalTrack() : mDcaGeometry(0) {} 00054 StGlobalTrack(const StGlobalTrack&); 00055 StGlobalTrack& operator=(const StGlobalTrack&); 00056 ~StGlobalTrack() {SafeDelete(mDcaGeometry);} 00057 00058 StTrackType type() const { return global; } 00059 const StVertex* vertex() const { return 0; } 00060 00061 const StDcaGeometry* dcaGeometry() const {return mDcaGeometry;} 00062 StDcaGeometry* dcaGeometry() {return mDcaGeometry;} 00063 void setDcaGeometry(StDcaGeometry* dca) {mDcaGeometry=dca;} 00064 00065 void Print(Option_t *option="") const {cout << option << *this << endl; } 00066 protected: 00067 StDcaGeometry *mDcaGeometry; 00068 00069 ClassDef(StGlobalTrack,2) 00070 }; 00071 00072 #endif
1.5.9