From 2925dbae7f488c3113b5f574eca1ceaba0ffdaac Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 21 Aug 2018 15:36:34 +0100 Subject: Tue 21 Aug 15:36:34 BST 2018 --- src/G4BeamTestIonPhysics.cxx | 112 ------------------------------------------- 1 file changed, 112 deletions(-) delete mode 100644 src/G4BeamTestIonPhysics.cxx (limited to 'src/G4BeamTestIonPhysics.cxx') diff --git a/src/G4BeamTestIonPhysics.cxx b/src/G4BeamTestIonPhysics.cxx deleted file mode 100644 index 3c7e553..0000000 --- a/src/G4BeamTestIonPhysics.cxx +++ /dev/null @@ -1,112 +0,0 @@ -/* - * copyright (C) 2010 - * The Icecube Collaboration - * - * $Id: G4BeamTestIonPhysics.cxx 86420 2012-03-20 16:00:37Z kislat $ - * - * @version $Revision: 86420 $ - * @date $LastChangedDate: 2012-03-20 16:00:37 +0000 (Tue, 20 Mar 2012) $ - * @author Fabian Kislat , Peter Nießen (tanktop) - * Last changed by: $LastChangedBy: kislat $ - */ - -#include - -#include -#include -#include -#include -#include -#include - -#include "G4BeamTestIonPhysics.h" - -G4BeamTestIonPhysics::G4BeamTestIonPhysics() - : G4VPhysicsConstructor ("ion") -{} - -/********************************************************************/ - -G4BeamTestIonPhysics::~G4BeamTestIonPhysics() -{} - - -/********************************************************************/ - -void G4BeamTestIonPhysics::ConstructParticle() -{ - // Construct light ions - G4IonConstructor pConstructor; - pConstructor.ConstructParticle(); -} - -/********************************************************************/ - - - - -void G4BeamTestIonPhysics::ConstructProcess() -{ - G4ProcessManager *pManager = 0; - - // Elastic Process - elasticModel_ = new G4LElastic; - elasticProcess_.RegisterMe(elasticModel_); - - // Generic Ion - pManager = G4GenericIon::GenericIon()->GetProcessManager(); - // add process - pManager->AddDiscreteProcess(&elasticProcess_); - - pManager->AddProcess(&ionMultipleScattering_, -1, 1, 1); - pManager->AddProcess(&ionIonisation_, -1, 2, 2); - - // Deuteron - pManager = G4Deuteron::Deuteron()->GetProcessManager(); - // add process - pManager->AddDiscreteProcess(&elasticProcess_); - - deuteronModel_ = new G4LEDeuteronInelastic; - deuteronProcess_.RegisterMe(deuteronModel_); - pManager->AddDiscreteProcess(&deuteronProcess_); - - pManager->AddProcess(&deuteronMultipleScattering_, -1, 1, 1); - pManager->AddProcess(&deuteronIonisation_, -1, 2, 2); - - // Triton - pManager = G4Triton::Triton()->GetProcessManager(); - // add process - pManager->AddDiscreteProcess(&elasticProcess_); - - tritonModel_ = new G4LETritonInelastic; - tritonProcess_.RegisterMe(tritonModel_); - pManager->AddDiscreteProcess(&tritonProcess_); - - pManager->AddProcess(&tritonMultipleScattering_, -1, 1, 1); - pManager->AddProcess(&tritonIonisation_, -1, 2, 2); - - // Alpha - pManager = G4Alpha::Alpha()->GetProcessManager(); - // add process - pManager->AddDiscreteProcess(&elasticProcess_); - - alphaModel_ = new G4LEAlphaInelastic; - alphaProcess_.RegisterMe(alphaModel_); - pManager->AddDiscreteProcess(&alphaProcess_); - - pManager->AddProcess(&alphaMultipleScattering_, -1, 1, 1); - pManager->AddProcess(&alphaIonisation_, -1, 2, 2); - - // He3 - pManager = G4He3::He3()->GetProcessManager(); - // add process - pManager->AddDiscreteProcess(&elasticProcess_); - - pManager->AddProcess(&he3MultipleScattering_, -1, 1, 1); - pManager->AddProcess(&he3Ionisation_, -1, 2, 2); - - -} - - - -- cgit v1.2.3