45 std::vector<double> scalarMesonMix,
46 std::vector<double> vectorMesonMix,
63 return Barion(black,white,spin);
67 return Meson(black,white,spin);
105 G4cerr <<
" Invalid total charge found for on input: "
107 G4cerr <<
" PGDcode input quark1/quark2 : " <<
128 throw G4HadronicException(__FILE__, __LINE__,
"G4HadronBuilder::Meson : Illegal Quark content as input");
132 if (id1 + id2 == 0) {
147 PDGEncoding = abs_id1*100 + abs_id1*10;
149 if (PDGEncoding == 440) {
156 if (PDGEncoding == 550) {
168 if ( (IsUp && IsAnti ) || (!IsUp && !IsAnti ) ) PDGEncoding = - PDGEncoding;
174 #ifdef debug_Hbuilder
175 if (MesonDef == 0 ) {
176 G4cerr <<
" G4HadronBuilder - Warning: No particle for PDGcode= "
181 G4cerr <<
" G4HadronBuilder - Warning: Incorrect Charge : "
197 #ifdef debug_Hbuilder
203 G4cerr <<
" Invalid total charge found for on input: "
205 G4cerr <<
" PGDcode input quark1/quark2 : " <<
223 throw G4HadronicException(__FILE__, __LINE__,
"G4HadronBuilder::Barion: Illegal quark content as input");
244 G4int kfle = kfla + kflb + kflc - kfld - kflf;
247 theSpin = (kfla == kflb && kflb == kflc)?
SpinThreeHalf : theSpin;
251 if (theSpin ==
SpinHalf && kfld > kfle && kfle > kflf) {
256 if (diquarkSpin == 1 ) {
263 if (diquarkSpin == 3 && kfla != kfld)
270 PDGEncoding = 1000 * kfld + 100 * kflf + 10 * kfle + theSpin;
272 PDGEncoding = 1000 * kfld + 100 * kfle + 10 * kflf + theSpin;
275 PDGEncoding = -PDGEncoding;
280 #ifdef debug_Hbuilder
281 if (BarionDef == 0 ) {
282 G4cerr <<
" G4HadronBuilder - Warning: No particle for PDGcode= "
286 G4cerr <<
" G4HadronBuilder - Warning: Incorrect Charge : "
287 <<
" DiQuark/Quark = "