Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
@@ -36,6 +36,7 @@
#include "RichTbGeometryParameters.hh"
#include "G4TransportationManager.hh"
#include "G4TouchableHandle.hh"
#include "G4GeometryTolerance.hh"
#include "Randomize.hh"
#include "RichTbAnalysisManager.hh"
#include "RichTbRunConfig.hh"
@@ -43,7 +44,6 @@
#include "RichTbAnalysisManager.hh"
PadHpdPhotoElectricEffect::PadHpdPhotoElectricEffect(const G4String& processName ,
RichTbRunConfig* RConfig)
:G4VDiscreteProcess(processName),
@@ -148,14 +148,12 @@ G4VParticleChange* PadHpdPhotoElectricEffect::PostStepDoIt(const G4Track& aTrack
return G4VDiscreteProcess::PostStepDoIt(aTrack, aStep);
}
G4double kCarTolerance = G4GeometryTolerance::GetInstance()->GetSurfaceTolerance();
if (aTrack.GetStepLength()<=kCarTolerance/2){
return G4VDiscreteProcess::PostStepDoIt(aTrack, aStep);
}
const G4DynamicParticle* aDynamicPhoton = aTrack.GetDynamicParticle();
G4double PhotonEnergy = aDynamicPhoton->GetKineticEnergy();