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

update ti head

Location:
trunk/source/processes/hadronic/models/parton_string/diffraction/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4DiffractiveSplitableHadron.hh

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4DiffractiveSplitableHadron.hh,v 1.5 2009/08/03 13:14:19 vuzhinsk Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: G4DiffractiveSplitableHadron.hh,v 1.6 2010/09/20 15:50:46 vuzhinsk Exp $
     28// GEANT4 tag $Name: geant4-09-03-ref-09 $
    2929//
    3030
  • trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFModel.hh

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4FTFModel.hh,v 1.10 2009/10/25 10:50:54 vuzhinsk Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: G4FTFModel.hh,v 1.11 2010/09/20 15:50:46 vuzhinsk Exp $
     28// GEANT4 tag $Name: geant4-09-03-ref-09 $
    2929//
    3030// Class Description
  • trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFParameters.hh

    r1337 r1340  
    2727#define G4FTFParameters_h 1
    2828//
    29 // $Id: G4FTFParameters.hh,v 1.7 2009/10/25 10:50:54 vuzhinsk Exp $
    30 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     29// $Id: G4FTFParameters.hh,v 1.8 2010/09/20 15:50:46 vuzhinsk Exp $
     30// GEANT4 tag $Name: geant4-09-03-ref-09 $
    3131//
    3232#include "G4Proton.hh"
     
    8181
    8282// --------- Set parameters of nuclear destruction--------------------
     83        void SetMaxNumberOfCollisions(const G4double aValue, const G4double bValue);
     84        void SetProbOfInteraction(const G4double aValue);
     85
    8386        void SetCofNuclearDestruction(const G4double aValue);
    8487        void SetR2ofNuclearDestruction(const G4double aValue);
     
    125128
    126129// --------- Get parameters of nuclear destruction---------------------
     130        G4double GetMaxNumberOfCollisions();
     131        G4double GetProbOfInteraction();
     132
    127133        G4double GetCofNuclearDestruction();
    128134        G4double GetR2ofNuclearDestruction();
     
    171177
    172178// --------- Parameters of nuclear destruction------------------------
     179        G4double MaxNumberOfCollisions;
     180        G4double ProbOfInelInteraction;
     181
    173182        G4double CofNuclearDestruction;         // Cnd of nuclear destruction
    174183        G4double R2ofNuclearDestruction;        // R2nd
     
    260269
    261270// --------- Set parameters of nuclear destruction--------------------
     271inline   void G4FTFParameters::SetMaxNumberOfCollisions(const G4double Plab,
     272                                                        const G4double Pbound)
     273              {
     274               if(Plab > Pbound)
     275               {
     276                MaxNumberOfCollisions = Plab/Pbound;
     277                SetProbOfInteraction(-1.);
     278               } else
     279               {
     280//                MaxNumberOfCollisions = -1.;
     281//                SetProbOfInteraction(std::exp(0.25*(Plab-Pbound)));
     282                MaxNumberOfCollisions = 1;
     283                SetProbOfInteraction(-1.);
     284               }
     285              }
     286inline  void G4FTFParameters::SetProbOfInteraction(const G4double aValue)
     287             {ProbOfInelInteraction = aValue;}
     288
    262289inline  void G4FTFParameters::SetCofNuclearDestruction(const G4double aValue)
    263290             {CofNuclearDestruction = aValue;}
     
    325352
    326353// --------- Get parameters of nuclear destruction---------------------
     354inline  G4double G4FTFParameters::GetMaxNumberOfCollisions(){return MaxNumberOfCollisions;}
     355inline  G4double G4FTFParameters::GetProbOfInteraction()    {return ProbOfInelInteraction;}
     356
    327357inline  G4double G4FTFParameters::GetCofNuclearDestruction(){return CofNuclearDestruction;}
    328358inline  G4double G4FTFParameters::GetR2ofNuclearDestruction(){return R2ofNuclearDestruction;}
  • trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFParticipants.hh

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4FTFParticipants.hh,v 1.6 2009/08/03 13:14:19 vuzhinsk Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: G4FTFParticipants.hh,v 1.7 2010/09/20 15:50:46 vuzhinsk Exp $
     28// GEANT4 tag $Name: geant4-09-03-ref-09 $
    2929//
    3030
Note: See TracChangeset for help on using the changeset viewer.