Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -96,7 +96,7 @@ G4double SteppingAction::BirksAttenuation(const G4Step* aStep)
|
||||
//Example of Birk attenuation law in organic scintillators.
|
||||
//adapted from Geant3 PHYS337. See MIN 80 (1970) 239-244
|
||||
//
|
||||
G4Material* material = aStep->GetTrack()->GetMaterial();
|
||||
const G4Material* material = aStep->GetTrack()->GetMaterial();
|
||||
G4double birk1 = material->GetIonisation()->GetBirksConstant();
|
||||
G4double destep = aStep->GetTotalEnergyDeposit();
|
||||
G4double stepl = aStep->GetStepLength();
|
||||
|
||||
Reference in New Issue
Block a user