StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDecayMode.hh
Go to the documentation of this file.
1 
14 #ifndef STAR_StDecayMode
15 #define STAR_StDecayMode
16 #include "StMcVertex.hh"
17 #include "StMcTrack.hh"
18 
19 class StMcVertex;
20 class StMcTrack;
21 
24  kWrongDecay = 0,
25 
26  kKPlus2MuNu = 10,
27  kKPlus2PiPlusPiZero = 11,
28  kKPlus2PiPlusPiPlusPiMinus = 12,
29  kKPlus2ENuPiZero = 13,
30  kKPlus2MuNuPiZero = 14,
31  kKPlus2PiPlusPiZeroPiZero = 15,
32 
33  kKMinus2MuNu = 20,
34  kKMinus2PiMinusPiZero = 21,
35  kKMinus2PiPlusPiMinusPiMinus = 22,
36  kKMinus2ENuPiZero = 23,
37  kKMinus2MuNuPiZero = 24,
38  kKMinus2PiMinusPiZeroPiZero = 25,
39 
40  kKShort2PiPlusPiMinus = 30,
41  kKShort2PiZeroPiZero = 31,
42  kKShort2PiPlusPiMinusGamma = 32,
43 
44  kLambda2ProtonPiMinus = 40,
45  kLambda2NeutronPiZero = 41,
46  kLambda2NeutronGamma = 42,
47  kLambda2ProtonPiMinusGamma = 43,
48  kLambda2ProtonENu = 44,
49  kLambda2ProtonMuNu = 45,
50 
51  kAntiLambda2AntiProtonPiPlus = 50,
52  kAntiLambda2AntiNeutronPiZero = 51,
53  kAntiLambda2AntiNeutronGamma = 52,
54  kAntiLambda2AntiProtonPiPlusGamma = 53,
55  kAntiLambda2AntiProtonENu = 54,
56  kAntiLambda2AntiProtonMuNu = 55,
57 
58  kCascade2LambdaPiMinus = 60,
59 
60  kAntiCascade2AntiLambdaPiPlus = 70,
61 
62  kOmega2LambdaKMinus = 80,
63  kOmega2CascadePiMinus = 81,
64  kOmega2CascadePiZero = 82,
65 
66  kAntiOmega2AntiLambdaKPlus = 90,
67  kAntiOmega2AntiCascadePiPlus = 91,
68  kAntiOmega2AntiCascadePiZero = 92,
69 
70  kKLong2PiPlusPiZeroPiMinus =100,
71  kKLong2PiPlusMuNu =101,
72  kKLong2PiMinusMuNu =102,
73  kKLong2PiMinusENu =103,
74  kKLong2PiPlusENu =104,
75  kKLong2PiPlusPiMinus =105,
76 
77  kPiPlus2MuNu =110,
78  kPiPlus2MuNuGamma =111,
79  kPiPlus2ENu =112,
80 
81  kPiMinus2MuNu =120,
82  kPiMinus2MuNuGamma =121,
83  kPiMinus2ENu =122,
84 
85  kMuPlus2ENuNu =130,
86  kMuPlus2ENuNuGamma =131,
87 
88  kMuMinus2ENuNu =140,
89  kMuMinus2ENuNuGamma =141,
90 
91  kNoDecay =10000
92 };
93 
94 
95 class StDecayMode {
96 public:
97 
98 
99  StDecayMode();
100  virtual ~StDecayMode();
101  static StDecayMode* Instance();
102 
105  Int_t ParentCharge(Int_t mode);
106 
109  Int_t Process(StMcVertex* mcVertex);
110 
112 
113  Int_t KPlusProcess(Int_t ID);
114  Int_t KMinusProcess(Int_t ID);
115  Int_t KLongProcess(Int_t ID, Int_t ID2);
116  Int_t KShortProcess(Int_t ID);
117  Int_t PiPlusProcess(Int_t ID);
118  Int_t PiMinusProcess(Int_t ID);
119  Int_t MuPlusProcess(Int_t ID);
120  Int_t MuMinusProcess(Int_t ID);
121  Int_t LambdaProcess(Int_t ID);
122  Int_t AntiLambdaProcess(Int_t ID, Int_t ID2);
123  Int_t XiProcess(Int_t ID);
124  Int_t AntiXiProcess(Int_t ID);
125  Int_t OmegaProcess(Int_t ID);
126  Int_t AntiOmegaProcess(Int_t ID);
128 
129 private:
130  static StDecayMode* mInstance;
131  ClassDef(StDecayMode,0)
132 
133 };
134 
135 inline StDecayMode* StDecayMode::Instance()
136  { if (!mInstance) mInstance = new StDecayMode();
137  return mInstance; }
138 
139 #endif
140 
141 /***********************************************************************
142  *
143  * $Id: StDecayMode.hh,v 3.4 2003/05/30 21:20:18 genevb Exp $
144  * $Log: StDecayMode.hh,v $
145  * Revision 3.4 2003/05/30 21:20:18 genevb
146  * doxygen savvy, encoding of FTPC mults, change virtual funcs
147  *
148  * Revision 3.3 2002/05/29 19:08:44 genevb
149  * Some additional decay modes, better organization of enumeration
150  *
151  * Revision 3.2 2002/04/30 16:02:47 genevb
152  * Common muDst, improved MC code, better kinks, StrangeCuts now a branch
153  *
154  * Revision 3.1 2001/05/04 20:15:13 genevb
155  * Common interfaces and reorganization of components, add MC event info
156  *
157  * Revision 3.0 2000/07/14 12:56:47 genevb
158  * Revision 3 has event multiplicities and dedx information for vertex tracks
159  *
160  * Revision 2.1 2000/06/09 22:17:09 genevb
161  * Allow MC data to be copied between DSTs, other small improvements
162  *
163  * Revision 2.0 2000/06/05 05:19:38 genevb
164  * New version of Strangeness micro DST package
165  *
166  ***********************************************************************/
decayModeType
Enumeration of strange decay modes.
Definition: StDecayMode.hh:23
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Definition: StMcTrack.hh:144
Int_t ParentCharge(Int_t mode)
Definition: StDecayMode.cc:302
Int_t Process(StMcVertex *mcVertex)
Definition: StDecayMode.cc:84