Import Geant4 8.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:07:44 +02:00
parent fe73f43734
commit 75c7fd177d
764 changed files with 45230 additions and 95238 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiKaonZeroInelastic.hh,v 1.13 2006/06/29 20:28:49 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiKaonZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiKaonZeroInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiKaonZeroInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiKaonZeroInelastic() : G4HEInelastic("G4HEAntiKaonZeroInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiKaonZeroInelastic(){ };
~G4HEAntiKaonZeroInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiLambdaInelastic.hh,v 1.13 2006/06/29 20:28:51 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiLambdaInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiLambdaInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiLambdaInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiLambdaInelastic() : G4HEInelastic("G4HEAntiLambdaInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiLambdaInelastic(){ };
~G4HEAntiLambdaInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiLambda(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiLambda(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiNeutronInelastic.hh,v 1.13 2006/06/29 20:28:53 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiNeutronInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiNeutronInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiNeutronInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiNeutronInelastic() : G4HEInelastic("G4HEAntiNeutronInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiNeutronInelastic(){ };
~G4HEAntiNeutronInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiNeutron(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiNeutron(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiOmegaMinusInelastic.hh,v 1.13 2006/06/29 20:28:55 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiOmegaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiOmegaMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiOmegaMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiOmegaMinusInelastic() : G4HEInelastic("G4HEAntiOmegaMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiOmegaMinusInelastic(){ };
~G4HEAntiOmegaMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiOmegaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiOmegaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiProtonInelastic.hh,v 1.14 2006/06/29 20:28:57 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiProtonInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiProtonInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiProtonInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiProtonInelastic() : G4HEInelastic("G4HEAntiProtonInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiProtonInelastic(){ };
~G4HEAntiProtonInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiProton(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiProton(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiSigmaMinusInelastic.hh,v 1.13 2006/06/29 20:28:59 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiSigmaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiSigmaMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiSigmaMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiSigmaMinusInelastic() : G4HEInelastic("G4HEAntiSigmaMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiSigmaMinusInelastic(){ };
~G4HEAntiSigmaMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiSigmaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiSigmaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiSigmaPlusInelastic.hh,v 1.13 2006/06/29 20:29:01 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiSigmaPlusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiSigmaPlusInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiSigmaPlusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiSigmaPlusInelastic() : G4HEInelastic("G4HEAntiSigmaPlusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiSigmaPlusInelastic(){ };
~G4HEAntiSigmaPlusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiSigmaZeroInelastic.hh,v 1.13 2006/06/29 20:29:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiSigmaZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,27 +54,29 @@
class G4HEAntiSigmaZeroInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiSigmaZeroInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiSigmaZeroInelastic() : G4HEInelastic("G4HEAntiSigmaZeroInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiSigmaZeroInelastic(){ };
~G4HEAntiSigmaZeroInelastic(){ };
G4int verboseLevel;
G4int MAXPART;
G4int vecLength;
G4int verboseLevel;
G4int MAXPART;
G4int vecLength;
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber; };
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength; }
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber; };
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiXiMinusInelastic.hh,v 1.13 2006/06/29 20:29:06 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiXiMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiXiMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiXiMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiXiMinusInelastic() : G4HEInelastic("G4HEAntiXiMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiXiMinusInelastic(){ };
~G4HEAntiXiMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiXiMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiXiMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEAntiXiZeroInelastic.hh,v 1.13 2006/06/29 20:29:13 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEAntiXiZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEAntiXiZeroInelastic : public G4HEInelastic
{
public: // with description
G4HEAntiXiZeroInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEAntiXiZeroInelastic() : G4HEInelastic("G4HEAntiXiZeroInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEAntiXiZeroInelastic(){ };
~G4HEAntiXiZeroInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasAntiXiZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasAntiXiZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEInelastic.hh,v 1.13 2006/06/29 20:29:15 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy (GHE) model class -- header file
@@ -66,177 +66,185 @@
class G4HEInelastic : public G4HadronicInteraction
{
public: // with description
G4HEInelastic()
{
SetParticles();
conserveEnergy = true;
};
~G4HEInelastic(){ };
G4HEInelastic(const G4String& modelName = "HEInelastic")
: G4HadronicInteraction(modelName)
{
SetParticles();
conserveEnergy = true;
};
~G4HEInelastic(){ };
void SetMaxNumberOfSecondaries( const G4int maxnumber )
{ MAXPART = maxnumber;}
void SetMaxNumberOfSecondaries( const G4int maxnumber )
{ MAXPART = maxnumber;}
void SetVerboseLevel( const G4int level)
{ verboseLevel = level;}
void SetVerboseLevel( const G4int level)
{ verboseLevel = level;}
G4int verboseLevel;
G4int MAXPART;
G4bool conserveEnergy;
void ForceEnergyConservation(G4bool energyConservation)
{ conserveEnergy = energyConservation;}
G4bool EnergyConservation(void)
{ return conserveEnergy;}
G4int verboseLevel;
G4int MAXPART;
G4bool conserveEnergy;
G4double Amin(G4double a, G4double b);
G4double Amax(G4double a, G4double b);
G4int Imin(G4int a, G4int b);
G4int Imax(G4int a, G4int b);
void ForceEnergyConservation(G4bool energyConservation)
{ conserveEnergy = energyConservation;}
G4bool EnergyConservation(void)
{ return conserveEnergy;}
G4double Amin(G4double a, G4double b);
G4double Amax(G4double a, G4double b);
G4int Imin(G4int a, G4int b);
G4int Imax(G4int a, G4int b);
void FillParticleChange(G4HEVector pv[], G4int aVecLength);
void FillParticleChange(G4HEVector pv[], G4int aVecLength);
G4double pmltpc(G4int np, G4int nm, G4int nz, G4int n, G4double b, G4double c);
G4double pmltpc(G4int np, G4int nm, G4int nz, G4int n, G4double b, G4double c);
G4int Factorial(G4int n);
G4int Factorial(G4int n);
G4double NuclearInelasticity(G4double incidentKineticEnergy,
G4double atomicWeight,
G4double atomicNumber);
G4double NuclearExcitation(G4double incidentKineticEnergy,
G4double atomicWeight,
G4double atomicNumber,
G4double& excitationEnergyCascade,
G4double& excitationEnergyEvaporation);
G4double NuclearInelasticity(G4double incidentKineticEnergy,
G4double atomicWeight,
G4double atomicNumber);
G4double NuclearExcitation(G4double incidentKineticEnergy,
G4double atomicWeight,
G4double atomicNumber,
G4double& excitationEnergyCascade,
G4double& excitationEnergyEvaporation);
void HighEnergyCascading(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void HighEnergyCascading(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void HighEnergyClusterProduction(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void TuningOfHighEnergyCascading( G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void MediumEnergyCascading(G4bool &successful,
void HighEnergyClusterProduction(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
G4double atomicNumber);
void MediumEnergyClusterProduction(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void TuningOfHighEnergyCascading(G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void QuasiElasticScattering(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void MediumEnergyCascading(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void ElasticScattering(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4double atomicWeight,
G4double atomicNumber);
void MediumEnergyClusterProduction(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
G4int rtmi(G4double *x, G4double xli, G4double xri, G4double eps,
G4int iend,
G4double aa, G4double bb, G4double cc, G4double dd, G4double rr);
G4double fctcos(G4double t, G4double aa, G4double bb,G4double cc, G4double dd,
G4double rr);
void QuasiElasticScattering(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4double &excitationEnergyGNP,
G4double &excitationEnergyDTA,
G4HEVector incidentParticle,
G4HEVector targetParticle,
G4double atomicWeight,
G4double atomicNumber);
void ElasticScattering(G4bool &successful,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4double atomicWeight,
G4double atomicNumber);
G4int rtmi(G4double *x, G4double xli, G4double xri, G4double eps,
G4int iend, G4double aa, G4double bb, G4double cc,
G4double dd, G4double rr);
G4double fctcos(G4double t, G4double aa, G4double bb,G4double cc,
G4double dd, G4double rr);
void StrangeParticlePairProduction(const G4double availableEnergy,
const G4double centerOfMassEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
void StrangeParticlePairProduction(const G4double availableEnergy,
const G4double centerOfMassEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
G4double NBodyPhaseSpace(const G4double totalEnergy,
const G4bool constantCrossSection,
G4HEVector pv[],
G4int &vecLen);
G4double NBodyPhaseSpace(G4int npart,
G4HEVector pv[],
G4double wmax,
G4double wfcn,
G4int maxtrial,
G4int ntrial);
G4double NBodyPhaseSpace(const G4double totalEnergy,
const G4bool constantCrossSection,
G4HEVector pv[],
G4int &vecLen);
G4double NBodyPhaseSpace(G4int npart,
G4HEVector pv[],
G4double wmax,
G4double wfcn,
G4int maxtrial,
G4int ntrial);
G4double gpdk(G4double a, G4double b, G4double c);
void QuickSort(G4double arr[], const G4int lidx, const G4int ridx);
G4double Alam(G4double a, G4double b, G4double c);
G4double CalculatePhaseSpaceWeight( G4int npart);
G4double gpdk(G4double a, G4double b, G4double c);
void QuickSort(G4double arr[], const G4int lidx, const G4int ridx);
G4double Alam(G4double a, G4double b, G4double c);
G4double CalculatePhaseSpaceWeight( G4int npart);
G4double normal(void);
G4double GammaRand(G4double avalue);
G4double Erlang(G4int mvalue);
G4int Poisson(G4double x);
void SetParticles(void);
G4double normal(void);
G4double GammaRand(G4double avalue);
G4double Erlang(G4int mvalue);
G4int Poisson(G4double x);
void SetParticles(void);
G4HEVector PionPlus;
G4HEVector PionZero;
G4HEVector PionMinus;
G4HEVector KaonPlus;
G4HEVector KaonZero;
G4HEVector AntiKaonZero;
G4HEVector KaonMinus;
G4HEVector KaonZeroShort;
G4HEVector KaonZeroLong;
G4HEVector Proton;
G4HEVector AntiProton;
G4HEVector Neutron;
G4HEVector AntiNeutron;
G4HEVector Lambda;
G4HEVector AntiLambda;
G4HEVector SigmaPlus;
G4HEVector SigmaZero;
G4HEVector SigmaMinus;
G4HEVector AntiSigmaPlus;
G4HEVector AntiSigmaZero;
G4HEVector AntiSigmaMinus;
G4HEVector XiZero;
G4HEVector XiMinus;
G4HEVector AntiXiZero;
G4HEVector AntiXiMinus;
G4HEVector OmegaMinus;
G4HEVector AntiOmegaMinus;
G4HEVector Deuteron;
G4HEVector Triton;
G4HEVector Alpha;
G4HEVector Gamma;
G4HEVector PionPlus;
G4HEVector PionZero;
G4HEVector PionMinus;
G4HEVector KaonPlus;
G4HEVector KaonZero;
G4HEVector AntiKaonZero;
G4HEVector KaonMinus;
G4HEVector KaonZeroShort;
G4HEVector KaonZeroLong;
G4HEVector Proton;
G4HEVector AntiProton;
G4HEVector Neutron;
G4HEVector AntiNeutron;
G4HEVector Lambda;
G4HEVector AntiLambda;
G4HEVector SigmaPlus;
G4HEVector SigmaZero;
G4HEVector SigmaMinus;
G4HEVector AntiSigmaPlus;
G4HEVector AntiSigmaZero;
G4HEVector AntiSigmaMinus;
G4HEVector XiZero;
G4HEVector XiMinus;
G4HEVector AntiXiZero;
G4HEVector AntiXiMinus;
G4HEVector OmegaMinus;
G4HEVector AntiOmegaMinus;
G4HEVector Deuteron;
G4HEVector Triton;
G4HEVector Alpha;
G4HEVector Gamma;
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEKaonMinusInelastic.hh,v 1.13 2006/06/29 20:29:17 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEKaonMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,28 +54,28 @@
class G4HEKaonMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEKaonMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEKaonMinusInelastic() : G4HEInelastic("G4HEKaonMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEKaonMinusInelastic(){ };
~G4HEKaonMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasKaonMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
void FirstIntInCasKaonMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEKaonPlusInelastic.hh,v 1.13 2006/06/29 20:29:19 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEKaonPlusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEKaonPlusInelastic : public G4HEInelastic
{
public: // with description
G4HEKaonPlusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEKaonPlusInelastic() : G4HEInelastic("G4HEKaonPlusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEKaonPlusInelastic(){ };
~G4HEKaonPlusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasKaonPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasKaonPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEKaonZeroInelastic.hh,v 1.12 2006/06/29 20:29:21 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEKaonZeroInelastic.hh,v 1.13 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,30 +54,30 @@
class G4HEKaonZeroInelastic : public G4HEInelastic
{
public: // with description
G4HEKaonZeroInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEKaonZeroInelastic() : G4HEInelastic("G4HEKaonZeroInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEKaonZeroInelastic(){ };
~G4HEKaonZeroInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEKaonZeroLongInelastic.hh,v 1.13 2006/06/29 20:29:23 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEKaonZeroLongInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -55,28 +55,29 @@
class G4HEKaonZeroLongInelastic : public G4HEInelastic
{
public: // with description
G4HEKaonZeroLongInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEKaonZeroLongInelastic() : G4HEInelastic("G4HEKaonZeroLongInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEKaonZeroLongInelastic(){ };
~G4HEKaonZeroLongInelastic(){ };
G4int verboseLevel;
G4int MAXPART;
G4int vecLength;
G4int verboseLevel;
G4int MAXPART;
G4int vecLength;
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber;};
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4int GetNumberOfSecondaries()
{ return vecLength;};
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber;};
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength;};
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEKaonZeroShortInelastic.hh,v 1.13 2006/06/29 20:29:25 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEKaonZeroShortInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -55,26 +55,27 @@
class G4HEKaonZeroShortInelastic : public G4HEInelastic
{
public: // with description
G4HEKaonZeroShortInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEKaonZeroShortInelastic() : G4HEInelastic("G4HEKaonZeroShortInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEKaonZeroShortInelastic(){ };
~G4HEKaonZeroShortInelastic(){ };
G4int vecLength;
G4int vecLength;
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber;};
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4int GetNumberOfSecondaries()
{ return vecLength;};
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber;};
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength;};
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HELambdaInelastic.hh,v 1.13 2006/06/29 20:29:27 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HELambdaInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HELambdaInelastic : public G4HEInelastic
{
public: // with description
G4HELambdaInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HELambdaInelastic() : G4HEInelastic("G4HELambdaInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HELambdaInelastic(){ };
~G4HELambdaInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasLambda(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasLambda(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HENeutronInelastic.hh,v 1.14 2006/06/29 20:29:29 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HENeutronInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HENeutronInelastic : public G4HEInelastic
{
public: // with description
G4HENeutronInelastic() : G4HEInelastic()
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HENeutronInelastic() : G4HEInelastic("G4HENeutronInelastic")
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HENeutronInelastic(){ };
~G4HENeutronInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasNeutron(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasNeutron(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEOmegaMinusInelastic.hh,v 1.13 2006/06/29 20:29:31 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEOmegaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEOmegaMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEOmegaMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEOmegaMinusInelastic() : G4HEInelastic("G4HEOmegaMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEOmegaMinusInelastic(){ };
~G4HEOmegaMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasOmegaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasOmegaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEPionMinusInelastic.hh,v 1.14 2006/06/29 20:29:33 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEPionMinusInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,28 +54,28 @@
class G4HEPionMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEPionMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEPionMinusInelastic() : G4HEInelastic("G4HEPionMinusInelastic")
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEPionMinusInelastic(){ };
~G4HEPionMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasPionMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
void FirstIntInCasPionMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEPionPlusInelastic.hh,v 1.14 2006/06/29 20:29:35 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEPionPlusInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEPionPlusInelastic : public G4HEInelastic
{
public: // with description
G4HEPionPlusInelastic() : G4HEInelastic()
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEPionPlusInelastic() : G4HEInelastic("G4HEPionPlusInelastic")
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEPionPlusInelastic(){ };
~G4HEPionPlusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasPionPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasPionPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEProtonInelastic.hh,v 1.14 2006/06/29 20:29:39 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEProtonInelastic.hh,v 1.15 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEProtonInelastic : public G4HEInelastic
{
public: // with description
G4HEProtonInelastic() : G4HEInelastic()
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEProtonInelastic() : G4HEInelastic("G4HEProtonInelastic")
{
theMinEnergy = 45*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEProtonInelastic(){ };
~G4HEProtonInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasProton(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasProton(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HESigmaMinusInelastic.hh,v 1.13 2006/06/29 20:29:41 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HESigmaMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HESigmaMinusInelastic : public G4HEInelastic
{
public: // with description
G4HESigmaMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HESigmaMinusInelastic() : G4HEInelastic("G4HESigmaMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HESigmaMinusInelastic(){ };
~G4HESigmaMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasSigmaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasSigmaMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HESigmaPlusInelastic.hh,v 1.13 2006/06/29 20:29:43 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HESigmaPlusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HESigmaPlusInelastic : public G4HEInelastic
{
public: // with description
G4HESigmaPlusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HESigmaPlusInelastic() : G4HEInelastic("G4HESigmaPlusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HESigmaPlusInelastic(){ };
~G4HESigmaPlusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasSigmaPlus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HESigmaZeroInelastic.hh,v 1.13 2006/06/29 20:29:46 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HESigmaZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,27 +54,29 @@
class G4HESigmaZeroInelastic : public G4HEInelastic
{
public: // with description
G4HESigmaZeroInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HESigmaZeroInelastic() : G4HEInelastic("G4HESigmaZeroInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HESigmaZeroInelastic(){ };
~G4HESigmaZeroInelastic(){ };
G4int verboseLevel;
G4int MAXPART;
G4int vecLength;
G4int verboseLevel;
G4int MAXPART;
G4int vecLength;
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber; };
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4int GetNumberOfSecondaries()
{ return vecLength; }
void SetMaxNumberOfSecondaries(G4int maxnumber)
{ MAXPART = maxnumber; };
void SetVerboseLevel(G4int verbose)
{ verboseLevel = verbose;};
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEXiMinusInelastic.hh,v 1.13 2006/06/29 20:29:50 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEXiMinusInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEXiMinusInelastic : public G4HEInelastic
{
public: // with description
G4HEXiMinusInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEXiMinusInelastic() : G4HEInelastic("G4HEXiMinusInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEXiMinusInelastic(){ };
~G4HEXiMinusInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasXiMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasXiMinus(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HEXiZeroInelastic.hh,v 1.13 2006/06/29 20:29:52 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HEXiZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -54,29 +54,29 @@
class G4HEXiZeroInelastic : public G4HEInelastic
{
public: // with description
G4HEXiZeroInelastic() : G4HEInelastic()
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
G4HEXiZeroInelastic() : G4HEInelastic("G4HEXiZeroInelastic")
{
theMinEnergy = 20*GeV;
theMaxEnergy = 10*TeV;
MAXPART = 2048;
verboseLevel = 0;
}
~G4HEXiZeroInelastic(){ };
~G4HEXiZeroInelastic(){ };
G4int vecLength;
G4int vecLength;
G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus);
G4int GetNumberOfSecondaries()
{ return vecLength; }
G4int GetNumberOfSecondaries()
{ return vecLength; }
void FirstIntInCasXiZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
void FirstIntInCasXiZero(G4bool &inElastic, const G4double availableEnergy,
G4HEVector pv[],
G4int &vecLen,
G4HEVector incidentParticle,
G4HEVector targetParticle,
const G4double atomicWeight);
};
#endif