- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- Location:
- trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QBesIKJY.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QBesIKJY.cc,v 1.4 2009/11/10 17:13:46 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QBesIKJY ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QCHIPSWorld.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4QCHIPSWorld.cc,v 1.3 3 2009/02/23 09:49:24mkossov Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4QCHIPSWorld.cc,v 1.34 2010/06/23 13:56:30 mkossov Exp $ 28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QCHIPSWorld ---------------- … … 100 100 { 101 101 //static const G4int mnofParts = 486; // max number of particles (up to A=80) 102 static const G4int mnofParts = 494; // max number of particles (up to A=80) IN 102 //static const G4int mnofParts = 494; // max number of particles (up to A=80) 103 static const G4int mnofParts = 512; // max#of particles,A<57,G4QParticle::InitDecayVector 103 104 static const G4bool cf = true; // verbose=true G4QPDG construction flag 104 105 #ifdef debug -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QCandidate.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QCandidate.cc,v 1.35 2009/02/23 09:49:24 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QCandidate ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QChipolino.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QChipolino.cc,v 1.36 2009/08/10 16:36:53 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QChipolino ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QContent.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QContent.cc,v 1.49 2009/08/07 14:20:57 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QContent ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QDecayChan.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QDecayChan.cc,v 1.28 2009/02/23 09:49:24 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QDecayChan ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QEnvironment.cc
r1337 r1340 28 28 // 29 29 // 30 // $Id: G4QEnvironment.cc,v 1.1 67 2010/06/19 07:46:44 mkossov Exp $31 // GEANT4 tag $Name: geant4-09-04-beta-01$30 // $Id: G4QEnvironment.cc,v 1.171 2010/06/25 14:03:44 mkossov Exp $ 31 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 32 32 // 33 33 // ---------------- G4QEnvironment ---------------- … … 4476 4476 static const G4double mXiM = G4QPDGCode(3312).GetMass(); 4477 4477 static const G4double mOmM = G4QPDGCode(3334).GetMass(); 4478 #ifdef debug4479 4478 static const G4double mDeut= G4QPDGCode(2112).GetNuclMass(1,1,0); 4480 #endif4481 4479 static const G4double mTrit= G4QPDGCode(2112).GetNuclMass(1,2,0); 4482 4480 static const G4double mHe3 = G4QPDGCode(2112).GetNuclMass(2,1,0); … … 5938 5936 G4LorentzVector cH4Mom = curHadr->Get4Momentum(); // 4-mom of the current hadron 5939 5937 tot4Mom-=cH4Mom; // Reduce theTotal 4mom by theCurrent 4mom 5938 totCharge-=curHadr->GetCharge(); // @!@ 5939 totBaryoN-=curHadr->GetBaryonNumber(); // @!@ 5940 #ifdef pdebug 5941 G4cout<<"G4QE::FSI:Cur4M="<<tot4Mom<<",tC="<<totCharge<<",tB="<<totBaryoN<<G4endl; 5942 #endif 5940 5943 if(hadron+1==nHadr) // The Last Hadron in the set 5941 5944 { 5945 #ifdef pdebug 5946 G4cout<<"G4QE::FSI:Last4M="<<tot4Mom<<",tC="<<totCharge<<",tB="<<totBaryoN<<G4endl; 5947 #endif 5948 G4double misM=0.; // @!@ 5949 G4int mPDG=0; // @!@ 5950 if(totCharge>=0 && totBaryoN > 0) // @!@ 5951 { // @!@ 5952 mPDG=90000000+999*totCharge+totBaryoN;// @!@ 5953 misM=G4QPDGCode(mPDG).GetMass(); // @!@ 5954 } // @!@ 5942 5955 G4double re =tot4Mom.e(); 5943 5956 G4double rpx=tot4Mom.px(); 5944 5957 G4double rpy=tot4Mom.py(); 5945 5958 G4double rpz=tot4Mom.pz(); 5959 G4double re2=re*re; // @!@ 5946 5960 G4double dmo=rpx*rpx+rpy*rpy+rpz*rpz; 5947 G4double dem=re*re+dmo; 5948 #ifdef debug 5949 G4cout<<"G4QE::FSI: Is Energy&Mom conserved? t4M="<<tot4Mom<<",d2="<<dem<<G4endl; 5950 #endif 5951 //if(2>3) //@@En/Mom conservation check is closed 5952 if(dem>0.0001) // Energy or momentum is not conserved 5953 { 5954 #ifdef debug 5955 if(dem>.1) 5956 { 5957 G4cout<<"---Warning---G4QE::FSI:E/Mcons4M="<<tot4Mom<<dem<<".Correct!"<<G4endl; 5958 G4LorentzVector cor4M(0.,0.,0.,mNeut); // Prototype for the neutron 5961 G4double dem=re2+dmo; 5962 G4double dm2=re2-dmo; // @!@ 5963 G4double sdm=0.; // @!@ 5964 if(dm2>0.) sdm=std::sqrt(dm2); // @!@ 5965 #ifdef debug 5966 G4cout<<"G4QE::FSI: Is En&Mom conserved? t4M="<<tot4Mom<<",dM="<<sdm<<", mM="<<misM 5967 <<",mPDG="<<mPDG<<",dCH="<<totCharge<<",dBN="<<totBaryoN<<G4endl; 5968 #endif 5969 G4LorentzVector cor4M(0.,0.,0.,0.); // Prototype for the missing particle 5970 if(dem>0.1) // Energy or momentum is not conserved 5971 { 5972 #ifdef pdebug 5973 G4cout<<"--Warning--G4QE::FSI:dE/Mc4M="<<tot4Mom<<sdm<<". Correct it!"<<G4endl; 5974 #endif 5975 if(sdm < .01 || (re2 > 0. && !totCharge && !totBaryoN && sdm/re2 < .0001)) // @!@ 5976 { 5977 #ifdef pdebug 5978 G4cout<<"...G4QE::FSI:E/M conservation is corrected by a photon"<<G4endl; 5979 #endif 5980 cor4M=tot4Mom; // Complete correction 5981 G4QHadron* theH = new G4QHadron(22,tot4Mom); 5982 theQHadrons.push_back(theH); // (delete equivalent for the proton) 5983 } 5984 else // @!@ 5985 { 5959 5986 if(dmo<0.0001 && re>900.) // MomentumIsConserved - recoverMissing 5960 5987 { 5961 5988 if(fabs(re-mNeut)<.01) 5962 5989 { 5990 #ifdef pdebug 5963 5991 G4cout<<"...G4QE::FSI:E/M conservation is corrected by neutron"<<G4endl; 5964 //cor4M=G4LorentzVector(0.,0.,0.,mNeut); // Made as a prototype 5992 #endif 5993 cor4M=G4LorentzVector(0.,0.,0.,mNeut); 5965 5994 G4QHadron* theH = new G4QHadron(90000001,G4LorentzVector(0.,0.,0.,mNeut)); 5966 5995 theQHadrons.push_back(theH); // (delete equivalent for the proton) … … 5968 5997 else if(fabs(re-mProt)<.01) 5969 5998 { 5999 #ifdef pdebug 5970 6000 G4cout<<"...G4QE::FSI:E/M conservation is corrected by proton"<<G4endl; 6001 #endif 5971 6002 cor4M=G4LorentzVector(0.,0.,0.,mProt); 5972 6003 G4QHadron* theH = new G4QHadron(90001000,G4LorentzVector(0.,0.,0.,mProt)); … … 5975 6006 else if(fabs(re-mDeut)<.01) 5976 6007 { 6008 #ifdef pdebug 5977 6009 G4cout<<"...G4QE::FSI:E/M conservation is corrected by deuteron"<<G4endl; 6010 #endif 5978 6011 cor4M=G4LorentzVector(0.,0.,0.,mDeut); 5979 6012 G4QHadron* theH = new G4QHadron(90001001,G4LorentzVector(0.,0.,0.,mDeut)); … … 5982 6015 else if(fabs(re-mTrit)<.01) 5983 6016 { 6017 #ifdef pdebug 5984 6018 G4cout<<"...G4QE::FSI:E/M conservation is corrected by tritium"<<G4endl; 6019 #endif 5985 6020 cor4M=G4LorentzVector(0.,0.,0.,mTrit); 5986 6021 G4QHadron* theH = new G4QHadron(90001002,G4LorentzVector(0.,0.,0.,mTrit)); … … 5989 6024 else if(fabs(re-mHe3)<.01) 5990 6025 { 6026 #ifdef pdebug 5991 6027 G4cout<<"...G4QE::FSI:E/M conservation is corrected by He3"<<G4endl; 6028 #endif 5992 6029 cor4M=G4LorentzVector(0.,0.,0.,mHe3); 5993 6030 G4QHadron* theH = new G4QHadron(90002001,G4LorentzVector(0.,0.,0.,mHe3)); … … 5996 6033 else if(fabs(re-mAlph)<.01) 5997 6034 { 6035 #ifdef pdebug 5998 6036 G4cout<<"...G4QE::FSI:E/M conservation is corrected by alpha"<<G4endl; 6037 #endif 5999 6038 cor4M=G4LorentzVector(0.,0.,0.,mAlph); 6000 6039 G4QHadron* theH = new G4QHadron(90002002,G4LorentzVector(0.,0.,0.,mAlph)); … … 6004 6043 { 6005 6044 cor4M=G4LorentzVector(0.,0.,0.,mNeut+mNeut); 6045 #ifdef pdebug 6006 6046 G4cout<<"...G4QE::FSI:E/M conservation is corrected by 2 neutrons"<<G4endl; 6047 #endif 6007 6048 G4QHadron* theH1 = new G4QHadron(90000001,G4LorentzVector(0.,0.,0.,mNeut)); 6008 6049 theQHadrons.push_back(theH1); // (delete equivalent for the proton) … … 6012 6053 else if(fabs(re-mProt-mProt)<.01) 6013 6054 { 6055 #ifdef pdebug 6014 6056 G4cout<<"...G4QE::FSI:E/M conservation is corrected by 2 protons"<<G4endl; 6057 #endif 6015 6058 cor4M=G4LorentzVector(0.,0.,0.,mProt+mProt); 6016 6059 G4QHadron* theH1 = new G4QHadron(90001000,G4LorentzVector(0.,0.,0.,mProt)); … … 6019 6062 theQHadrons.push_back(theH2); // (delete equivalent for the proton) 6020 6063 } 6021 else throw G4QException("***G4QEnv::FSInteract: Increase theCorrectionEps"); 6064 else throw G4QException("***G4QEnv::FSInteract: Try heavier nuclei at rest"); 6065 } 6066 else if(std::abs(sdm-misM) < 0.01) // on flight correction @!@ 6067 { 6068 #ifdef pdebug 6069 G4cout<<"...G4QE::FSI:E/M conservation is corrected by ResidualNucl"<<G4endl; 6070 #endif 6071 if(!misM) mPDG=22; 6072 G4QHadron* theH = new G4QHadron(mPDG,tot4Mom); // Create Residual Nucleus 6073 cor4M=tot4Mom; // Complete correction 6074 if(std::fabs(sdm-misM) <= 0.01) theQHadrons.push_back(theH); // As is 6075 else EvaporateResidual(theH); // Evaporate Residual Nucleus 6022 6076 } 6023 6077 else 6024 6078 { 6025 // @@ Temporary very bad correction: just to pass through @@ 6026 curHadr->Set4Momentum(cH4Mom+tot4Mom); // modify 4-mom of the Last hadron 6027 G4cout<<"*!* G4QE::FSI:E/M dif is added to theLast="<<tot4Mom+cH4Mom<<G4endl; 6028 if(curHadr->GetBaryonNumber()>1) 6079 G4QHadron* prevHadr = theQHadrons[nHadr-2]; // GetPointer to Prev to theLast 6080 G4LorentzVector pH4Mom = prevHadr->Get4Momentum(); // 4mom of thePrevHadron 6081 G4double cHM = curHadr->GetMass(); // Mass of the current hadron 6082 G4double pHM = prevHadr->GetMass(); // Mass of the previous hadron 6083 tot4Mom+=cH4Mom+pH4Mom; 6084 G4double totRM=tot4Mom.m(); 6085 if(cHM+pHM<=totRM) // *** Make the final correction *** 6086 { 6087 if(!G4QHadron(tot4Mom).DecayIn2(pH4Mom,cH4Mom)) 6088 { 6089 G4cout<<"***G4QE::FSI:**Correction**tot4M="<<tot4Mom<<totRM<<">sM=" 6090 <<cHM+cHM<<G4endl; 6091 #ifdef pdebug 6092 throw G4QException("***G4QEnvironment::FSInteract:CORRECT DecIn2 error"); 6093 #endif 6094 } 6095 #ifdef chdebug 6096 G4cout<<"---Warning---G4QE::FSI:***CORRECTION IS DONE*** d="<<dem<<G4endl; 6097 #endif 6098 curHadr->Set4Momentum(cH4Mom); 6099 prevHadr->Set4Momentum(pH4Mom); 6100 } 6101 else 6029 6102 { 6030 G4 QHadron* theNew = new G4QHadron(curHadr); // Make NewHadr of theLastHadr6031 theQHadrons.pop_back(); // theLastQHadron is excluded from theOUTPUT 6032 delete curHadr;//!!When kill,DON'T forget to delete theLastQH as an inst.!!6033 EvaporateResidual(theNew); // Try to evaporate Residual 6103 G4cerr<<"*!*G4QE::FSI: "<<cHM<<"+"<<pHM<<"="<<cHM+pHM<<">"<<totRM<<G4endl; 6104 #ifdef pdebug 6105 throw G4QException("***G4QEnvironment::FSInteraction:TEMPORARY EXCEPTION"); 6106 #endif 6034 6107 } 6035 //throw G4QException("***G4QEnv::FSInteract: Energy/Momentum conservation");6036 6108 } 6037 6109 tot4Mom=tot4Mom-cor4M; 6110 #ifdef pdebug 6038 6111 G4cout<<"---Warning---G4QE::FSI:En/MomCons.Error is corrected:"<<cor4M<<G4endl; 6039 } 6040 #endif 6112 #endif 6113 } 6041 6114 G4double cHM = curHadr->GetMass(); // Mass of the current hadron 6042 6115 G4int ch=0; … … 6077 6150 } 6078 6151 #ifdef debug 6079 else G4cout<<"G4QE::FSI: Yes, it is. d="<<dem<<" for "<<nHadr<<" hadrons."<<G4endl; 6080 #endif 6152 else G4cout<<"...G4QE::FSI:E/M conservation is good enough"<<G4endl; 6153 G4cout<<"G4QE::FSI:EMCorrection by "<<theQHadrons.size()-nHadr<<" hadrons"<<G4endl; 6154 #endif 6155 break; 6081 6156 } 6082 6157 } // End of the Back fusion LOOP -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QException.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QException.cc,v 1.10 2009/02/23 09:49:24 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QException ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QHadron.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QHadron.cc,v 1.64 2009/09/02 15:45:19 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QHadron ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QInteraction.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QInteraction.cc,v 1.6 2009/08/28 14:49:10 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ------------------------------------------------------------------ -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QIsotope.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QIsotope.cc,v 1.16 2010/05/28 15:03:46 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QIsotope class ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QNucleus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4QNucleus.cc,v 1.1 18 2010/06/10 08:37:27mkossov Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4QNucleus.cc,v 1.120 2010/06/24 16:20:11 mkossov Exp $ 28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QNucleus ---------------- … … 109 109 currentNucleon(-1), rho0(1.), radius(1.), Tb(), TbActive(false), RhoActive(false) 110 110 { 111 if(nucPDG==22) nucPDG=90000000; 111 112 InitByPDG(nucPDG); 112 113 G4LorentzVector p(0.,0.,0.,GetGSMass()); … … 3134 3135 } 3135 3136 // @@ in case of the Ksi or Omega- capture it can disturb the simulation 3136 else if(cPDG<80000000&&(abs(cPDG)%10>4||cST>2))// @@ PreClosed HighSpin/ Strange hadrons3137 else if(cPDG<80000000&&(abs(cPDG)%10>4||cST>2))// @@ PreClosed HighSpin/HighStrange 3137 3138 { 3138 3139 curCand->SetPreProbability(0.); … … 3267 3268 else 3268 3269 { 3270 #ifdef cldebug 3271 G4cout<<"G4QNucl::PrepCand:cPDG="<<cPDG<<",pos="<<pos<<G4endl; 3272 #endif 3269 3273 curCand->SetPreProbability(pos); // ===> Hadronic case in Vacuum 3270 3274 curCand->SetDenseProbability(0.); // ===> Hadronic case in Vacuum -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QPDGCode.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4QPDGCode.cc,v 1.6 5 2010/06/10 08:37:27mkossov Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4QPDGCode.cc,v 1.68 2010/06/25 14:03:44 mkossov Exp $ 28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QPDGCode ---------------- … … 58 58 if(PDGCode==130) PDGCode= 311; // Safety. Should not happen. 59 59 if(PDGCode==310) PDGCode=-311; // Safety. Should not happen. 60 if(PDGCode) theQCode=MakeQCode(PDGCode); 60 if(PDGCode==90000000) 61 { 62 thePDGCode=22; 63 theQCode=6; 64 } 65 else if(PDGCode) theQCode=MakeQCode(PDGCode); 61 66 else 62 67 { … … 329 334 else if (PDGC>80000000 && PDGC<100000000) // Try to convert the NUCCoding to PDGCoding 330 335 { 331 if(PDGC==90000000) return 6;336 //if(PDGC==90000000) return 6; // @@ already done in the constructor 332 337 ConvertPDGToZNS(PDGC, z, n, s); 333 338 G4int b=n+z+s; // Baryon number … … 380 385 if(b==1) // --> Baryons+Hyperons 381 386 { 382 if( !s) // --> Baryons387 if(PDGC>80000000) 383 388 { 384 if(z==-1) return 34; // Delta- 385 else if(!z) return 20; // neutron 386 else if(z==1)return 21; // proton 387 else if(z==2)return 37; // Delta++ 388 else if(z==3||z==-2)return -1; // Delta+pi Chipolino 389 else return -2; // Not supported by Q Code 389 if(!s) // --> Baryons 390 { 391 if (!z) return 90; // neutron 392 else if(z==1)return 91; // proton 393 else return -2; // Not supported by Q Code 394 } 395 else if(s==1) // --> Hyperons 396 { 397 if(z==-1) return 93; // Sigma- 398 else if(!z) return 92; // Lambda 399 else if(z==1)return 94; // Sigma+ 400 else return -2; // Not supported by Q Code 401 } 402 else if(s==2) // --> Xi Hyperons 403 { 404 if(z==-1) return 95; // Xi- 405 else if(!z) return 96; // Xi0 406 else return -2; // Not supported by Q Code 407 } 408 else if(s==3) // --> Xi Hyperons 409 { 410 if(z==-1) return 97; // Omega- 411 else return -2; // Not supported by Q Code 412 } 390 413 } 391 else if(s==1) // --> Hyperons414 else 392 415 { 393 if(z==-1) return 23; // Sigma- 394 else if(!z) return 22; // Lambda (@@ 24->Sigma0) 395 else if(z==1)return 25; // Sigma+ 396 else if(z==2||z==-2) return -1; // Sigma+pi Chipolino 397 else return -2; // Not supported by Q Code 398 } 399 else if(s==2) // --> Xi Hyperons 400 { 401 if(z==-1) return 26; // Xi- 402 else if(!z) return 27; // Xi0 403 else if(z==1||z==-2)return -1; // Xi+pi Chipolino 404 else return -2; // Not supported by Q Code 405 } 406 else if(s==3) // --> Xi Hyperons 407 { 408 if(z==-1) return 44; // Omega- 409 else if(!z||z==-2) return -1; // Omega+pi Chipolino 410 else return -2; // Not supported by Q Code 416 if(!s) // --> Baryons 417 { 418 if(z==-1) return 34; // Delta- 419 else if(!z) return 20; // neutron 420 else if(z==1)return 21; // proton 421 else if(z==2)return 37; // Delta++ 422 else if(z==3||z==-2)return -1; // Delta+pi Chipolino 423 else return -2; // Not supported by Q Code 424 } 425 else if(s==1) // --> Hyperons 426 { 427 if(z==-1) return 23; // Sigma- 428 else if(!z) return 22; // Lambda (@@ 24->Sigma0) 429 else if(z==1)return 25; // Sigma+ 430 else if(z==2||z==-2) return -1; // Sigma+pi Chipolino 431 else return -2; // Not supported by Q Code 432 } 433 else if(s==2) // --> Xi Hyperons 434 { 435 if(z==-1) return 26; // Xi- 436 else if(!z) return 27; // Xi0 437 else if(z==1||z==-2)return -1; // Xi+pi Chipolino 438 else return -2; // Not supported by Q Code 439 } 440 else if(s==3) // --> Xi Hyperons 441 { 442 if(z==-1) return 44; // Omega- 443 else if(!z||z==-2) return -1; // Omega+pi Chipolino 444 else return -2; // Not supported by Q Code 445 } 411 446 } 412 447 } … … 587 622 } 588 623 } 589 G4int c=b/2; 624 G4int c=b/2; // From here b>3: (4,5):c=2,g=0,1; (6,7):c=3,g=0,1; ... 590 625 G4int g=b%2; 591 626 G4int h=c*3; … … 2199 2234 } 2200 2235 2201 2202 2236 // Relative Cross Index for q_i->q_o (q=0(d),1(u),2(s), 7 means there is no such cluster) 2203 2237 G4int G4QPDGCode::GetRelCrossIndex(G4int i, G4int o) const … … 2228 2262 if(theQCode<fragmStart) return 7; 2229 2263 G4int sub=theQCode-fragmStart; 2230 if ( (sub > 1 && sub < 8) || sub == 15) return 7;//Why they are in clusters?-Residuals(?)2264 if ( (sub > 1 && sub < 8) || (sub > 12 && sub <16)) return 7; // SuperIso & SuperStrange 2231 2265 G4int rel=sub; // case of nuclear baryons and isonuclei 2232 if (sub>31) rel =(sub-32)%15;// case of heavy fragments (BaryNum>3)2233 else if(sub>15) rel = sub-16;// case of nuclear di-baryon & tri-baryons2266 if (sub>31) rel =(sub-32)%15; // case of heavy fragments (BaryNum>3) 2267 else if(sub>15) rel = sub-16; // case of nuclear di-baryon & tri-baryons 2234 2268 #ifdef debug 2235 2269 G4cout<<"G4QPDGCode::RelGetCrossIndex:i="<<i<<",o="<<o<<",su="<<sub<<",re="<<rel<<G4endl; 2236 2270 #endif 2271 //if ( (rel > 5 && rel < 9) || (rel > 13 && rel <16)) return 7; // SuperStrange're closed 2237 2272 if (!i) // ==> input quark = 0(d) (d=-1/3) 2238 2273 { -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QParentCluster.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QParentCluster.cc,v 1.26 2009/02/23 09:49:24 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QParentCluster ---------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QParticle.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4QParticle.cc,v 1.3 4 2009/02/23 09:49:24 mkossov Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4QParticle.cc,v 1.36 2010/06/25 14:03:44 mkossov Exp $ 28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ---------------- G4QParticle ---------------- … … 158 158 //static G4int nP = 486; // Up to A=80 159 159 //static const G4int nP = 494; // Up to A=80(?) "Isonuclear revision" 160 static const G4int nP = 512; // Up to A=56 "Leptons/Hypernuclei revision"160 static const G4int nP = 512; // A<57 "Leptons/Hypernuclei" G4QCHIPSWorld::GetParticles(!) 161 161 //static G4QDecayChanVector* DecayDB = new G4QDecayChanVector[nP]; 162 162 static G4QDecayChanVector DecayDB[nP]; … … 748 748 if(limit<=101&&nQ>=101)DecayDB[101].push_back(new G4QDecayChan(1.,3122,2112));//Ln 749 749 if(limit<=102&&nQ>=102)DecayDB[102].push_back(new G4QDecayChan(1.,3122,2212));//Lp 750 if(limit<=104&&nQ>=104)DecayDB[104].push_back(new G4QDecayChan(1.,3112,2112));//nSig- 750 751 if(limit<=103&&nQ>=103)DecayDB[103].push_back(new G4QDecayChan(1.,3122,3122));//LL 751 if(limit<=104&&nQ>=104)DecayDB[104].push_back(new G4QDecayChan(1.,3112,2112));//nSig-752 752 if(limit<=105&&nQ>=105)DecayDB[105].push_back(new G4QDecayChan(1.,3222,2212));//pSig+ 753 753 //if(limit<=106&&nQ>=106)DecayDB[106] = 0; // t -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QParton.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QParton.cc,v 1.9 2009/07/17 16:54:57 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QPartonPair.cc
r1337 r1340 27 27 // 28 28 // $Id: G4QPartonPair.cc,v 1.2 2009/02/23 09:49:24 mkossov Exp $ 29 // GEANT4 tag $Name: geant4-09-04-beta-01$29 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 30 30 // 31 31 // ------------------------------------------------------------ -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QProbability.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QProbability.cc,v 1.3 2009/09/04 16:13:19 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QString.cc
r1337 r1340 26 26 // 27 27 // $Id: G4QString.cc,v 1.17 2009/09/04 14:38:00 mkossov Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01$28 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4Quasmon.cc
r1337 r1340 28 28 // 29 29 // 30 // $Id: G4Quasmon.cc,v 1.12 5 2010/06/10 08:37:27mkossov Exp $31 // GEANT4 tag $Name: geant4-09-04-beta-01$30 // $Id: G4Quasmon.cc,v 1.127 2010/06/25 14:03:44 mkossov Exp $ 31 // GEANT4 tag $Name: hadr-chips-V09-03-08 $ 32 32 // 33 33 // ---------------- G4Quasmon ---------------- … … 2382 2382 G4cerr<<"G4Q::HQ:EV-6:TotEVAPORATION:s="<<sPDG<<",T="<<kinE<<",RM="<<retN4Mom.m() 2383 2383 <<"<"<<tmpTM<<",tQC="<<transQC<<",E="<<excE<<",sM="<<sumM<<">tM="<<totMass 2384 <<", sCB="<<sCB<<",nQ="<<nQuasms<<G4endl;2384 <<",nQ="<<nQuasms<<G4endl; 2385 2385 throw G4QException("G4Quasmon::HadrQuasm: Why Fail?(6)ProductMasses>totalMass"); 2386 2386 #endif … … 4448 4448 // Randomize the Resonance masses and calculate probabilities of hadronization for them 4449 4449 void G4Quasmon::CalculateHadronizationProbabilities 4450 (G4double E, G4double kVal, G4LorentzVector k4M,G4bool piF, G4bool gaF, G4bool first) 4450 (G4double E, G4double kVal, G4LorentzVector k4M,G4bool piF, G4bool gaF, G4bool ) 4451 //(G4double E, G4double kVal, G4LorentzVector k4M,G4bool piF, G4bool gaF, G4bool first) 4451 4452 // =====================================================================E is not used==== 4452 4453 { // ^ … … 4529 4530 //G4bool pos=curCand->GetPossibility(); 4530 4531 #ifdef pdebug 4532 G4bool pPrint= (abs(cPDG)%10 <3 && cPDG <80000000) || (cPDG >80000000 && frM <5000.); 4531 4533 //G4bool pPrint = abs(cPDG)%10<3 && cPDG<80000000 ||cPDG==90001000||cPDG==90000001|| 4532 4534 // cPDG==90000002||cPDG==90001001||cPDG==90001002||cPDG==90002001||cPDG==90002002; 4533 4535 //G4bool pPrint = cPDG==2212 || cPDG==2112 ||cPDG==90001000||cPDG==90000001; 4534 G4bool pPrint = false; 4536 //G4bool pPrint = false; 4537 //G4bool pPrint = true; 4535 4538 if(pPrint) G4cout<<"G4Q::CHP:==****==>>>c="<<cPDG<<",dUD="<<dUD<<",pos="<<pos<<",eA=" 4536 4539 <<envA<<",tM="<<totMass<<" > tmpTM+frM="<<tmpTM+frM<<G4endl; … … 4715 4718 //if ( (!piF && first && baryn < 3) || 4716 4719 // (!piF && !first) || 4717 if ( (!piF && first && baryn < 3) || 4718 (!piF && !first && baryn < 5 ) || 4720 /////if ( (!piF && first && baryn < 3) || 4721 ///// (!piF && !first && baryn < 5 ) || 4722 if ( (!piF && baryn < 5 ) || 4719 4723 ( piF && abs(dS) < 3) ) // Isotope Focusing for AtRest Reactions 4720 4724 //if(!qIso&&!dC||qIso>0&&dC<0||qIso<0&&dC>0)//MediumIsoFocusingForAll … … 4889 4893 // ***VTN*** CHECK IsNecessety toRecover theColTotRes to MinMassTot 4890 4894 if(mintM2>rtQ2) //==> Check of ResidualTotalNucleus ** Always ** 4891 //if(2>3) // Negligable difference difference4895 //if(2>3) // Negligable difference 4892 4896 { 4893 4897 G4double nz=0.; … … 5071 5075 G4double lp=1.-(dkLS+sr+sr)/boundM;//qm=k+sqrt((E*(M-m)/M)^2-m^2) 5072 5076 #ifdef debug 5073 if(pPrint) G4cout<<"G4Q::CHP:qa_k+sr="<<lp<<",sr="<<sr <<",m="5074 << mex<<",M="<<frM<<G4endl;5077 if(pPrint) G4cout<<"G4Q::CHP:qa_k+sr="<<lp<<",sr="<<sr 5078 <<",M="<<frM<<G4endl; 5075 5079 #endif 5076 5080 if(lp>0.&&lp<1.&&lp>lz)
Note: See TracChangeset
for help on using the changeset viewer.