StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StKinkMc.hh
1 
9 #ifndef STAR_StKinkMc
10 #define STAR_StKinkMc
11 #include "StKinkBase.hh"
12 
13 class StMcVertex;
14 class StMcTrack;
15 
16 class StKinkMc : public StKinkBase { // StKinkBase inherits StKinkI methods
17 public:
18  StKinkMc();
20  virtual ~StKinkMc();
21 
22  Int_t decayMode() const;
23  void SetHitInfo(Int_t commonHits);
24 
25  Int_t simTpcHits() const;
26  Int_t commonTpcHits() const;
27 
28  Int_t parentCharge() const;
29  Int_t daughterCharge() const;
30 
31 protected:
32  Int_t mSimTpcHits;
33  Int_t mCommonTpcHits;
34 
35  Int_t mDecayMode;
36 
37  ClassDef(StKinkMc,5)
38 };
39 
40 inline Int_t StKinkMc::decayMode() const
41  { return mDecayMode; }
42 inline void StKinkMc::SetHitInfo(Int_t commonHits)
43  { mCommonTpcHits = commonHits; }
44 inline Int_t StKinkMc::commonTpcHits() const
45  { return mCommonTpcHits; }
46 inline Int_t StKinkMc::simTpcHits() const
47  { return mSimTpcHits; }
48 inline Int_t StKinkMc::daughterCharge() const
49  { return parentCharge(); }
50 
51 #endif
52 
53 
54 /***********************************************************************
55  * $Id: StKinkMc.hh,v 3.3 2003/06/01 04:25:19 genevb Exp $
56  * $Log: StKinkMc.hh,v $
57  * Revision 3.3 2003/06/01 04:25:19 genevb
58  * Update ClassDef version for altered inheritance
59  *
60  * Revision 3.2 2003/05/30 21:20:19 genevb
61  * doxygen savvy, encoding of FTPC mults, change virtual funcs
62  *
63  * Revision 3.1 2001/05/04 20:15:14 genevb
64  * Common interfaces and reorganization of components, add MC event info
65  *
66  * Revision 3.0 2000/07/14 12:56:48 genevb
67  * Revision 3 has event multiplicities and dedx information for vertex tracks
68  *
69  * Revision 2.0 2000/06/05 05:19:40 genevb
70  * New version of Strangeness micro DST package
71  *
72  ***********************************************************************/
73 
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Definition: StMcTrack.hh:144
Int_t decayMode() const
Definition: StKinkMc.hh:40