Ignore:
Timestamp:
Jan 8, 2010, 11:56:51 AM (14 years ago)
Author:
garnier
Message:

update geant4.9.3 tag

Location:
trunk/source/processes/hadronic/models/chiral_inv_phase_space/fragmentation/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/fragmentation/src/G4QFragmentation.cc

    r1199 r1228  
    1616// * for the full disclaimer and the limitation of liability.         *
    1717// *                                                                  *
    18 // * This  code  implementation is the result of  the  scientific 2and *
     18// * This  code  implementation is the result of  the  scientific and *
    1919// * technical work of the GEANT4 collaboration.                      *
    2020// * By using,  copying,  modifying or  distributing the software (or *
     
    2525//
    2626//
    27 // $Id: G4QFragmentation.cc,v 1.1 2009/11/16 18:16:04 mkossov Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: G4QFragmentation.cc,v 1.6 2009/12/16 17:51:03 gunter Exp $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030// -----------------------------------------------------------------------------
     
    5353
    5454// Definition of static parameters
    55 G4int    G4QFragmentation::nCutMax=7; 
    56 G4double G4QFragmentation::stringTension=1.*GeV/fermi;
    57 G4double G4QFragmentation::tubeDensity  =1./fermi;
    58 // Parameters of diffractional fragmentation
    59 G4double G4QFragmentation::widthOfPtSquare=-0.72*GeV*GeV; // pt -width2 forStringExcitation
     55G4int    G4QFragmentation::nCutMax=7;
     56G4double G4QFragmentation::stringTension=1.5*GeV/fermi;
     57G4double G4QFragmentation::tubeDensity  =1.5/fermi;
     58// Parameters of diffractional fragmentation (was .72*)
     59G4double G4QFragmentation::widthOfPtSquare=-GeV*GeV;// pt -width2 forStringExcitation
    6060
    6161G4QFragmentation::G4QFragmentation(const G4QNucleus &aNucleus, const G4QHadron &aPrimary)
     
    551551  // >>>>>>>> make soft collisions (ordering is vital)
    552552  //
    553   G4QInteractionVector::iterator i;
     553  G4QInteractionVector::iterator it;
    554554#ifdef debug
    555555  G4cout<<"G4QFragmentation::Construct: Creation ofSoftCollisionPartonPair STARTS"<<G4endl;
    556556#endif
    557   for(i = theInteractions.begin(); i != theInteractions.end(); i++)   
    558   {
    559     G4QInteraction* anIniteraction = *i;
     557  for(it = theInteractions.begin(); it != theInteractions.end(); ++it)   
     558  {
     559    G4QInteraction* anIniteraction = *it;
    560560    G4QPartonPair*  aPair=0;
    561561    G4int nSoftCollisions = anIniteraction->GetNumberOfSoftCollisions();
     
    581581#endif
    582582      } 
    583       delete *i;
    584       i=theInteractions.erase(i);       // Soft interactions are converted & erased
    585       i--;
     583      delete *it;
     584      it=theInteractions.erase(it);      // Soft interactions are converted & erased
     585      it--;
    586586    }
    587587  }
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/fragmentation/src/G4QIonIonCollision.cc

    r1199 r1228  
    2525//
    2626//
    27 // $Id: G4QIonIonCollision.cc,v 1.1 2009/11/16 18:16:04 mkossov Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: G4QIonIonCollision.cc,v 1.2 2009/12/01 09:24:24 mkossov Exp $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030// -----------------------------------------------------------------------------
     
    454454  // >>>>>>>> make soft collisions (ordering is vital)
    455455  //
    456   G4QInteractionVector::iterator i;
     456  G4QInteractionVector::iterator it;
    457457#ifdef debug
    458458  G4cout<<"G4QIonIonCollision::Constr: Creation ofSoftCollisionPartonPair STARTS"<<G4endl;
    459459#endif
    460   for(i = theInteractions.begin(); i != theInteractions.end(); i++)   
    461   {
    462     G4QInteraction* anIniteraction = *i;
     460  for(it = theInteractions.begin(); it != theInteractions.end(); ++it)   
     461  {
     462    G4QInteraction* anIniteraction = *it;
    463463    G4QPartonPair*  aPair=0;
    464464    G4int nSoftCollisions = anIniteraction->GetNumberOfSoftCollisions();
     
    484484#endif
    485485      } 
    486       delete *i;
    487       i=theInteractions.erase(i);                   // SoftInteractions're converted&erased
    488       i--;
     486      delete *it;
     487      it=theInteractions.erase(it);                 // SoftInteractions're converted&erased
     488      it--;
    489489    }
    490490  }
Note: See TracChangeset for help on using the changeset viewer.