Import Geant4 9.4.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: RE01HadronPhysics.cc,v 1.2 2006/06/29 17:44:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: RE01HadronPhysics.cc,v 1.3 2010/04/07 01:27:53 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04-beta-01 $
|
||||
//
|
||||
|
||||
#include "RE01HadronPhysics.hh"
|
||||
@@ -36,7 +36,7 @@
|
||||
// processes
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4MultipleScattering.hh"
|
||||
#include "G4hMultipleScattering.hh"
|
||||
#include "G4hIonisation.hh"
|
||||
#include "G4HadronElasticProcess.hh"
|
||||
#include "G4PionPlusInelasticProcess.hh"
|
||||
@@ -204,7 +204,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4PionPlus::PionPlus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -233,7 +233,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4PionMinus::PionMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -265,7 +265,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4KaonPlus::KaonPlus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -288,7 +288,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4KaonMinus::KaonMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -349,7 +349,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4Proton::Proton()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -379,7 +379,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4AntiProton::AntiProton()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -515,7 +515,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4SigmaMinus::SigmaMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -539,7 +539,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4AntiSigmaMinus::AntiSigmaMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -565,7 +565,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4SigmaPlus::SigmaPlus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -588,7 +588,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4AntiSigmaPlus::AntiSigmaPlus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -614,7 +614,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4XiMinus::XiMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -637,7 +637,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4AntiXiMinus::AntiXiMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -700,7 +700,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4OmegaMinus::OmegaMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -724,7 +724,7 @@ void RE01HadronPhysics::ConstructProcess()
|
||||
pManager = G4AntiOmegaMinus::AntiOmegaMinus()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: RE01IonPhysics.cc,v 1.2 2006/06/29 17:44:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: RE01IonPhysics.cc,v 1.3 2010/04/07 01:27:53 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04-beta-01 $
|
||||
//
|
||||
|
||||
#include "RE01IonPhysics.hh"
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "G4IonConstructor.hh"
|
||||
|
||||
// processes
|
||||
#include "G4MultipleScattering.hh"
|
||||
#include "G4hMultipleScattering.hh"
|
||||
#include "G4hIonisation.hh"
|
||||
#include "G4ionIonisation.hh"
|
||||
#include "G4HadronElasticProcess.hh"
|
||||
@@ -87,7 +87,7 @@ void RE01IonPhysics::ConstructProcess()
|
||||
pManager = G4Deuteron::Deuteron()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -108,7 +108,7 @@ void RE01IonPhysics::ConstructProcess()
|
||||
pManager = G4Triton::Triton()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -129,7 +129,7 @@ void RE01IonPhysics::ConstructProcess()
|
||||
pManager = G4He3::He3()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -146,7 +146,7 @@ void RE01IonPhysics::ConstructProcess()
|
||||
pManager = G4Alpha::Alpha()->GetProcessManager();
|
||||
|
||||
// EM processes
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// hadron elastic
|
||||
@@ -167,7 +167,7 @@ void RE01IonPhysics::ConstructProcess()
|
||||
pManager = G4GenericIon::GenericIon()->GetProcessManager();
|
||||
|
||||
// Only EM processes for generic ion
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4ionIonisation(), -1, 2, 2);
|
||||
|
||||
}
|
||||
|
||||
@@ -24,21 +24,23 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: RE01LeptonPhysics.cc,v 1.2 2006/06/29 17:44:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: RE01LeptonPhysics.cc,v 1.3 2010/04/07 01:27:53 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04-beta-01 $
|
||||
//
|
||||
|
||||
#include "RE01LeptonPhysics.hh"
|
||||
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4MultipleScattering.hh"
|
||||
#include "G4eMultipleScattering.hh"
|
||||
#include "G4eIonisation.hh"
|
||||
#include "G4eBremsstrahlung.hh"
|
||||
#include "G4eplusAnnihilation.hh"
|
||||
#include "G4MuMultipleScattering.hh"
|
||||
#include "G4MuIonisation.hh"
|
||||
#include "G4MuBremsstrahlung.hh"
|
||||
#include "G4MuPairProduction.hh"
|
||||
#include "G4hMultipleScattering.hh"
|
||||
#include "G4hIonisation.hh"
|
||||
|
||||
#include "G4Electron.hh"
|
||||
@@ -89,14 +91,14 @@ void RE01LeptonPhysics::ConstructProcess()
|
||||
// Electron physics
|
||||
|
||||
pManager = G4Electron::Electron()->GetProcessManager();
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4eMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4eIonisation(), -1, 2, 2);
|
||||
pManager->AddProcess(new G4eBremsstrahlung(), -1, 3, 3);
|
||||
|
||||
//Positron physics
|
||||
|
||||
pManager = G4Positron::Positron()->GetProcessManager();
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4eMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4eIonisation(), -1, 2, 2);
|
||||
pManager->AddProcess(new G4eBremsstrahlung(), -1, 3, 3);
|
||||
pManager->AddProcess(new G4eplusAnnihilation(), 0,-1, 4);
|
||||
@@ -104,7 +106,7 @@ void RE01LeptonPhysics::ConstructProcess()
|
||||
// Muon-
|
||||
|
||||
pManager = G4MuonMinus::MuonMinus()->GetProcessManager();
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4MuMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4MuIonisation(), -1, 2, 2);
|
||||
pManager->AddProcess(new G4MuBremsstrahlung(), -1, 3, 3);
|
||||
pManager->AddProcess(new G4MuPairProduction(), -1, 4, 4);
|
||||
@@ -112,7 +114,7 @@ void RE01LeptonPhysics::ConstructProcess()
|
||||
// Muon+
|
||||
|
||||
pManager = G4MuonPlus::MuonPlus()->GetProcessManager();
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4MuMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4MuIonisation(), -1, 2, 2);
|
||||
pManager->AddProcess(new G4MuBremsstrahlung(), -1, 3, 3);
|
||||
pManager->AddProcess(new G4MuPairProduction(), -1, 4, 4);
|
||||
@@ -120,13 +122,13 @@ void RE01LeptonPhysics::ConstructProcess()
|
||||
// Tau-
|
||||
|
||||
pManager = G4TauMinus::TauMinus()->GetProcessManager();
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
// Tau+
|
||||
|
||||
pManager = G4TauPlus::TauPlus()->GetProcessManager();
|
||||
pManager->AddProcess(new G4MultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hMultipleScattering(), -1, 1, 1);
|
||||
pManager->AddProcess(new G4hIonisation(), -1, 2, 2);
|
||||
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: RE01StackingAction.cc,v 1.2 2006/06/29 17:44:20 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: RE01StackingAction.cc,v 1.3 2010/11/24 22:47:23 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
|
||||
|
||||
@@ -95,6 +95,7 @@ G4VHitsCollection* RE01StackingAction::GetCalCollection()
|
||||
|
||||
void RE01StackingAction::NewStage()
|
||||
{
|
||||
G4cout << "+++++++++++ Stage " << stage << G4endl;
|
||||
if(stage==0)
|
||||
{
|
||||
// display trajetory information in the tracking region
|
||||
@@ -138,15 +139,18 @@ void RE01StackingAction::NewStage()
|
||||
}
|
||||
}
|
||||
|
||||
// Transfer all tracks in Urgent stack to Waiting stack, since all tracks
|
||||
// in Waiting stack have already been transfered to Urgent stack before
|
||||
// invokation of this method.
|
||||
stackManager->TransferStackedTracks(fUrgent,fWaiting);
|
||||
if(stackManager->GetNUrgentTrack())
|
||||
{
|
||||
// Transfer all tracks in Urgent stack to Waiting stack, since all tracks
|
||||
// in Waiting stack have already been transfered to Urgent stack before
|
||||
// invokation of this method.
|
||||
stackManager->TransferStackedTracks(fUrgent,fWaiting);
|
||||
|
||||
// Then, transfer only one track to Urgent stack.
|
||||
stackManager->TransferOneStackedTrack(fWaiting,fUrgent);
|
||||
// Then, transfer only one track to Urgent stack.
|
||||
stackManager->TransferOneStackedTrack(fWaiting,fUrgent);
|
||||
|
||||
stage++;
|
||||
stage++;
|
||||
}
|
||||
}
|
||||
|
||||
void RE01StackingAction::PrepareNewEvent()
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: RE01Trajectory.cc,v 1.3 2006/06/29 17:44:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: RE01Trajectory.cc,v 1.5 2010/11/08 22:16:28 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ void RE01Trajectory::ShowTrajectory(std::ostream& os) const
|
||||
}
|
||||
}
|
||||
|
||||
void RE01Trajectory::DrawTrajectory(G4int) const
|
||||
void RE01Trajectory::DrawTrajectory(G4int /*i_mode*/) const
|
||||
{
|
||||
|
||||
G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
|
||||
|
||||
Reference in New Issue
Block a user