00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StTrackPidTraits.h,v 2.9 2012/05/07 14:42:58 fisyak Exp $ 00008 * 00009 * Author: Thomas Ullrich, Sep 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StTrackPidTraits.h,v $ 00017 * Revision 2.9 2012/05/07 14:42:58 fisyak 00018 * Add handilings for Track to Fast Detectors Matching 00019 * 00020 * Revision 2.8 2009/11/19 14:04:33 fisyak 00021 * move definition of dst_dedx_st IN 00022 * 00023 * Revision 2.7 2004/07/15 16:36:26 ullrich 00024 * Removed all clone() declerations and definitions. Use StObject::clone() only. 00025 * 00026 * Revision 2.6 2002/02/22 22:56:53 jeromel 00027 * Doxygen basic documentation in all header files. None of this is required 00028 * for QM production. 00029 * 00030 * Revision 2.5 2001/04/05 04:00:46 ullrich 00031 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00032 * 00033 * Revision 2.4 2001/03/24 03:35:00 perev 00034 * clone() -> clone() const 00035 * 00036 * Revision 2.3 1999/11/29 17:07:32 ullrich 00037 * Moved method() from StTrackPidTraits to StDedxPidTraits.cxx 00038 * 00039 * Revision 2.2 1999/11/15 18:48:28 ullrich 00040 * Adapted new enums for dedx and track reco methods. 00041 * 00042 * Revision 2.1 1999/10/28 22:27:52 ullrich 00043 * Adapted new StArray version. First version to compile on Linux and Sun. 00044 * 00045 * Revision 2.0 1999/10/12 18:43:07 ullrich 00046 * Completely Revised for New Version 00047 * 00048 **************************************************************************/ 00049 #ifndef StTrackPidTraits_hh 00050 #define StTrackPidTraits_hh 00051 #include "StObject.h" 00052 #include "StEnumerations.h" 00053 00054 #ifndef DST_DEDX_H 00055 #define DST_DEDX_H 00056 struct dst_dedx_st { 00057 Float_t dedx[3]; /* dE/dx summary info; mean,sigma of mean, log2(<dX>) */ 00058 Int_t id_track; /* Foreign key to dst_track */ 00059 Int_t det_id; /* Det ID-SVT,TPC,FTPC, use StDetectorDefinitions.h */ 00060 Int_t method; /* dE/dx calculation method (see comments above) */ 00061 Int_t ndedx; /* number of points used in dE/dx calcu. + 100*((int)TrackLength) for fit */ 00062 }; 00063 #endif 00064 class StTrackPidTraits : public StObject { 00065 public: 00066 StTrackPidTraits(); 00067 StTrackPidTraits(StDetectorId); 00068 StTrackPidTraits(const dst_dedx_st&); 00069 virtual ~StTrackPidTraits(); 00070 00071 Short_t detector() const; 00072 00073 protected: 00074 Short_t mDetectorId; 00075 00076 ClassDef(StTrackPidTraits,2) 00077 }; 00078 #endif
1.5.9