Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

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  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QBesIKJY ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QCHIPSWorld.cc

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4QCHIPSWorld.cc,v 1.33 2009/02/23 09:49:24 mkossov 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 $
    2929//
    3030//      ---------------- G4QCHIPSWorld ----------------
     
    100100{
    101101  //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
    103104  static const G4bool cf = true;                // verbose=true G4QPDG construction flag
    104105#ifdef debug
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QCandidate.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QCandidate ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QChipolino.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QChipolino ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QContent.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QContent ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QDecayChan.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QDecayChan ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QEnvironment.cc

    r1337 r1340  
    2828//
    2929//
    30 // $Id: G4QEnvironment.cc,v 1.167 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 $
    3232//
    3333//      ---------------- G4QEnvironment ----------------
     
    44764476  static const G4double mXiM = G4QPDGCode(3312).GetMass();
    44774477  static const G4double mOmM = G4QPDGCode(3334).GetMass();
    4478 #ifdef debug
    44794478  static const G4double mDeut= G4QPDGCode(2112).GetNuclMass(1,1,0);
    4480 #endif
    44814479  static const G4double mTrit= G4QPDGCode(2112).GetNuclMass(1,2,0);
    44824480  static const G4double mHe3 = G4QPDGCode(2112).GetNuclMass(2,1,0);
     
    59385936      G4LorentzVector cH4Mom = curHadr->Get4Momentum(); // 4-mom of the current hadron
    59395937      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
    59405943      if(hadron+1==nHadr)                       // The Last Hadron in the set
    59415944      {
     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        }                                       // @!@
    59425955        G4double re =tot4Mom.e();
    59435956        G4double rpx=tot4Mom.px();
    59445957        G4double rpy=tot4Mom.py();
    59455958        G4double rpz=tot4Mom.pz();
     5959        G4double re2=re*re;                     // @!@
    59465960        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          {
    59595986            if(dmo<0.0001 && re>900.)               // MomentumIsConserved - recoverMissing
    59605987            {
    59615988              if(fabs(re-mNeut)<.01)
    59625989              {
     5990#ifdef pdebug
    59635991                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);
    59655994                G4QHadron* theH = new G4QHadron(90000001,G4LorentzVector(0.,0.,0.,mNeut));
    59665995                theQHadrons.push_back(theH);  // (delete equivalent for the proton)
     
    59685997              else if(fabs(re-mProt)<.01)
    59695998              {
     5999#ifdef pdebug
    59706000                G4cout<<"...G4QE::FSI:E/M conservation is corrected by proton"<<G4endl;
     6001#endif
    59716002                cor4M=G4LorentzVector(0.,0.,0.,mProt);
    59726003                G4QHadron* theH = new G4QHadron(90001000,G4LorentzVector(0.,0.,0.,mProt));
     
    59756006              else if(fabs(re-mDeut)<.01)
    59766007              {
     6008#ifdef pdebug
    59776009                G4cout<<"...G4QE::FSI:E/M conservation is corrected by deuteron"<<G4endl;
     6010#endif
    59786011                cor4M=G4LorentzVector(0.,0.,0.,mDeut);
    59796012                G4QHadron* theH = new G4QHadron(90001001,G4LorentzVector(0.,0.,0.,mDeut));
     
    59826015              else if(fabs(re-mTrit)<.01)
    59836016              {
     6017#ifdef pdebug
    59846018                G4cout<<"...G4QE::FSI:E/M conservation is corrected by tritium"<<G4endl;
     6019#endif
    59856020                cor4M=G4LorentzVector(0.,0.,0.,mTrit);
    59866021                G4QHadron* theH = new G4QHadron(90001002,G4LorentzVector(0.,0.,0.,mTrit));
     
    59896024              else if(fabs(re-mHe3)<.01)
    59906025              {
     6026#ifdef pdebug
    59916027                G4cout<<"...G4QE::FSI:E/M conservation is corrected by He3"<<G4endl;
     6028#endif
    59926029                cor4M=G4LorentzVector(0.,0.,0.,mHe3);
    59936030                G4QHadron* theH = new G4QHadron(90002001,G4LorentzVector(0.,0.,0.,mHe3));
     
    59966033              else if(fabs(re-mAlph)<.01)
    59976034              {
     6035#ifdef pdebug
    59986036                G4cout<<"...G4QE::FSI:E/M conservation is corrected by alpha"<<G4endl;
     6037#endif
    59996038                cor4M=G4LorentzVector(0.,0.,0.,mAlph);
    60006039                G4QHadron* theH = new G4QHadron(90002002,G4LorentzVector(0.,0.,0.,mAlph));
     
    60046043              {
    60056044                cor4M=G4LorentzVector(0.,0.,0.,mNeut+mNeut);
     6045#ifdef pdebug
    60066046                G4cout<<"...G4QE::FSI:E/M conservation is corrected by 2 neutrons"<<G4endl;
     6047#endif
    60076048                G4QHadron* theH1 = new G4QHadron(90000001,G4LorentzVector(0.,0.,0.,mNeut));
    60086049                theQHadrons.push_back(theH1); // (delete equivalent for the proton)
     
    60126053              else if(fabs(re-mProt-mProt)<.01)
    60136054              {
     6055#ifdef pdebug
    60146056                G4cout<<"...G4QE::FSI:E/M conservation is corrected by 2 protons"<<G4endl;
     6057#endif
    60156058                cor4M=G4LorentzVector(0.,0.,0.,mProt+mProt);
    60166059                G4QHadron* theH1 = new G4QHadron(90001000,G4LorentzVector(0.,0.,0.,mProt));
     
    60196062                theQHadrons.push_back(theH2); // (delete equivalent for the proton)
    60206063              }
    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
    60226076            }
    60236077            else
    60246078            {
    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
    60296102              {
    6030                 G4QHadron* theNew  = new G4QHadron(curHadr); // Make NewHadr of theLastHadr
    6031                 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
    60346107              }
    6035               //throw G4QException("***G4QEnv::FSInteract: Energy/Momentum conservation");
    60366108            }
    60376109            tot4Mom=tot4Mom-cor4M;
     6110#ifdef pdebug
    60386111            G4cout<<"---Warning---G4QE::FSI:En/MomCons.Error is corrected:"<<cor4M<<G4endl;
    6039           }
    6040 #endif
     6112#endif
     6113          }
    60416114          G4double cHM = curHadr->GetMass();  // Mass of the current hadron
    60426115          G4int ch=0;
     
    60776150        }
    60786151#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;
    60816156      }
    60826157    } // End of the Back fusion LOOP
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QException.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QException ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QHadron.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QHadron ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QInteraction.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030// ------------------------------------------------------------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QIsotope.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QIsotope class ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QNucleus.cc

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4QNucleus.cc,v 1.118 2010/06/10 08:37:27 mkossov 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 $
    2929//
    3030//      ---------------- G4QNucleus ----------------
     
    109109  currentNucleon(-1), rho0(1.), radius(1.), Tb(), TbActive(false), RhoActive(false)
    110110{
     111  if(nucPDG==22) nucPDG=90000000;
    111112  InitByPDG(nucPDG);
    112113  G4LorentzVector p(0.,0.,0.,GetGSMass());
     
    31343135    }
    31353136    // @@ 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 hadrons
     3137    else if(cPDG<80000000&&(abs(cPDG)%10>4||cST>2))// @@ PreClosed HighSpin/HighStrange
    31373138    {
    31383139      curCand->SetPreProbability(0.); 
     
    32673268      else
    32683269      {
     3270#ifdef cldebug
     3271        G4cout<<"G4QNucl::PrepCand:cPDG="<<cPDG<<",pos="<<pos<<G4endl;
     3272#endif
    32693273        curCand->SetPreProbability(pos);           // ===> Hadronic case in Vacuum     
    32703274        curCand->SetDenseProbability(0.);          // ===> Hadronic case in Vacuum
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QPDGCode.cc

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4QPDGCode.cc,v 1.65 2010/06/10 08:37:27 mkossov 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 $
    2929//
    3030//      ---------------- G4QPDGCode ----------------
     
    5858  if(PDGCode==130) PDGCode= 311; // Safety. Should not happen.
    5959  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);
    6166  else       
    6267  {
     
    329334  else if (PDGC>80000000 && PDGC<100000000) // Try to convert the NUCCoding to PDGCoding
    330335  {
    331     if(PDGC==90000000) return 6;
     336    //if(PDGC==90000000) return 6;            // @@ already done in the constructor
    332337    ConvertPDGToZNS(PDGC, z, n, s);
    333338    G4int b=n+z+s;                                 // Baryon number
     
    380385      if(b==1)                                     // --> Baryons+Hyperons
    381386      {
    382         if(!s)                                     // --> Baryons
     387        if(PDGC>80000000)
    383388        {
    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          }
    390413        }
    391         else if(s==1)                              // --> Hyperons
     414        else
    392415        {
    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          }
    411446        }
    412447      }
     
    587622        }
    588623      }
    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; ...
    590625      G4int g=b%2;
    591626      G4int h=c*3;
     
    21992234}
    22002235
    2201 
    22022236// Relative Cross Index for q_i->q_o (q=0(d),1(u),2(s), 7 means there is no such cluster)
    22032237G4int G4QPDGCode::GetRelCrossIndex(G4int i, G4int o)  const
     
    22282262  if(theQCode<fragmStart) return 7;
    22292263  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
    22312265  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-baryons
     2266  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
    22342268#ifdef debug
    22352269  G4cout<<"G4QPDGCode::RelGetCrossIndex:i="<<i<<",o="<<o<<",su="<<sub<<",re="<<rel<<G4endl;
    22362270#endif
     2271  //if ( (rel > 5 && rel < 9) || (rel > 13 && rel <16)) return 7; // SuperStrange're closed
    22372272  if     (!i)                            // ==> input quark = 0(d) (d=-1/3)
    22382273  {
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QParentCluster.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030//      ---------------- G4QParentCluster ----------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QParticle.cc

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4QParticle.cc,v 1.34 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 $
    2929//
    3030//      ---------------- G4QParticle ----------------
     
    158158  //static G4int nP = 486;                  // Up to A=80
    159159  //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(!)
    161161  //static G4QDecayChanVector* DecayDB = new G4QDecayChanVector[nP];
    162162  static G4QDecayChanVector DecayDB[nP];
     
    748748    if(limit<=101&&nQ>=101)DecayDB[101].push_back(new G4QDecayChan(1.,3122,2112));//Ln
    749749    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-
    750751    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-
    752752    if(limit<=105&&nQ>=105)DecayDB[105].push_back(new G4QDecayChan(1.,3222,2212));//pSig+
    753753    //if(limit<=106&&nQ>=106)DecayDB[106] = 0; // t
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QParton.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QPartonPair.cc

    r1337 r1340  
    2727//
    2828// $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 $
    3030//
    3131// ------------------------------------------------------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QProbability.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4QString.cc

    r1337 r1340  
    2626//
    2727// $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 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/src/G4Quasmon.cc

    r1337 r1340  
    2828//
    2929//
    30 // $Id: G4Quasmon.cc,v 1.125 2010/06/10 08:37:27 mkossov 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 $
    3232//
    3333//      ---------------- G4Quasmon ----------------
     
    23822382          G4cerr<<"G4Q::HQ:EV-6:TotEVAPORATION:s="<<sPDG<<",T="<<kinE<<",RM="<<retN4Mom.m()
    23832383                <<"<"<<tmpTM<<",tQC="<<transQC<<",E="<<excE<<",sM="<<sumM<<">tM="<<totMass
    2384                 <<",sCB="<<sCB<<",nQ="<<nQuasms<<G4endl;
     2384                <<",nQ="<<nQuasms<<G4endl;
    23852385          throw G4QException("G4Quasmon::HadrQuasm: Why Fail?(6)ProductMasses>totalMass");
    23862386#endif
     
    44484448// Randomize the Resonance masses and calculate probabilities of hadronization for them
    44494449void 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)
    44514452//   =====================================================================E is not used====
    44524453{                                                                  //       ^
     
    45294530      //G4bool pos=curCand->GetPossibility();
    45304531#ifdef pdebug
     4532      G4bool pPrint= (abs(cPDG)%10 <3 && cPDG <80000000) || (cPDG >80000000 && frM <5000.);
    45314533      //G4bool pPrint = abs(cPDG)%10<3 && cPDG<80000000 ||cPDG==90001000||cPDG==90000001||
    45324534      //  cPDG==90000002||cPDG==90001001||cPDG==90001002||cPDG==90002001||cPDG==90002002;
    45334535      //G4bool pPrint = cPDG==2212 || cPDG==2112 ||cPDG==90001000||cPDG==90000001;
    4534       G4bool pPrint = false;
     4536      //G4bool pPrint = false;
     4537      //G4bool pPrint = true;
    45354538      if(pPrint) G4cout<<"G4Q::CHP:==****==>>>c="<<cPDG<<",dUD="<<dUD<<",pos="<<pos<<",eA="
    45364539                       <<envA<<",tM="<<totMass<<" > tmpTM+frM="<<tmpTM+frM<<G4endl;
     
    47154718                    //if ( (!piF && first && baryn < 3) ||
    47164719                    //     (!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 ) ||
    47194723                         ( piF && abs(dS) < 3) ) // Isotope Focusing for AtRest Reactions
    47204724                    //if(!qIso&&!dC||qIso>0&&dC<0||qIso<0&&dC>0)//MediumIsoFocusingForAll
     
    48894893                        // ***VTN*** CHECK IsNecessety toRecover theColTotRes to MinMassTot
    48904894                        if(mintM2>rtQ2) //==> Check of ResidualTotalNucleus ** Always **
    4891                         //if(2>3)  // Negligable difference difference
     4895                        //if(2>3)  // Negligable difference
    48924896                        {
    48934897                          G4double nz=0.;
     
    50715075                        G4double lp=1.-(dkLS+sr+sr)/boundM;//qm=k+sqrt((E*(M-m)/M)^2-m^2)
    50725076#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;
    50755079#endif
    50765080                        if(lp>0.&&lp<1.&&lp>lz)
Note: See TracChangeset for help on using the changeset viewer.