Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (15 years ago)
Author:
garnier
Message:

geant4 tag 9.4

Location:
trunk/source/processes/hadronic/models/high_energy/include
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiKaonZeroInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiKaonZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiKaonZeroInelastic.hh,v 1.15 2010/11/27 02:02:19 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiKaonZeroInelastic() : G4HEInelastic("G4HEAntiKaonZeroInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     theMinEnergy = 20*GeV;
    6060     theMaxEnergy = 10*TeV;
    6161     MAXPART      = 2048;
     
    6767   G4int vecLength;
    6868       
    69    G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
     69   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     70                                  G4Nucleus& targetNucleus);
    7071
    71    G4int  GetNumberOfSecondaries()
     72   G4int GetNumberOfSecondaries()
    7273      { return vecLength; }         
    7374
    7475
    75    void   FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy,
    76                                     G4HEVector pv[],
    77                                     G4int &vecLen,
    78                                     G4HEVector incidentParticle,
    79                                     G4HEVector targetParticle);
     76   void FirstIntInCasAntiKaonZero(G4bool& inElastic,
     77                                  const G4double availableEnergy,
     78                                  G4HEVector pv[],
     79                                  G4int& vecLen,
     80                                  const G4HEVector& incidentParticle,
     81                                  const G4HEVector& targetParticle);
    8082};
    8183#endif                     
    82                                          
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiLambdaInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiLambdaInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiLambdaInelastic.hh,v 1.16 2010/11/27 02:02:59 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiLambdaInelastic() : G4HEInelastic("G4HEAntiLambdaInelastic")
    5858   {
     59     vecLength = 0;
    5960     theMinEnergy =  20*GeV;
    6061     theMaxEnergy = 10*TeV;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int  GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void   FirstIntInCasAntiLambda(G4bool &inElastic, const G4double availableEnergy,
    75                                   G4HEVector pv[],
    76                                   G4int &vecLen,
    77                                   G4HEVector incidentParticle,
    78                                   G4HEVector targetParticle,
    79                                   const G4double atomicWeight);
     75   void FirstIntInCasAntiLambda(G4bool& inElastic,
     76                                const G4double availableEnergy,
     77                                G4HEVector pv[],
     78                                G4int& vecLen,
     79                                const G4HEVector& incidentParticle,
     80                                const G4HEVector& targetParticle,
     81                                const G4double atomicWeight);
    8082};
    8183#endif                     
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiNeutronInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiNeutronInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiNeutronInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiNeutronInelastic() : G4HEInelastic("G4HEAntiNeutronInelastic")
    5858   {
     59     vecLength = 0;
    5960     theMinEnergy =  20*GeV;
    6061     theMaxEnergy = 10*TeV;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack,
     71                                  G4Nucleus &targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}         
    7374
    74    void FirstIntInCasAntiNeutron(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiNeutron(G4bool &inElastic,
     76                                 const G4double availableEnergy,
    7577                                 G4HEVector pv[],
    7678                                 G4int &vecLen,
    77                                  G4HEVector incidentParticle,
    78                                  G4HEVector targetParticle,
     79                                 const G4HEVector& incidentParticle,
     80                                 const G4HEVector& targetParticle,
    7981                                 const G4double atomicWeight);
    8082};
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiOmegaMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiOmegaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiOmegaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiOmegaMinusInelastic() : G4HEInelastic("G4HEAntiOmegaMinusInelastic")
    5858   {
     59     vecLength = 0;
    5960     theMinEnergy =  20*GeV;
    6061     theMaxEnergy = 10*TeV;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}         
    7374
    74    void FirstIntInCasAntiOmegaMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiOmegaMinus(G4bool& inElastic,
     76                                    const G4double availableEnergy,
    7577                                    G4HEVector pv[],
    76                                     G4int &vecLen,
    77                                     G4HEVector incidentParticle,
    78                                     G4HEVector targetParticle,
     78                                    G4int& vecLen,
     79                                    const G4HEVector& incidentParticle,
     80                                    const G4HEVector& targetParticle,
    7981                                    const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiProtonInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiProtonInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiProtonInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiProtonInelastic() : G4HEInelastic("G4HEAntiProtonInelastic")
    5858   {
     59     vecLength = 0;
    5960     theMinEnergy =  20*GeV;
    6061     theMaxEnergy = 10*TeV;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack,
     71                                  G4Nucleus &targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72       { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}         
    7374
    74    void FirstIntInCasAntiProton(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiProton(G4bool& inElastic,
     76                                const G4double availableEnergy,
    7577                                G4HEVector pv[],
    76                                 G4int &vecLen,
    77                                 G4HEVector incidentParticle,
    78                                 G4HEVector targetParticle,
     78                                G4int& vecLen,
     79                                const G4HEVector& incidentParticle,
     80                                const G4HEVector& targetParticle,
    7981                                const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif                                   
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiSigmaMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiSigmaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiSigmaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiSigmaMinusInelastic() : G4HEInelastic("G4HEAntiSigmaMinusInelastic")
    5858   {
     59     vecLength = 0;
    5960     theMinEnergy =  20*GeV;
    6061     theMaxEnergy = 10*TeV;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72       { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}         
    7374
    74    void FirstIntInCasAntiSigmaMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiSigmaMinus(G4bool& inElastic,
     76                                    const G4double availableEnergy,
    7577                                    G4HEVector pv[],
    76                                     G4int &vecLen,
    77                                     G4HEVector incidentParticle,
    78                                     G4HEVector targetParticle,
     78                                    G4int& vecLen,
     79                                    const G4HEVector& incidentParticle,
     80                                    const G4HEVector& targetParticle,
    7981                                    const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiSigmaPlusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiSigmaPlusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiSigmaPlusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiSigmaPlusInelastic() : G4HEInelastic("G4HEAntiSigmaPlusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasAntiSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiSigmaPlus(G4bool& inElastic,
     76                                   const G4double availableEnergy,
    7577                                   G4HEVector pv[],
    76                                    G4int &vecLen,
    77                                    G4HEVector incidentParticle,
    78                                    G4HEVector targetParticle,
     78                                   G4int& vecLen,
     79                                   const G4HEVector& incidentParticle,
     80                                   const G4HEVector& targetParticle,
    7981                                   const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiSigmaZeroInelastic.hh

    r1340 r1347  
    2626//
    2727// $Id: G4HEAntiSigmaZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiXiMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiXiMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiXiMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiXiMinusInelastic() : G4HEInelastic("G4HEAntiXiMinusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasAntiXiMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiXiMinus(G4bool& inElastic,
     76                                 const G4double availableEnergy,
    7577                                 G4HEVector pv[],
    76                                  G4int &vecLen,
    77                                  G4HEVector incidentParticle,
    78                                  G4HEVector targetParticle,
     78                                 G4int& vecLen,
     79                                 const G4HEVector& incidentParticle,
     80                                 const G4HEVector& targetParticle,
    7981                                 const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiXiZeroInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEAntiXiZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEAntiXiZeroInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEAntiXiZeroInelastic() : G4HEInelastic("G4HEAntiXiZeroInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasAntiXiZero(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasAntiXiZero(G4bool& inElastic,
     76                                const G4double availableEnergy,
    7577                                G4HEVector pv[],
    76                                 G4int &vecLen,
    77                                 G4HEVector incidentParticle,
    78                                 G4HEVector targetParticle,
     78                                G4int& vecLen,
     79                                const G4HEVector& incidentParticle,
     80                                const G4HEVector& targetParticle,
    7981                                const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEInelastic.hh

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 //
    27 // $Id: G4HEInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     26// $Id: G4HEInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2928//
    3029//
     
    7170   {
    7271     SetParticles();
     72     verboseLevel = 0;
     73     MAXPART = 0;
    7374     conserveEnergy = true;
    7475   };
     
    7677   ~G4HEInelastic(){ };
    7778         
    78    void       SetMaxNumberOfSecondaries( const G4int maxnumber )
    79                    { MAXPART = maxnumber;}     
     79   void SetMaxNumberOfSecondaries(const G4int maxnumber)
     80            {MAXPART = maxnumber;}     
    8081 
    81    void       SetVerboseLevel( const G4int level)
    82                    { verboseLevel = level;}
    83 
    84    G4int      verboseLevel;
    85    G4int      MAXPART;
    86    G4bool     conserveEnergy;
    87 
    88    void       ForceEnergyConservation(G4bool energyConservation)
    89                    { conserveEnergy = energyConservation;}
    90    G4bool     EnergyConservation(void)
    91                    { return conserveEnergy;}
    92 
    93    G4double   Amin(G4double a, G4double b);
    94    G4double   Amax(G4double a, G4double b);
    95    G4int      Imin(G4int a, G4int b);
    96    G4int      Imax(G4int a, G4int b);
     82   void SetVerboseLevel(const G4int level) {verboseLevel = level;}
     83
     84   G4int verboseLevel;
     85   G4int MAXPART;
     86   G4bool conserveEnergy;
     87
     88   void ForceEnergyConservation(G4bool energyConservation)
     89              {conserveEnergy = energyConservation;}
     90
     91   G4bool EnergyConservation(void) {return conserveEnergy;}
     92
     93   G4double Amin(G4double a, G4double b);
     94   G4double Amax(G4double a, G4double b);
     95   G4int Imin(G4int a, G4int b);
     96   G4int Imax(G4int a, G4int b);
    9797 
    98    void       FillParticleChange(G4HEVector pv[], G4int aVecLength);
    99 
    100    G4double   pmltpc(G4int np, G4int nm, G4int nz, G4int n, G4double b, G4double c);
    101 
    102    G4int      Factorial(G4int n);
    103 
    104    G4double   NuclearInelasticity(G4double incidentKineticEnergy,
    105                                   G4double atomicWeight,
    106                                   G4double atomicNumber);
    107    G4double   NuclearExcitation(G4double  incidentKineticEnergy,
    108                                 G4double  atomicWeight,
    109                                 G4double  atomicNumber,
    110                                 G4double& excitationEnergyCascade,
    111                                 G4double& excitationEnergyEvaporation);
     98   void FillParticleChange(G4HEVector pv[], G4int aVecLength);
     99
     100   G4double pmltpc(G4int np, G4int nm, G4int nz,
     101                   G4int n, G4double b, G4double c);
     102
     103   G4int Factorial(G4int n);
     104
     105   G4double NuclearInelasticity(G4double incidentKineticEnergy,
     106                                G4double atomicWeight,
     107                                G4double atomicNumber);
     108
     109   G4double NuclearExcitation(G4double  incidentKineticEnergy,
     110                              G4double  atomicWeight,
     111                              G4double  atomicNumber,
     112                              G4double& excitationEnergyCascade,
     113                              G4double& excitationEnergyEvaporation);
    112114   
    113    void       HighEnergyCascading(G4bool &successful,
    114                                   G4HEVector pv[],
    115                                   G4int &vecLen,
    116                                   G4double &excitationEnergyGNP,
    117                                   G4double &excitationEnergyDTA,
    118                                   G4HEVector incidentParticle,
    119                                   G4HEVector targetParticle,
    120                                   G4double atomicWeight,
    121                                   G4double atomicNumber);                       
    122 
    123    void       HighEnergyClusterProduction(G4bool &successful,
    124                                           G4HEVector pv[],
    125                                           G4int &vecLen,
    126                                           G4double &excitationEnergyGNP,
    127                                           G4double &excitationEnergyDTA,
    128                                           G4HEVector incidentParticle,
    129                                           G4HEVector targetParticle,
    130                                           G4double atomicWeight,
    131                                           G4double atomicNumber);             
    132 
    133    void       TuningOfHighEnergyCascading(G4HEVector pv[],
    134                                           G4int &vecLen,
    135                                           G4HEVector incidentParticle,
    136                                           G4HEVector targetParticle,
    137                                           G4double atomicWeight,
    138                                           G4double atomicNumber);   
    139 
    140    void       MediumEnergyCascading(G4bool &successful,
     115   void HighEnergyCascading(G4bool& successful,
     116                            G4HEVector pv[],
     117                            G4int& vecLen,
     118                            G4double& excitationEnergyGNP,
     119                            G4double& excitationEnergyDTA,
     120                            const G4HEVector& incidentParticle,
     121                            const G4HEVector& targetParticle,
     122                            G4double atomicWeight,
     123                            G4double atomicNumber);
     124
     125   void HighEnergyClusterProduction(G4bool& successful,
    141126                                    G4HEVector pv[],
    142                                     G4int &vecLen,
    143                                     G4double &excitationEnergyGNP,
    144                                     G4double &excitationEnergyDTA,
    145                                     G4HEVector incidentParticle,
    146                                     G4HEVector targetParticle,
     127                                    G4int& vecLen,
     128                                    G4double& excitationEnergyGNP,
     129                                    G4double& excitationEnergyDTA,
     130                                    const G4HEVector& incidentParticle,
     131                                    const G4HEVector& targetParticle,
    147132                                    G4double atomicWeight,
    148                                     G4double atomicNumber);           
    149 
    150    void       MediumEnergyClusterProduction(G4bool &successful,
    151                                             G4HEVector pv[],
    152                                             G4int &vecLen,
    153                                             G4double &excitationEnergyGNP,
    154                                             G4double &excitationEnergyDTA,
    155                                             G4HEVector incidentParticle,
    156                                             G4HEVector targetParticle,
    157                                             G4double atomicWeight,
    158                                             G4double atomicNumber);           
    159 
    160    void       QuasiElasticScattering(G4bool &successful,
    161                                      G4HEVector pv[],
    162                                      G4int &vecLen,
    163                                      G4double &excitationEnergyGNP,
    164                                      G4double &excitationEnergyDTA,
    165                                      G4HEVector incidentParticle,
    166                                      G4HEVector targetParticle,
    167                                      G4double atomicWeight,
    168                                      G4double atomicNumber);
    169 
    170    void       ElasticScattering(G4bool &successful,
    171                                 G4HEVector pv[],
    172                                 G4int &vecLen,                     
    173                                 G4HEVector incidentParticle,
    174                                 G4double atomicWeight,
    175                                 G4double atomicNumber);
    176 
    177    G4int      rtmi(G4double *x, G4double xli, G4double xri, G4double eps,
    178                    G4int iend, G4double aa, G4double bb, G4double cc,
    179                    G4double dd, G4double rr);
    180 
    181    G4double   fctcos(G4double t, G4double aa, G4double bb,G4double cc,
    182                      G4double dd, G4double rr);     
     133                                    G4double atomicNumber);             
     134
     135   void TuningOfHighEnergyCascading(G4HEVector pv[],
     136                                    G4int& vecLen,
     137                                    const G4HEVector& incidentParticle,
     138                                    const G4HEVector& targetParticle,
     139                                    G4double atomicWeight,
     140                                    G4double atomicNumber);   
     141
     142   void MediumEnergyCascading(G4bool& successful,
     143                              G4HEVector pv[],
     144                              G4int& vecLen,
     145                              G4double& excitationEnergyGNP,
     146                              G4double& excitationEnergyDTA,
     147                              const G4HEVector& incidentParticle,
     148                              const G4HEVector& targetParticle,
     149                              G4double atomicWeight,
     150                              G4double atomicNumber);           
     151
     152   void MediumEnergyClusterProduction(G4bool& successful,
     153                                      G4HEVector pv[],
     154                                      G4int& vecLen,
     155                                      G4double& excitationEnergyGNP,
     156                                      G4double& excitationEnergyDTA,
     157                                      const G4HEVector& incidentParticle,
     158                                      const G4HEVector& targetParticle,
     159                                      G4double atomicWeight,
     160                                      G4double atomicNumber);           
     161
     162   void QuasiElasticScattering(G4bool& successful,
     163                               G4HEVector pv[],
     164                               G4int& vecLen,
     165                               G4double& excitationEnergyGNP,
     166                               G4double& excitationEnergyDTA,
     167                               const G4HEVector& incidentParticle,
     168                               const G4HEVector& targetParticle,
     169                               G4double atomicWeight,
     170                               G4double atomicNumber);
     171
     172   void ElasticScattering(G4bool& successful,
     173                          G4HEVector pv[],
     174                          G4int& vecLen,                     
     175                          const G4HEVector& incidentParticle,
     176                          G4double atomicWeight,
     177                          G4double atomicNumber);
     178
     179   G4int rtmi(G4double *x, G4double xli, G4double xri, G4double eps,
     180              G4int iend, G4double aa, G4double bb, G4double cc,
     181              G4double dd, G4double rr);
     182
     183   G4double fctcos(G4double t, G4double aa, G4double bb,G4double cc,
     184                   G4double dd, G4double rr);     
    183185       
    184    void       StrangeParticlePairProduction(const G4double availableEnergy,
    185                                             const G4double centerOfMassEnergy,
    186                                             G4HEVector pv[],
    187                                             G4int &vecLen,
    188                                             G4HEVector incidentParticle,
    189                                             G4HEVector targetParticle);
    190 
    191    G4double   NBodyPhaseSpace(const G4double totalEnergy,
    192                               const G4bool   constantCrossSection,
    193                               G4HEVector pv[],
    194                               G4int &vecLen);
     186   void StrangeParticlePairProduction(const G4double availableEnergy,
     187                                      const G4double centerOfMassEnergy,
     188                                      G4HEVector pv[],
     189                                      G4int& vecLen,
     190                                      const G4HEVector& incidentParticle,
     191                                      const G4HEVector& targetParticle);
     192
     193   G4double NBodyPhaseSpace(const G4double totalEnergy,
     194                            const G4bool   constantCrossSection,
     195                            G4HEVector pv[],
     196                            G4int &vecLen);
    195197     
    196    G4double   NBodyPhaseSpace(G4int npart,
    197                               G4HEVector pv[],
    198                               G4double wmax,
    199                               G4double wfcn,
    200                               G4int maxtrial,
    201                               G4int ntrial);
    202 
    203    G4double   gpdk(G4double a, G4double b, G4double c);
    204 
    205    void       QuickSort(G4double arr[], const G4int lidx, const G4int ridx);
    206 
    207    G4double   Alam(G4double a, G4double b, G4double c);
     198   G4double NBodyPhaseSpace(G4int npart,
     199                            G4HEVector pv[],
     200                            G4double wmax,
     201                            G4double wfcn,
     202                            G4int maxtrial,
     203                            G4int ntrial);
     204
     205   G4double gpdk(G4double a, G4double b, G4double c);
     206
     207   void QuickSort(G4double arr[], const G4int lidx, const G4int ridx);
     208
     209   G4double Alam(G4double a, G4double b, G4double c);
    208210 
    209    G4double   CalculatePhaseSpaceWeight( G4int npart);
     211   G4double CalculatePhaseSpaceWeight( G4int npart);
    210212       
    211    G4double   normal(void);
    212    G4double   GammaRand(G4double avalue);
    213    G4double   Erlang(G4int mvalue);
    214    G4int      Poisson(G4double x);
    215    void       SetParticles(void);
     213   G4double normal(void);
     214   G4double GammaRand(G4double avalue);
     215   G4double Erlang(G4int mvalue);
     216   G4int Poisson(G4double x);
     217   void SetParticles(void);
    216218
    217219   G4HEVector PionPlus;
     
    248250};
    249251
    250 #endif                     
    251                                          
    252 
     252#endif
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEKaonMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEKaonMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEKaonMinusInelastic() : G4HEInelastic("G4HEKaonMinusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasKaonMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasKaonMinus(G4bool& inElastic,
     76                               const G4double availableEnergy,
    7577                               G4HEVector pv[],
    76                                G4int &vecLen,
    77                                G4HEVector incidentParticle,
    78                                G4HEVector targetParticle);
     78                               G4int& vecLen,
     79                               const G4HEVector& incidentParticle,
     80                               const G4HEVector& targetParticle);
    7981};
    80 #endif                     
    81                                          
     82#endif                                   
    8283
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonPlusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEKaonPlusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEKaonPlusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEKaonPlusInelastic() : G4HEInelastic("G4HEKaonPlusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasKaonPlus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasKaonPlus(G4bool& inElastic,
     76                              const G4double availableEnergy,
    7577                              G4HEVector pv[],
    76                               G4int &vecLen,
    77                               G4HEVector incidentParticle,
    78                               G4HEVector targetParticle,
     78                              G4int& vecLen,
     79                              const G4HEVector& incidentParticle,
     80                              const G4HEVector& targetParticle,
    7981                              const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif                                   
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonZeroInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEKaonZeroInelastic.hh,v 1.13 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEKaonZeroInelastic.hh,v 1.15 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEKaonZeroInelastic() : G4HEInelastic("G4HEKaonZeroInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    7475
    75    void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy,
     76   void FirstIntInCasKaonZero(G4bool& inElastic,
     77                              const G4double availableEnergy,
    7678                              G4HEVector pv[],
    77                               G4int &vecLen,
    78                               G4HEVector incidentParticle,
    79                               G4HEVector targetParticle,
     79                              G4int& vecLen,
     80                              const G4HEVector& incidentParticle,
     81                              const G4HEVector& targetParticle,
    8082                              const G4double atomicWeight);
    8183};
    82 #endif                     
    83                                          
     84#endif                                   
    8485
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonZeroLongInelastic.hh

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4HEKaonZeroLongInelastic.hh,v 1.15 2010/02/09 21:58:09 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     26// $Id: G4HEKaonZeroLongInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2828//
    2929//
     
    5656   G4HEKaonZeroLongInelastic() : G4HEInelastic("G4HEKaonZeroLongInelastic")
    5757   {
    58      theMinEnergy =  20*GeV;
     58     theMinEnergy = 20*GeV;
    5959     theMaxEnergy = 10*TeV;
    6060     MAXPART      = 2048;
     
    6464   ~G4HEKaonZeroLongInelastic(){ };
    6565         
    66   //   G4int verboseLevel;
    6766   G4int vecLength;
    6867
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     68   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     69                                  G4Nucleus& targetNucleus);
    7070
    7171   G4int GetNumberOfSecondaries()
    7272        { return vecLength;};           
    7373
    74    void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy,
     74   void FirstIntInCasKaonZero(G4bool& inElastic,
     75                              const G4double availableEnergy,
    7576                              G4HEVector pv[],
    76                               G4int &vecLen,
    77                               G4HEVector incidentParticle,
    78                               G4HEVector targetParticle,
     77                              G4int& vecLen,
     78                              const G4HEVector& incidentParticle,
     79                              const G4HEVector& targetParticle,
    7980                              const G4double atomicWeight);
    8081
    81    void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy,
     82   void FirstIntInCasAntiKaonZero(G4bool& inElastic,
     83                                  const G4double availableEnergy,
    8284                                  G4HEVector pv[],
    83                                   G4int &vecLen,
    84                                   G4HEVector incidentParticle,
    85                                   G4HEVector targetParticle);
     85                                  G4int& vecLen,
     86                                  const G4HEVector& incidentParticle,
     87                                  const G4HEVector& targetParticle);
     88};
     89#endif
    8690
    87   //   void SetVerboseLevel(G4int verbose)
    88   //        { verboseLevel = verbose;};
    89 
    90 
    91 };
    92 #endif                     
    93                                          
    94 
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonZeroShortInelastic.hh

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4HEKaonZeroShortInelastic.hh,v 1.15 2010/02/09 21:58:33 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     26// $Id: G4HEKaonZeroShortInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2828//
    2929//
     
    5656   G4HEKaonZeroShortInelastic() : G4HEInelastic("G4HEKaonZeroShortInelastic")
    5757   {
    58      theMinEnergy =  20*GeV;
     58     theMinEnergy = 20*GeV;
    5959     theMaxEnergy = 10*TeV;
    6060     MAXPART      = 2048;
     
    6666   G4int vecLength;
    6767
    68    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     68   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     69                                  G4Nucleus& targetNucleus);
    6970
    7071   G4int GetNumberOfSecondaries()
    7172        { return vecLength;};           
    7273
    73    void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy,
     74   void FirstIntInCasKaonZero(G4bool& inElastic,
     75                              const G4double availableEnergy,
    7476                              G4HEVector pv[],
    75                               G4int &vecLen,
    76                               G4HEVector incidentParticle,
    77                               G4HEVector targetParticle,
     77                              G4int& vecLen,
     78                              const G4HEVector& incidentParticle,
     79                              const G4HEVector& targetParticle,
    7880                              const G4double atomicWeight);
    7981
    80    void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy,
     82   void FirstIntInCasAntiKaonZero(G4bool& inElastic,
     83                                  const G4double availableEnergy,
    8184                                  G4HEVector pv[],
    82                                   G4int &vecLen,
    83                                   G4HEVector incidentParticle,
    84                                   G4HEVector targetParticle);
     85                                  G4int& vecLen,
     86                                  const G4HEVector& incidentParticle,
     87                                  const G4HEVector& targetParticle);
     88};
     89#endif
    8590
    86 };
    87 #endif                     
    88                                          
    89 
  • trunk/source/processes/hadronic/models/high_energy/include/G4HELambdaInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HELambdaInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HELambdaInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HELambdaInelastic() : G4HEInelastic("G4HELambdaInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasLambda(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasLambda(G4bool& inElastic,
     76                            const G4double availableEnergy,
    7577                            G4HEVector pv[],
    76                             G4int &vecLen,
    77                             G4HEVector incidentParticle,
    78                             G4HEVector targetParticle,
     78                            G4int& vecLen,
     79                            const G4HEVector& incidentParticle,
     80                            const G4HEVector& targetParticle,
    7981                            const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HENeutronInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HENeutronInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HENeutronInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757  G4HENeutronInelastic() : G4HEInelastic("G4HENeutronInelastic")
    5858  {
    59     theMinEnergy =  45*GeV;
     59    vecLength = 0;
     60    theMinEnergy = 45*GeV;
    6061    theMaxEnergy = 10*TeV;
    6162    MAXPART      = 2048;
     
    6768  G4int vecLength;
    6869       
    69   G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70  G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                 G4Nucleus& targetNucleus);
    7072
    71   G4int GetNumberOfSecondaries()
    72       { return vecLength; }         
     73  G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74   void FirstIntInCasNeutron(G4bool &inElastic, const G4double availableEnergy,
     75  void FirstIntInCasNeutron(G4bool& inElastic,
     76                            const G4double availableEnergy,
    7577                            G4HEVector pv[],
    76                             G4int &vecLen,
    77                             G4HEVector incidentParticle,
    78                             G4HEVector targetParticle,
     78                            G4int& vecLen,
     79                            const G4HEVector& incidentParticle,
     80                            const G4HEVector& targetParticle,
    7981                            const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEOmegaMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEOmegaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEOmegaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEOmegaMinusInelastic() : G4HEInelastic("G4HEOmegaMinusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasOmegaMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasOmegaMinus(G4bool& inElastic,
     76                                const G4double availableEnergy,
    7577                                G4HEVector pv[],
    76                                 G4int &vecLen,
    77                                 G4HEVector incidentParticle,
    78                                 G4HEVector targetParticle,
     78                                G4int& vecLen,
     79                                const G4HEVector& incidentParticle,
     80                                const G4HEVector& targetParticle,
    7981                                const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEPionMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEPionMinusInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEPionMinusInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEPionMinusInelastic() : G4HEInelastic("G4HEPionMinusInelastic")
    5858   {
    59      theMinEnergy =  45*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 45*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasPionMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasPionMinus(G4bool& inElastic,
     76                               const G4double availableEnergy,
    7577                               G4HEVector pv[],
    76                                G4int &vecLen,
    77                                G4HEVector incidentParticle,
    78                                G4HEVector targetParticle);
     78                               G4int& vecLen,
     79                               const G4HEVector& incidentParticle,
     80                               const G4HEVector& targetParticle);
    7981};
    80 #endif                     
    81                                          
     82#endif
    8283
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEPionPlusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEPionPlusInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEPionPlusInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEPionPlusInelastic() : G4HEInelastic("G4HEPionPlusInelastic")
    5858   {
    59      theMinEnergy =  45*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 45*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasPionPlus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasPionPlus(G4bool& inElastic,
     76                              const G4double availableEnergy,
    7577                              G4HEVector pv[],
    76                               G4int &vecLen,
    77                               G4HEVector incidentParticle,
    78                               G4HEVector targetParticle,
     78                              G4int& vecLen,
     79                              const G4HEVector& incidentParticle,
     80                              const G4HEVector& targetParticle,
    7981                              const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEProtonInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEProtonInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEProtonInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEProtonInelastic() : G4HEInelastic("G4HEProtonInelastic")
    5858   {
    59      theMinEnergy =  45*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 45*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int  GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void   FirstIntInCasProton(G4bool &inElastic, const G4double availableEnergy,
    75                               G4HEVector pv[],
    76                               G4int &vecLen,
    77                               G4HEVector incidentParticle,
    78                               G4HEVector targetParticle,
    79                               const G4double atomicWeight);
     75   void FirstIntInCasProton(G4bool& inElastic,
     76                            const G4double availableEnergy,
     77                            G4HEVector pv[],
     78                            G4int& vecLen,
     79                            const G4HEVector& incidentParticle,
     80                            const G4HEVector& targetParticle,
     81                            const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HESigmaMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HESigmaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HESigmaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HESigmaMinusInelastic() : G4HEInelastic("G4HESigmaMinusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasSigmaMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasSigmaMinus(G4bool& inElastic,
     76                                const G4double availableEnergy,
    7577                                G4HEVector pv[],
    76                                 G4int &vecLen,
    77                                 G4HEVector incidentParticle,
    78                                 G4HEVector targetParticle,
     78                                G4int& vecLen,
     79                                const G4HEVector& incidentParticle,
     80                                const G4HEVector& targetParticle,
    7981                                const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HESigmaPlusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HESigmaPlusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HESigmaPlusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HESigmaPlusInelastic() : G4HEInelastic("G4HESigmaPlusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72         { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasSigmaPlus(G4bool& inElastic,
     76                               const G4double availableEnergy,
    7577                               G4HEVector pv[],
    76                                G4int &vecLen,
    77                                G4HEVector incidentParticle,
    78                                G4HEVector targetParticle,
     78                               G4int& vecLen,
     79                               const G4HEVector& incidentParticle,
     80                               const G4HEVector& targetParticle,
    7981                               const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HESigmaZeroInelastic.hh

    r1340 r1347  
    2626//
    2727// $Id: G4HESigmaZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEVector.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEVector.hh,v 1.12 2006/06/29 20:29:48 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEVector.hh,v 1.15 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    9191     baryon           = 0;
    9292     strangeness      = 0;
     93     for (G4int i = 0; i < NumberOfQuarkFlavor; i++) {
     94       theQuarkContent[i] = 0;
     95       theAntiQuarkContent[i] = 0;
     96     }
    9397   }
    9498
     
    150154   const G4ParticleMomentum getMomentum() const ;
    151155
    152    G4double getTotalMomentum();
     156   G4double getTotalMomentum() const;
    153157
    154158   void setMomentum( G4double x, G4double y, G4double z);
     
    172176   void setKineticEnergyAndUpdate(G4double ekin);
    173177
    174    G4double getEnergy();
    175 
    176    G4double getKineticEnergy();
     178   G4double getEnergy() const;
     179
     180   G4double getKineticEnergy() const;
    177181
    178182   void setMass( G4double m );
     
    180184   void setMassAndUpdate( G4double m );
    181185
    182    G4double getMass();
     186   G4double getMass() const;
    183187
    184188   void setCharge( G4double c );
    185189
    186    G4double getCharge();
     190   G4double getCharge() const;
    187191
    188192   void setTOF( G4double t );
     
    200204   void setCode( G4int c );
    201205
    202    G4int getCode();
    203 
    204    G4String getName();
    205 
    206    G4int getBaryonNumber();
    207 
    208    G4int getStrangenessNumber();
     206   G4int getCode() const;
     207
     208   G4String getName() const;
     209
     210   G4int getBaryonNumber() const;
     211
     212   G4int getStrangenessNumber() const;
    209213
    210214   G4int getQuarkContent(G4int flavor);
     
    214218   void setZero();
    215219
    216    G4String getType();
     220   G4String getType() const;
    217221
    218222   void Add( const G4HEVector & p1, const G4HEVector & p2 );
     
    222226   void Lor( const G4HEVector & p1, const G4HEVector & p2 );
    223227
    224    G4double CosAng( const G4HEVector & p );
     228   G4double CosAng(const G4HEVector& p) const;
    225229
    226230   G4double Ang(const G4HEVector & p );
     
    244248   void Norz( const G4HEVector & p );
    245249
    246    G4double Length();
     250   G4double Length() const;
    247251
    248252   void Exch( G4HEVector & p1);
     
    260264   G4int FillQuarkContent();
    261265
    262    void Print( G4int L);
     266   void Print(G4int L) const;
    263267};
    264268
    265269#endif
    266270
    267 
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEXiMinusInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEXiMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEXiMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEXiMinusInelastic() : G4HEInelastic("G4HEXiMinusInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasXiMinus(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasXiMinus(G4bool& inElastic,
     76                             const G4double availableEnergy,
    7577                             G4HEVector pv[],
    76                              G4int &vecLen,
    77                              G4HEVector incidentParticle,
    78                              G4HEVector targetParticle,
     78                             G4int& vecLen,
     79                             const G4HEVector& incidentParticle,
     80                             const G4HEVector& targetParticle,
    7981                             const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
  • trunk/source/processes/hadronic/models/high_energy/include/G4HEXiZeroInelastic.hh

    r1340 r1347  
    2525//
    2626//
    27 // $Id: G4HEXiZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     27// $Id: G4HEXiZeroInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $
     28// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2929//
    3030//
     
    5757   G4HEXiZeroInelastic() : G4HEInelastic("G4HEXiZeroInelastic")
    5858   {
    59      theMinEnergy =  20*GeV;
     59     vecLength = 0;
     60     theMinEnergy = 20*GeV;
    6061     theMaxEnergy = 10*TeV;
    6162     MAXPART      = 2048;
     
    6768   G4int vecLength;
    6869       
    69    G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
     70   G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     71                                  G4Nucleus& targetNucleus);
    7072
    71    G4int GetNumberOfSecondaries()
    72        { return vecLength; }         
     73   G4int GetNumberOfSecondaries() {return vecLength;}
    7374
    74    void FirstIntInCasXiZero(G4bool &inElastic, const G4double availableEnergy,
     75   void FirstIntInCasXiZero(G4bool& inElastic,
     76                            const G4double availableEnergy,
    7577                            G4HEVector pv[],
    76                             G4int &vecLen,
    77                             G4HEVector incidentParticle,
    78                             G4HEVector targetParticle,
     78                            G4int& vecLen,
     79                            const G4HEVector& incidentParticle,
     80                            const G4HEVector& targetParticle,
    7981                            const G4double atomicWeight);
    8082};
    81 #endif                     
    82                                          
     83#endif
    8384
Note: See TracChangeset for help on using the changeset viewer.