00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StPrimaryTrack.h,v 2.9 2012/05/07 14:42:57 fisyak Exp $ 00008 * 00009 * Author: Thomas Ullrich, Sep 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StPrimaryTrack.h,v $ 00017 * Revision 2.9 2012/05/07 14:42:57 fisyak 00018 * Add handilings for Track to Fast Detectors Matching 00019 * 00020 * Revision 2.8 2009/11/23 22:20:51 ullrich 00021 * Minor cleanup performed, fixed compiler warnings. 00022 * 00023 * Revision 2.7 2009/11/23 16:34:06 fisyak 00024 * Cleanup, remove dependence on dst tables, clean up software monitors 00025 * 00026 * Revision 2.6 2004/07/15 16:36:24 ullrich 00027 * Removed all clone() declerations and definitions. Use StObject::clone() only. 00028 * 00029 * Revision 2.5 2002/02/22 22:56:49 jeromel 00030 * Doxygen basic documentation in all header files. None of this is required 00031 * for QM production. 00032 * 00033 * Revision 2.4 2001/05/30 17:45:54 perev 00034 * StEvent branching 00035 * 00036 * Revision 2.3 2001/03/24 03:34:53 perev 00037 * clone() -> clone() const 00038 * 00039 * Revision 2.2 1999/10/28 22:26:13 ullrich 00040 * Adapted new StArray version. First version to compile on Linux and Sun. 00041 * 00042 * Revision 2.1 1999/10/13 19:43:31 ullrich 00043 * Initial Revision 00044 * 00045 **************************************************************************/ 00046 #ifndef StPrimaryTrack_hh 00047 #define StPrimaryTrack_hh 00048 00049 #include "StTrack.h" 00050 class StPrimaryVertex; 00051 class StPrimaryTrack; 00052 ostream& operator<<(ostream& os, const StPrimaryTrack& t); 00053 00054 class StPrimaryTrack : public StTrack { 00055 public: 00056 StPrimaryTrack(); 00057 ~StPrimaryTrack() {/* noop */} 00058 00059 StTrackType type() const { return primary; } 00060 const StVertex* vertex() const; 00061 00062 void setVertex(StVertex*); 00063 void Print(Option_t *option="") const {cout << option << *this << endl; } 00064 private: 00065 // StPrimaryVertex* mVertex; //$LINK 00066 #ifdef __CINT__ 00067 StObjLink mVertex; 00068 #else 00069 StLink<StPrimaryVertex> mVertex; 00070 #endif //__CINT__ 00071 ClassDef(StPrimaryTrack,2) 00072 }; 00073 #endif
1.5.9