Import Geant4 1.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Cerenkov.cc,v 1.6.2.1 1999/12/07 20:51:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Cerenkov.cc,v 1.6.2.1.2.1 1999/12/08 17:34:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Cerenkov Radiation Class Implementation
|
||||
@@ -54,7 +54,7 @@ G4Cerenkov::G4Cerenkov(const G4String& processName)
|
||||
thePhysicsTable = NULL;
|
||||
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created " << endl;
|
||||
G4cout << GetProcessName() << " is created " << G4endl;
|
||||
}
|
||||
|
||||
BuildThePhysicsTable();
|
||||
@@ -264,7 +264,7 @@ G4Cerenkov::AlongStepDoIt(const G4Track& aTrack, const G4Step& aStep)
|
||||
|
||||
if (verboseLevel>0) {
|
||||
G4cout << "\n Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = "
|
||||
<< aParticleChange.GetNumberOfSecondaries() << endl;
|
||||
<< aParticleChange.GetNumberOfSecondaries() << G4endl;
|
||||
}
|
||||
|
||||
return G4VContinuousProcess::AlongStepDoIt(aTrack, aStep);
|
||||
@@ -485,8 +485,8 @@ G4Cerenkov::GetAverageNumberOfPhotons(const G4DynamicParticle* aParticle,
|
||||
ge = CAImax - CAImin;
|
||||
|
||||
if (verboseLevel>0) {
|
||||
G4cout << "CAImin = " << CAImin << endl;
|
||||
G4cout << "ge = " << ge << endl;
|
||||
G4cout << "CAImin = " << CAImin << G4endl;
|
||||
G4cout << "ge = " << ge << G4endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ForwardXrayTR.cc,v 1.2.8.1 1999/12/07 20:51:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4ForwardXrayTR.cc,v 1.2.8.1.2.1 1999/12/08 17:34:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// G4ForwardXrayTR class -- implementation file
|
||||
|
||||
@@ -236,7 +236,7 @@ G4ForwardXrayTR( const G4String& matName1, // G4Material* pMat1,
|
||||
{
|
||||
G4Exception("Invalid second material name in G4ForwardXrayTR constructor") ;
|
||||
}
|
||||
// G4cout<<"G4ForwardXray constructor is called"<<endl ;
|
||||
// G4cout<<"G4ForwardXray constructor is called"<<G4endl ;
|
||||
BuildXrayTRtables() ;
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ void G4ForwardXrayTR::BuildXrayTRtables()
|
||||
fMaxThetaTR = fTheMinAngle ;
|
||||
}
|
||||
}
|
||||
// G4cout<<endl<<"fGamma = "<<fGamma<<" fMaxThetaTR = "<<fMaxThetaTR<<endl ;
|
||||
// G4cout<<G4endl<<"fGamma = "<<fGamma<<" fMaxThetaTR = "<<fMaxThetaTR<<G4endl ;
|
||||
G4PhysicsLinearVector*
|
||||
angleVector = new G4PhysicsLinearVector( 0.0,
|
||||
fMaxThetaTR,
|
||||
@@ -353,7 +353,7 @@ void G4ForwardXrayTR::BuildXrayTRtables()
|
||||
energyVector->PutValue(iTR,energySum) ;
|
||||
angleVector ->PutValue(iTR,angleSum) ;
|
||||
}
|
||||
// G4cout<<"sumE = "<<energySum<<" ; sumA = "<<angleSum<<endl ;
|
||||
// G4cout<<"sumE = "<<energySum<<" ; sumA = "<<angleSum<<G4endl ;
|
||||
|
||||
if(jMat < iMat)
|
||||
{
|
||||
@@ -369,7 +369,7 @@ void G4ForwardXrayTR::BuildXrayTRtables()
|
||||
} // jMat != iMat
|
||||
} // jMat
|
||||
} // iMat
|
||||
// G4cout<<"G4ForwardXrayTR::BuildXrayTRtables have been called"<<endl ;
|
||||
// G4cout<<"G4ForwardXrayTR::BuildXrayTRtables have been called"<<G4endl ;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
@@ -536,7 +536,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
const G4Step& aStep)
|
||||
{
|
||||
aParticleChange.Initialize(aTrack);
|
||||
// G4cout<<"call G4ForwardXrayTR::PostStepDoIt"<<endl ;
|
||||
// G4cout<<"call G4ForwardXrayTR::PostStepDoIt"<<G4endl ;
|
||||
G4int iMat, jMat, iTkin, iPlace, numOfMat, numOfTR, iTR, iTransfer ;
|
||||
|
||||
G4double energyPos, anglePos, energyTR, theta, phi, dirX, dirY, dirZ ;
|
||||
@@ -624,7 +624,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
{
|
||||
// G4cout<<iTkin<<" mean TR number = "<<( (*(*fEnergyDistrTable)(iPlace))(0) +
|
||||
// (*(*fAngleDistrTable)(iPlace))(0) )
|
||||
// *chargeSq*0.5<<endl ;
|
||||
// *chargeSq*0.5<<G4endl ;
|
||||
|
||||
numOfTR = RandPoisson::shoot( ( (*(*fEnergyDistrTable)(iPlace))(0) +
|
||||
(*(*fAngleDistrTable)(iPlace))(0) )
|
||||
@@ -635,7 +635,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
}
|
||||
else
|
||||
{
|
||||
// G4cout<<"Number of X-ray TR photons = "<<numOfTR<<endl ;
|
||||
// G4cout<<"Number of X-ray TR photons = "<<numOfTR<<G4endl ;
|
||||
|
||||
aParticleChange.SetNumberOfSecondaries(numOfTR);
|
||||
|
||||
@@ -648,7 +648,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
}
|
||||
energyTR = (*fEnergyDistrTable)(iPlace)->GetLowEdgeEnergy(iTransfer) ;
|
||||
|
||||
// G4cout<<"energyTR = "<<energyTR/keV<<"keV"<<endl ;
|
||||
// G4cout<<"energyTR = "<<energyTR/keV<<"keV"<<G4endl ;
|
||||
|
||||
kinEnergy -= energyTR ;
|
||||
aParticleChange.SetEnergyChange(kinEnergy);
|
||||
@@ -660,7 +660,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
}
|
||||
theta = sqrt((*fAngleDistrTable)(iPlace)->GetLowEdgeEnergy(iTransfer-1)) ;
|
||||
|
||||
// G4cout<<iTransfer<<" : theta = "<<theta<<endl ;
|
||||
// G4cout<<iTransfer<<" : theta = "<<theta<<G4endl ;
|
||||
|
||||
phi = twopi*G4UniformRand() ;
|
||||
dirX = sin(theta)*cos(phi) ;
|
||||
@@ -693,7 +693,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
// (*(*fAngleDistrTable)(iPlace))(0))*W1 +
|
||||
// ((*(*fEnergyDistrTable)(iPlace + 1))(0)+
|
||||
// (*(*fAngleDistrTable)(iPlace + 1))(0))*W2)
|
||||
// *chargeSq*0.5<<endl ;
|
||||
// *chargeSq*0.5<<G4endl ;
|
||||
|
||||
numOfTR = RandPoisson::shoot((((*(*fEnergyDistrTable)(iPlace))(0)+
|
||||
(*(*fAngleDistrTable)(iPlace))(0))*W1 +
|
||||
@@ -706,7 +706,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
}
|
||||
else
|
||||
{
|
||||
// G4cout<<"Number of X-ray TR photons = "<<numOfTR<<endl ;
|
||||
// G4cout<<"Number of X-ray TR photons = "<<numOfTR<<G4endl ;
|
||||
|
||||
aParticleChange.SetNumberOfSecondaries(numOfTR);
|
||||
for(iTR=0;iTR<numOfTR;iTR++)
|
||||
@@ -721,7 +721,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
energyTR = ((*fEnergyDistrTable)(iPlace)->GetLowEdgeEnergy(iTransfer))*W1+
|
||||
((*fEnergyDistrTable)(iPlace + 1)->GetLowEdgeEnergy(iTransfer))*W2 ;
|
||||
|
||||
// G4cout<<"energyTR = "<<energyTR/keV<<"keV"<<endl ;
|
||||
// G4cout<<"energyTR = "<<energyTR/keV<<"keV"<<G4endl ;
|
||||
|
||||
kinEnergy -= energyTR ;
|
||||
aParticleChange.SetEnergyChange(kinEnergy);
|
||||
@@ -738,7 +738,7 @@ G4VParticleChange* G4ForwardXrayTR::PostStepDoIt(const G4Track& aTrack,
|
||||
((*fAngleDistrTable)(iPlace + 1)->
|
||||
GetLowEdgeEnergy(iTransfer-1))*W2) ;
|
||||
|
||||
// G4cout<<iTransfer<<" : theta = "<<theta<<endl ;
|
||||
// G4cout<<iTransfer<<" : theta = "<<theta<<G4endl ;
|
||||
|
||||
phi = twopi*G4UniformRand() ;
|
||||
dirX = sin(theta)*cos(phi) ;
|
||||
@@ -843,7 +843,7 @@ G4ForwardXrayTR::GetEnergyTR(G4int iMat, G4int jMat, G4int iTkin) const
|
||||
}
|
||||
else
|
||||
{
|
||||
G4cout<<"It is still OK in GetEnergyTR(int,int,int)"<<endl;
|
||||
G4cout<<"It is still OK in GetEnergyTR(int,int,int)"<<G4endl;
|
||||
for(iTR=0;iTR<numOfTR;iTR++)
|
||||
{
|
||||
energyPos = ((*energyVector1)(0)*W1+
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Scintillation.cc,v 1.2.8.1 1999/12/07 20:51:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4Scintillation.cc,v 1.2.8.1.2.1 1999/12/08 17:34:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Scintillation Light Class Implementation
|
||||
@@ -54,7 +54,7 @@ G4Scintillation::G4Scintillation(const G4String& processName)
|
||||
thePhysicsTable = NULL;
|
||||
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created " << endl;
|
||||
G4cout << GetProcessName() << " is created " << G4endl;
|
||||
}
|
||||
|
||||
BuildThePhysicsTable();
|
||||
@@ -163,8 +163,8 @@ G4Scintillation::PostStepDoIt(const G4Track& aTrack, const G4Step& aStep)
|
||||
ScintillationIntegral->GetEnergy(CIIvalue);
|
||||
|
||||
if (verboseLevel>1) {
|
||||
G4cout << "sampledMomentum = " << sampledMomentum << endl;
|
||||
G4cout << "CIIvalue = " << CIIvalue << endl;
|
||||
G4cout << "sampledMomentum = " << sampledMomentum << G4endl;
|
||||
G4cout << "CIIvalue = " << CIIvalue << G4endl;
|
||||
}
|
||||
|
||||
// Generate random photon direction
|
||||
@@ -241,7 +241,7 @@ G4Scintillation::PostStepDoIt(const G4Track& aTrack, const G4Step& aStep)
|
||||
|
||||
if (verboseLevel>0) {
|
||||
G4cout << "\n Exiting from G4Scintillation::DoIt -- NumberOfSecondaries = "
|
||||
<< aParticleChange.GetNumberOfSecondaries() << endl;
|
||||
<< aParticleChange.GetNumberOfSecondaries() << G4endl;
|
||||
}
|
||||
|
||||
return G4VDiscreteProcess::PostStepDoIt(aTrack, aStep);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4TransitionRadiation.cc,v 1.1.10.1 1999/12/07 20:51:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// G4TransitionRadiation class -- implementation file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user