Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -224,7 +224,7 @@ GetFinalState(G4KineticTrack * projectile,
|
||||
chargeBalance-=G4lrint(result->operator[](hpw)->GetDefinition()->GetPDGCharge());
|
||||
baryonBalance-=result->operator[](hpw)->GetDefinition()->GetBaryonNumber();
|
||||
}
|
||||
if(getenv("AbsorptionEnergyBalanceCheck"))
|
||||
if(std::getenv("AbsorptionEnergyBalanceCheck"))
|
||||
std::cout << "DEBUGGING energy balance B: "
|
||||
<<energyBalance<<" "
|
||||
<<chargeBalance<<" "
|
||||
|
||||
@@ -362,7 +362,7 @@ G4KineticTrackVector* G4Scatterer::Scatter(const G4KineticTrack& trk1,
|
||||
chargeBalance-=G4lrint(products->operator[](hpw)->GetDefinition()->GetPDGCharge());
|
||||
baryonBalance-=products->operator[](hpw)->GetDefinition()->GetBaryonNumber();
|
||||
}
|
||||
if(getenv("ScattererEnergyBalanceCheck"))
|
||||
if(std::getenv("ScattererEnergyBalanceCheck"))
|
||||
std::cout << "DEBUGGING energy balance A: "
|
||||
<<energyBalance<<" "
|
||||
<<pxBalance<<" "
|
||||
|
||||
@@ -71,7 +71,7 @@ G4KineticTrackVector* G4VScatteringCollision::FinalState(const G4KineticTrack& t
|
||||
|
||||
if (OutputDefinitions[0]->IsShortLived() && OutputDefinitions[1]->IsShortLived())
|
||||
{
|
||||
if(getenv("G4KCDEBUG")) G4cerr << "two shortlived for Type = "<<typeid(*this).name()<<G4endl;
|
||||
if(std::getenv("G4KCDEBUG")) G4cerr << "two shortlived for Type = "<<typeid(*this).name()<<G4endl;
|
||||
// throw G4HadronicException(__FILE__, __LINE__, "G4VScatteringCollision: can't handle two shortlived particles!"); // @hpw@
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user