Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -32,20 +32,17 @@
|
||||
#include "G4TouchableHistory.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4LambdacPlus.hh"
|
||||
#include "G4PhysicsModelCatalog.hh"
|
||||
|
||||
G4Channeling::G4Channeling():
|
||||
G4VDiscreteProcess("channeling"),
|
||||
fChannelingID(-1),
|
||||
fChannelingID(G4PhysicsModelCatalog::GetModelID("model_channeling")),
|
||||
fTimeStepMin(0.),
|
||||
fTimeStepMax(0.),
|
||||
fTransverseVariationMax(2.E-2 * CLHEP::angstrom),
|
||||
k010(G4ThreeVector(0.,1.,0.)){
|
||||
fChannelingID = G4PhysicsModelCatalog::GetIndex("channeling");
|
||||
if(fChannelingID == -1){
|
||||
fChannelingID = G4PhysicsModelCatalog::Register("channeling");
|
||||
}
|
||||
fSpin = G4ThreeVector(0.,0.,0.);
|
||||
}
|
||||
k010(G4ThreeVector(0.,1.,0.)),
|
||||
fSpin(G4ThreeVector(0.,0.,0.))
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
|
||||
@@ -37,13 +37,14 @@
|
||||
|
||||
#include "G4ChannelingTrackData.hh"
|
||||
#include "G4EmProcessSubType.hh"
|
||||
#include "G4PhysicsModelCatalog.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
G4ChannelingOptrChangeCrossSection::G4ChannelingOptrChangeCrossSection(G4String particleName,
|
||||
G4String name)
|
||||
:G4VBiasingOperator(name),
|
||||
fChannelingID(-1),
|
||||
fChannelingID(G4PhysicsModelCatalog::GetModelID("model_channeling")),
|
||||
fSetup(true){
|
||||
fParticleToBias = G4ParticleTable::GetParticleTable()->FindParticle(particleName);
|
||||
|
||||
@@ -181,9 +182,6 @@ G4ChannelingOptrChangeCrossSection::ProposeOccurenceBiasingOperation(const G4Tra
|
||||
|
||||
G4double analogXS = 1./analogInteractionLength;
|
||||
|
||||
if(fChannelingID==-1){
|
||||
fChannelingID = G4PhysicsModelCatalog::GetIndex("channeling");
|
||||
}
|
||||
G4ChannelingTrackData* trackdata =
|
||||
(G4ChannelingTrackData*)(track->GetAuxiliaryTrackInformation(fChannelingID));
|
||||
if(trackdata==nullptr) return 0;
|
||||
|
||||
Reference in New Issue
Block a user