StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StXiMc.hh
1 
10 #ifndef STAR_StXiMc
11 #define STAR_StXiMc
12 #include "StKinkMc.hh"
13 #include "StXiI.hh"
14 #include "StDecayMode.hh"
15 
16 
17 class StXiMc : public StKinkMc, public virtual StXiI {
18 public:
19  StXiMc();
21  ~StXiMc();
22 
23  Int_t V0Index();
24  void SetV0Index(Int_t index);
25 
27  Int_t charge() const;
28 
29  Float_t decayVertexXiX() const;
30  Float_t decayVertexXiY() const;
31  Float_t decayVertexXiZ() const;
32 
33  Float_t momBachelorX() const;
34  Float_t momBachelorY() const;
35  Float_t momBachelorZ() const;
36 
38  TVector3 momXi();
39  Float_t momXiX();
40  Float_t momXiY();
41  Float_t momXiZ();
42 
44  TVector3 momXiAtPrimVertex();
45  Float_t momXiAtPrimVertexX();
46  Float_t momXiAtPrimVertexY();
47  Float_t momXiAtPrimVertexZ();
48 
49  Float_t decayVertexV0X() const {return 999.;}
50  Float_t decayVertexV0Y() const {return 999.;}
51  Float_t decayVertexV0Z() const {return 999.;}
52  Float_t momPosX() const {return 999;}
53  Float_t momPosY() const {return 999;}
54  Float_t momPosZ() const {return 999;}
55  Float_t momNegX() const {return 999;}
56  Float_t momNegY() const {return 999;}
57  Float_t momNegZ() const {return 999;}
58  Float_t momV0X() const {return 999;}
59  Float_t momV0Y() const {return 999;}
60  Float_t momV0Z() const {return 999;}
61 
64  Int_t decayMode() const;
65  Int_t geantIdParent() const;
66 
67 protected:
68  Int_t v0;
69  ClassDef(StXiMc,7)
70 };
71 
72 inline Int_t StXiMc::charge() const {return parentCharge();}
73 inline Float_t StXiMc::decayVertexXiX() const {return positionX();}
74 inline Float_t StXiMc::decayVertexXiY() const {return positionY();}
75 inline Float_t StXiMc::decayVertexXiZ() const {return positionZ();}
76 inline Float_t StXiMc::momBachelorX() const {return daughterMomentumX();}
77 inline Float_t StXiMc::momBachelorY() const {return daughterMomentumY();}
78 inline Float_t StXiMc::momBachelorZ() const {return daughterMomentumZ();}
79 inline TVector3 StXiMc::momXi()
80  {return TVector3(momXiX(), momXiY(), momXiZ());}
81 inline Float_t StXiMc::momXiX() {return parentMomentumX();}
82 inline Float_t StXiMc::momXiY() {return parentMomentumY();}
83 inline Float_t StXiMc::momXiZ() {return parentMomentumZ();}
84 inline TVector3 StXiMc::momXiAtPrimVertex()
85  {return TVector3(momXiAtPrimVertexX(), momXiAtPrimVertexY(), momXiAtPrimVertexZ());}
86 inline Float_t StXiMc::momXiAtPrimVertexX() {return parentPrimMomentumX();}
87 inline Float_t StXiMc::momXiAtPrimVertexY() {return parentPrimMomentumY();}
88 inline Float_t StXiMc::momXiAtPrimVertexZ() {return parentPrimMomentumZ();}
89 inline Int_t StXiMc::V0Index() {return v0;}
90 inline void StXiMc::SetV0Index(Int_t index) {v0=index;}
91 inline Int_t StXiMc::geantIdParent() const {return StKinkMc::geantIdParent();}
92 inline Int_t StXiMc::decayMode() const {return StKinkMc::decayMode();}
93 
94 
95 #endif
96 
97 
98 /***********************************************************************
99  * $Id: StXiMc.hh,v 3.8 2005/07/21 16:48:47 perev Exp $
100  * $Log: StXiMc.hh,v $
101  * Revision 3.8 2005/07/21 16:48:47 perev
102  * Change ClassDef(StXiMc,6)==>7
103  *
104  * Revision 3.7 2003/10/20 17:20:19 perev
105  * Change the order of inheritance and increased version numbers
106  *
107  * Revision 3.6 2003/08/26 22:36:28 genevb
108  * Calculate Xi momenta at/near primary vertex
109  *
110  * Revision 3.5 2003/06/01 04:25:19 genevb
111  * Update ClassDef version for altered inheritance
112  *
113  * Revision 3.4 2003/05/30 21:20:20 genevb
114  * doxygen savvy, encoding of FTPC mults, change virtual funcs
115  *
116  * Revision 3.3 2001/08/23 13:21:00 genevb
117  * Many bug workarounds...
118  *
119  * Revision 3.2 2001/05/04 20:15:15 genevb
120  * Common interfaces and reorganization of components, add MC event info
121  *
122  * Revision 3.1 2000/07/14 21:28:34 genevb
123  * Added V0Mc index for XiMc, fixed bug with entries for XiMc, cleaned up controllers
124  *
125  * Revision 3.0 2000/07/14 12:56:50 genevb
126  * Revision 3 has event multiplicities and dedx information for vertex tracks
127  *
128  * Revision 2.0 2000/06/05 05:19:47 genevb
129  * New version of Strangeness micro DST package
130  *
131  ***********************************************************************/
TVector3 momXi()
Momentum of Xi/Omega at decay vertex.
Definition: StXiMc.hh:79
Definition: StXiI.hh:24
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Definition: StMcTrack.hh:144
TVector3 momXiAtPrimVertex()
Momentum of Xi/Omega at primary vertex.
Definition: StXiMc.hh:84
Float_t momXiAtPrimVertexZ()
Momentum components of Xi/Omega at primary vertex.
Definition: StXiMc.hh:88
Float_t decayVertexV0Z() const
Coordinates of decay vertex.
Definition: StXiMc.hh:51
Float_t momNegZ() const
Momentum components of neg. daughter.
Definition: StXiMc.hh:57
Float_t momBachelorZ() const
Momentum components of bachelor.
Definition: StXiMc.hh:78
Int_t decayMode() const
Definition: StXiMc.hh:92
Float_t momXiZ()
Momentum components of Xi/Omega at decay vertex.
Definition: StXiMc.hh:83
Float_t decayVertexXiZ() const
Coordinate of decay vertex.
Definition: StXiMc.hh:75
Float_t momPosZ() const
Momentum components of pos. daughter.
Definition: StXiMc.hh:54
Int_t charge() const
Particle charge.
Definition: StXiMc.hh:72
Float_t momV0Z() const
Momentum components of V0.
Definition: StXiMc.hh:60
Definition: StXiMc.hh:17
Int_t decayMode() const
Definition: StKinkMc.hh:40