Import Geant4 9.5.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PolarizedAnnihilationModel.cc,v 1.10 2010/11/12 10:38:56 schaelic Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
// $Id: G4PolarizedAnnihilationModel.cc,v 1.10 2010-11-12 10:38:56 schaelic Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -210,20 +210,20 @@ void G4PolarizedAnnihilationModel::SampleSecondaries(std::vector<G4DynamicPartic
|
||||
G4double epsil;
|
||||
G4double gmax=1. + std::fabs(polarization); // crude estimate
|
||||
|
||||
G4bool check_range=true;
|
||||
//G4bool check_range=true;
|
||||
|
||||
crossSectionCalculator->Initialize(epsilmin, gama, 0., theBeamPolarization, theTargetPolarization);
|
||||
if (crossSectionCalculator->DiceEpsilon()<0) {
|
||||
G4cout<<"ERROR in PolarizedAnnihilationPS::PostStepDoIt\n"
|
||||
<<"epsilmin DiceRoutine not appropriate ! "<<crossSectionCalculator->DiceEpsilon()<<G4endl;
|
||||
check_range=false;
|
||||
//check_range=false;
|
||||
}
|
||||
|
||||
crossSectionCalculator->Initialize(epsilmax, gama, 0., theBeamPolarization, theTargetPolarization);
|
||||
if (crossSectionCalculator->DiceEpsilon()<0) {
|
||||
G4cout<<"ERROR in PolarizedAnnihilationPS::PostStepDoIt\n"
|
||||
<<"epsilmax DiceRoutine not appropriate ! "<<crossSectionCalculator->DiceEpsilon()<<G4endl;
|
||||
check_range=false;
|
||||
//check_range=false;
|
||||
}
|
||||
|
||||
G4int ncount=0;
|
||||
|
||||
Reference in New Issue
Block a user