Import Geant4 9.0.0 source tree
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user