StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrackPidTraits.h
1 
5 /***************************************************************************
6  *
7  * $Id: StTrackPidTraits.h,v 2.9 2012/05/07 14:42:58 fisyak Exp $
8  *
9  * Author: Thomas Ullrich, Sep 1999
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StTrackPidTraits.h,v $
17  * Revision 2.9 2012/05/07 14:42:58 fisyak
18  * Add handilings for Track to Fast Detectors Matching
19  *
20  * Revision 2.8 2009/11/19 14:04:33 fisyak
21  * move definition of dst_dedx_st IN
22  *
23  * Revision 2.7 2004/07/15 16:36:26 ullrich
24  * Removed all clone() declerations and definitions. Use StObject::clone() only.
25  *
26  * Revision 2.6 2002/02/22 22:56:53 jeromel
27  * Doxygen basic documentation in all header files. None of this is required
28  * for QM production.
29  *
30  * Revision 2.5 2001/04/05 04:00:46 ullrich
31  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
32  *
33  * Revision 2.4 2001/03/24 03:35:00 perev
34  * clone() -> clone() const
35  *
36  * Revision 2.3 1999/11/29 17:07:32 ullrich
37  * Moved method() from StTrackPidTraits to StDedxPidTraits.cxx
38  *
39  * Revision 2.2 1999/11/15 18:48:28 ullrich
40  * Adapted new enums for dedx and track reco methods.
41  *
42  * Revision 2.1 1999/10/28 22:27:52 ullrich
43  * Adapted new StArray version. First version to compile on Linux and Sun.
44  *
45  * Revision 2.0 1999/10/12 18:43:07 ullrich
46  * Completely Revised for New Version
47  *
48  **************************************************************************/
49 #ifndef StTrackPidTraits_hh
50 #define StTrackPidTraits_hh
51 #include "StObject.h"
52 #include "StEnumerations.h"
53 
54 #ifndef DST_DEDX_H
55 #define DST_DEDX_H
56 struct dst_dedx_st {
57  Float_t dedx[3]; /* dE/dx summary info; mean,sigma of mean, log2(<dX>) */
58  Int_t id_track; /* Foreign key to dst_track */
59  Int_t det_id; /* Det ID-SVT,TPC,FTPC, use StDetectorDefinitions.h */
60  Int_t method; /* dE/dx calculation method (see comments above) */
61  Int_t ndedx; /* number of points used in dE/dx calcu. + 100*((int)TrackLength) for fit */
62 };
63 #endif
64 class StTrackPidTraits : public StObject {
65 public:
67  StTrackPidTraits(StDetectorId);
69  virtual ~StTrackPidTraits();
70 
71  Short_t detector() const;
72 
73 protected:
74  Short_t mDetectorId;
75 
76  ClassDef(StTrackPidTraits,2)
77 };
78 #endif