StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTofPidTraits.h
1 
5 /***************************************************************************
6  *
7  * $Id: StTofPidTraits.h,v 2.7 2004/07/15 16:36:25 ullrich Exp $
8  *
9  * Author: Thomas Ullrich, Dec 2000
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StTofPidTraits.h,v $
17  * Revision 2.7 2004/07/15 16:36:25 ullrich
18  * Removed all clone() declerations and definitions. Use StObject::clone() only.
19  *
20  * Revision 2.6 2004/07/12 21:04:16 jeromel
21  * Commented out clone()
22  *
23  * Revision 2.5 2004/07/08 16:56:35 ullrich
24  * New class member introduced.
25  *
26  * Revision 2.4 2002/02/22 22:56:52 jeromel
27  * Doxygen basic documentation in all header files. None of this is required
28  * for QM production.
29  *
30  * Revision 2.3 2001/03/24 03:34:59 perev
31  * clone() -> clone() const
32  *
33  * Revision 2.2 2000/12/09 02:13:23 perev
34  * default StObject::clone() const used
35  *
36  * Revision 2.1 2000/12/08 03:52:42 ullrich
37  * Initial Revision
38  *
39  ***************************************************************************/
40 #ifndef StTofPidTraits_hh
41 #define StTofPidTraits_hh
42 
43 #include "StTrackPidTraits.h"
44 
46 public:
48  StTofPidTraits(int, int, int, float, float, float);
49  ~StTofPidTraits();
50 
51  //StTofPidTraits(const StTofPidTraits&) {/* nopt */}
52  //StTofPidTraits& operator=(const StTofPidTraits&) {/* nopt */}
53 
54  int tray() const;
55  int module() const;
56  int cell() const;
57  float tof() const;
58  float pathLength() const;
59  float beta() const;
60 
61  float sigmaElectron() const;
62  float sigmaPion() const;
63  float sigmaKaon() const;
64  float sigmaProton() const;
65 
66  void setSigmaElectron(float);
67  void setSigmaPion(float);
68  void setSigmaKaon(float);
69  void setSigmaProton(float);
70 
71  void Print(Option_t *opt = "") const;
72 
73 private:
74  Int_t mTray;
75  Int_t mModule;
76  Int_t mCell;
77  Float_t mTof;
78  Float_t mPathLength;
79  Float_t mBeta;
80 
81  Float_t mSigmaElectron;
82  Float_t mSigmaPion;
83  Float_t mSigmaKaon;
84  Float_t mSigmaProton;
85 
86  ClassDef(StTofPidTraits,2)
87 };
88 
89 inline int StTofPidTraits::tray() const { return mTray; }
90 inline int StTofPidTraits::module() const { return mModule; }
91 inline int StTofPidTraits::cell() const { return mCell; }
92 inline float StTofPidTraits::tof() const { return mTof; }
93 inline float StTofPidTraits::pathLength() const { return mPathLength; }
94 inline float StTofPidTraits::beta() const { return mBeta; }
95 inline float StTofPidTraits::sigmaElectron() const { return mSigmaElectron; }
96 inline float StTofPidTraits::sigmaPion() const { return mSigmaPion; }
97 inline float StTofPidTraits::sigmaKaon() const { return mSigmaKaon; }
98 inline float StTofPidTraits::sigmaProton() const { return mSigmaProton; }
99 inline void StTofPidTraits::setSigmaElectron(float sigma) { mSigmaElectron=sigma; }
100 inline void StTofPidTraits::setSigmaPion(float sigma) { mSigmaPion=sigma; }
101 inline void StTofPidTraits::setSigmaKaon(float sigma) { mSigmaKaon=sigma; }
102 inline void StTofPidTraits::setSigmaProton(float sigma) { mSigmaProton=sigma; }
103 
104 #endif
Definition: tof.h:15