StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrackPidTraits.cxx
1 /***************************************************************************
2  *
3  * $Id: StTrackPidTraits.cxx,v 2.6 2009/11/19 14:04:33 fisyak Exp $
4  *
5  * Author: Thomas Ullrich, Sep 1999
6  ***************************************************************************
7  *
8  * Description:
9  *
10  ***************************************************************************
11  *
12  * $Log: StTrackPidTraits.cxx,v $
13  * Revision 2.6 2009/11/19 14:04:33 fisyak
14  * move definition of dst_dedx_st IN
15  *
16  * Revision 2.5 2001/04/05 04:00:58 ullrich
17  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
18  *
19  * Revision 2.4 1999/11/29 17:07:29 ullrich
20  * Moved method() from StTrackPidTraits to StDedxPidTraits.cxx
21  *
22  * Revision 2.3 1999/11/29 16:53:24 ullrich
23  * ADopted new encoding scheme for method().
24  *
25  * Revision 2.2 1999/11/15 18:48:25 ullrich
26  * Adapted new enums for dedx and track reco methods.
27  *
28  * Revision 2.1 1999/10/28 22:27:49 ullrich
29  * Adapted new StArray version. First version to compile on Linux and Sun.
30  *
31  * Revision 2.0 1999/10/12 18:43:05 ullrich
32  * Completely Revised for New Version
33  *
34  **************************************************************************/
35 #include "StTrackPidTraits.h"
36 ClassImp(StTrackPidTraits)
37 
38 static const char rcsid[] = "$Id: StTrackPidTraits.cxx,v 2.6 2009/11/19 14:04:33 fisyak Exp $";
39 
41  mDetectorId(0) { /* noop */ }
42 
43 StTrackPidTraits::StTrackPidTraits(StDetectorId det) :
44  mDetectorId(det) { /* noop */ }
45 
46 StTrackPidTraits::StTrackPidTraits(const dst_dedx_st& t) :
47  mDetectorId(t.det_id) { /* noop */ }
48 
49 StTrackPidTraits::~StTrackPidTraits() { /* noop */ }
50 
51 Short_t
52 StTrackPidTraits::detector() const { return mDetectorId; }