StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StKinkBase.hh
1 
11 #ifndef STAR_StKinkBase
12 #define STAR_StKinkBase
13 #include "StKinkI.hh"
14 #include "StStrangeMuDst.hh"
15 
16 class StKinkBase : public StStrangeMuDst , public StKinkI {
17 public:
18  StKinkBase() {}
19  virtual ~StKinkBase() {}
20 
21  Int_t geantIdParent() const;
22  Int_t geantIdDaughter() const;
23  Float_t parentMomentumX() const;
24  Float_t parentMomentumY() const;
25  Float_t parentMomentumZ() const;
26  Float_t parentPrimMomentumZ() const;
27  Float_t parentPrimMomentumX() const;
28  Float_t parentPrimMomentumY() const;
29  Float_t daughterMomentumX() const;
30  Float_t daughterMomentumY() const;
31  Float_t daughterMomentumZ() const;
32  Float_t positionX() const;
33  Float_t positionY() const;
34  Float_t positionZ() const;
35 
36 protected:
37  Int_t mParentGeantId;
38  Int_t mDaughterGeantId;
39  Float_t mParentMomentumX;
40  Float_t mParentMomentumY;
41  Float_t mParentMomentumZ;
42  Float_t mParentPrimMomentumX;
43  Float_t mParentPrimMomentumY;
44  Float_t mParentPrimMomentumZ;
45  Float_t mDaughterMomentumX;
46  Float_t mDaughterMomentumY;
47  Float_t mDaughterMomentumZ;
48  Float_t mPositionX;
49  Float_t mPositionY;
50  Float_t mPositionZ;
51 
52 // Corresponding ClassImp presently in StKinkMuDst.cc
53 ClassDef(StKinkBase,6)
54 };
55 
56 inline Int_t StKinkBase::geantIdParent() const
57  { return mParentGeantId; }
58 inline Int_t StKinkBase::geantIdDaughter() const
59  { return mDaughterGeantId; }
60 inline Float_t StKinkBase::parentMomentumX() const
61  { return mParentMomentumX; }
62 inline Float_t StKinkBase::parentMomentumY() const
63  { return mParentMomentumY; }
64 inline Float_t StKinkBase::parentMomentumZ() const
65  { return mParentMomentumZ; }
66 inline Float_t StKinkBase::parentPrimMomentumX() const
67  { return mParentPrimMomentumX; }
68 inline Float_t StKinkBase::parentPrimMomentumY() const
69  { return mParentPrimMomentumY; }
70 inline Float_t StKinkBase::parentPrimMomentumZ() const
71  { return mParentPrimMomentumZ; }
72 inline Float_t StKinkBase::daughterMomentumX() const
73  { return mDaughterMomentumX; }
74 inline Float_t StKinkBase::daughterMomentumY() const
75  { return mDaughterMomentumY; }
76 inline Float_t StKinkBase::daughterMomentumZ() const
77  { return mDaughterMomentumZ; }
78 inline Float_t StKinkBase::positionX() const
79  { return mPositionX; }
80 inline Float_t StKinkBase::positionY() const
81  { return mPositionY; }
82 inline Float_t StKinkBase::positionZ() const
83  { return mPositionZ; }
84 
85 #endif
86 
87 
88 /***********************************************************************
89  * $Id: StKinkBase.hh,v 3.4 2003/10/20 17:20:18 perev Exp $
90  * $Log: StKinkBase.hh,v $
91  * Revision 3.4 2003/10/20 17:20:18 perev
92  * Change the order of inheritance and increased version numbers
93  *
94  * Revision 3.3 2003/05/30 21:20:18 genevb
95  * doxygen savvy, encoding of FTPC mults, change virtual funcs
96  *
97  * Revision 3.2 2002/04/30 16:02:47 genevb
98  * Common muDst, improved MC code, better kinks, StrangeCuts now a branch
99  *
100  * Revision 3.1 2001/05/04 20:15:13 genevb
101  * Common interfaces and reorganization of components, add MC event info
102  *
103  ***********************************************************************/