Changeset 1340 for trunk/source/processes/hadronic/models/parton_string/hadronization/src/G4VLongitudinalStringDecay.cc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/parton_string/hadronization/src/G4VLongitudinalStringDecay.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4VLongitudinalStringDecay.cc,v 1.2 0 2010/06/21 17:50:48vuzhinsk Exp $28 // GEANT4 tag $Name: geant4-09-0 4-beta-01$27 // $Id: G4VLongitudinalStringDecay.cc,v 1.22 2010/09/20 12:46:23 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-ref-09 $ 29 29 // 30 30 // ----------------------------------------------------------------------------- … … 71 71 72 72 // Changable Parameters below. 73 SigmaQT = 0.5 * GeV; 73 SigmaQT = 0.5 * GeV; // 0.5 74 74 75 75 StrangeSuppress = 0.44; // 27 % strange quarks produced, ie. u:d:s=1:1:0.27 … … 250 250 Hadron1 = (minMassHadronizer->*build)(string->GetLeftParton(), 251 251 string->GetRightParton()); 252 //G4cout<<"Hadron1 "<<Hadron1->GetParticleName()<<G4endl; 252 253 mass= (Hadron1)->GetPDGMass(); 253 254 } else … … 323 324 G4FragmentingString *&newString) 324 325 { 326 //G4cout<<"Start SplitUP"<<G4endl; 325 327 //... random choice of string end to use for creating the hadron (decay) 326 328 SideOfDecay = (G4UniformRand() < 0.5)? 1: -1; … … 341 343 HadronDefinition= DiQuarkSplitup(string->GetDecayParton(), newStringEnd); 342 344 } 345 346 //G4cout<<"New had "<<HadronDefinition->GetParticleName()<<G4endl; 343 347 // create new String from old, ie. keep Left and Right order, but replace decay 344 348 345 349 newString=new G4FragmentingString(*string,newStringEnd); // To store possible 346 350 // quark containt of new string 351 //G4cout<<"SplitEandP "<<G4endl; 347 352 G4LorentzVector* HadronMomentum=SplitEandP(HadronDefinition, string, newString); 348 353 … … 360 365 delete HadronMomentum; 361 366 } 367 //G4cout<<"End SplitUP"<<G4endl; 362 368 return Hadron; 363 369 }
Note: See TracChangeset
for help on using the changeset viewer.