00001 #include "BaBar.hh"
00002 #include "BgsGenocide.hh"
00003
00004
00005
00006
00007 BgsGenocide::BgsGenocide( const G4String &name, G4ProcessType type )
00008 : G4VProcess( name, type )
00009 {;}
00010
00011
00012
00013
00014
00015 BgsGenocide::~BgsGenocide() {;}
00016
00017
00018
00019
00020
00021 G4double BgsGenocide::PostStepGetPhysicalInteractionLength(
00022 const G4Track& track,
00023 G4double previousStepSize,
00024 G4ForceCondition* condition )
00025 {
00026 *condition = NotForced;
00027 return 0;
00028 }
00029
00030
00031
00032
00033
00034 G4VParticleChange *BgsGenocide::PostStepDoIt( const G4Track &track,
00035 const G4Step &step )
00036 {
00037 pParticleChange->Initialize(track);
00038
00039 pParticleChange->ProposeTrackStatus( fStopAndKill );
00040 pParticleChange->SetNumberOfSecondaries( 0 );
00041 pParticleChange->ProposeLocalEnergyDeposit( 0 );
00042 ClearNumberOfInteractionLengthLeft();
00043
00044 return pParticleChange;
00045 }