diff --git a/geant4/LEMuSR/include/AsymCheck.hh b/geant4/LEMuSR/include/AsymCheck.hh index a1027a1..0721e20 100644 --- a/geant4/LEMuSR/include/AsymCheck.hh +++ b/geant4/LEMuSR/include/AsymCheck.hh @@ -26,7 +26,7 @@ #include "G4UserSteppingAction.hh" #include "globals.hh" -#include +#include #include "LEMuSRVisManager.hh" #include "LEMuSRDetectorConstruction.hh" #include "G4RunManager.hh" diff --git a/geant4/LEMuSR/include/FieldCheck.hh b/geant4/LEMuSR/include/FieldCheck.hh index 544a8be..7fbe046 100644 --- a/geant4/LEMuSR/include/FieldCheck.hh +++ b/geant4/LEMuSR/include/FieldCheck.hh @@ -24,7 +24,7 @@ #include "G4UserSteppingAction.hh" #include "globals.hh" -#include +#include #include "LEMuSRVisManager.hh" #include "LEMuSRDetectorConstruction.hh" diff --git a/geant4/LEMuSR/include/LEMuSRElFieldMix.hh b/geant4/LEMuSR/include/LEMuSRElFieldMix.hh index 2c966ef..4c3c7f4 100644 --- a/geant4/LEMuSR/include/LEMuSRElFieldMix.hh +++ b/geant4/LEMuSR/include/LEMuSRElFieldMix.hh @@ -28,7 +28,7 @@ #include "globals.hh" #include "G4ios.hh" -#include +#include #include #include #include diff --git a/geant4/LEMuSR/include/LEMuSRElMagField.hh b/geant4/LEMuSR/include/LEMuSRElMagField.hh index d0f678d..3291e50 100644 --- a/geant4/LEMuSR/include/LEMuSRElMagField.hh +++ b/geant4/LEMuSR/include/LEMuSRElMagField.hh @@ -29,7 +29,7 @@ #include "globals.hh" #include "G4ios.hh" -#include +#include #include #include #include diff --git a/geant4/LEMuSR/include/LEMuSRElectricField.hh b/geant4/LEMuSR/include/LEMuSRElectricField.hh index 73460d7..8e0024a 100644 --- a/geant4/LEMuSR/include/LEMuSRElectricField.hh +++ b/geant4/LEMuSR/include/LEMuSRElectricField.hh @@ -29,7 +29,7 @@ #include "globals.hh" #include "G4ios.hh" -#include +#include #include #include #include diff --git a/geant4/LEMuSR/include/LEMuSRMuoniumParticle.hh b/geant4/LEMuSR/include/LEMuSRMuoniumParticle.hh new file mode 100644 index 0000000..4ce50eb --- /dev/null +++ b/geant4/LEMuSR/include/LEMuSRMuoniumParticle.hh @@ -0,0 +1,69 @@ +// +// ******************************************************************** +// * DISCLAIMER * +// * * +// * The following disclaimer summarizes all the specific disclaimers * +// * of contributors to this software. The specific disclaimers,which * +// * govern, are listed with their locations in: * +// * http://cern.ch/geant4/license * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. * +// * * +// * This code implementation is the intellectual property of the * +// * GEANT4 collaboration. * +// * By copying, distributing or modifying the Program (or any work * +// * based on the Program) you indicate your acceptance of this * +// * statement, and all its terms. * +// ******************************************************************** +// +// +// $Id: LEMuSRMuoniumParticle.hh,v 1.9 2005/01/14 03:49:17 asaim Exp $ +// GEANT4 tag $Name: geant4-08-00-patch-01 $ +// +// +// ------------------------------------------------------------ +// GEANT 4 class header file +// +// History: first implementation, based on object model of +// 4-th April 1996, G.Cosmo +// **************************************************************** +// New implementation as a utility class M.Asai, 26 July 2004 +// ---------------------------------------------------------------- + +#ifndef LEMuSRMuoniumParticle_h +#define LEMuSRMuoniumParticle_h 1 + +#include "globals.hh" +#include "G4ios.hh" +#include "G4ParticleDefinition.hh" + +// ###################################################################### +// ### MUONIUM ### +// ###################################################################### + +class LEMuSRMuoniumParticle : public G4ParticleDefinition +{ + private: + static LEMuSRMuoniumParticle* theInstance; + LEMuSRMuoniumParticle(){} + ~LEMuSRMuoniumParticle(){} + + public: + static LEMuSRMuoniumParticle* Definition(); + static LEMuSRMuoniumParticle* MuoniumDefinition(); + static LEMuSRMuoniumParticle* Muonium(); +}; + +#endif + + + + + + + + diff --git a/geant4/LEMuSR/include/LEMuSRPhysicsList.hh b/geant4/LEMuSR/include/LEMuSRPhysicsList.hh index 23e05df..cbebc20 100644 --- a/geant4/LEMuSR/include/LEMuSRPhysicsList.hh +++ b/geant4/LEMuSR/include/LEMuSRPhysicsList.hh @@ -1,64 +1,64 @@ -//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$//* -// LOW ENERGY MUON SPIN RELAXATION, ROTATION, RADIATION // -// ID : LEMuSRPhysicsList.hh , v 1.1 -// AUTHOR: Taofiq PARAISO -// DATE : 2004-08-24 16:33 -//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$// +// ******************************************************************** +// * DISCLAIMER * +// * * +// * The following disclaimer summarizes all the specific disclaimers * +// * of contributors to this software. The specific disclaimers,which * +// * govern, are listed with their locations in: * +// * http://cern.ch/geant4/license * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. * +// * * +// * This code implementation is the intellectual property of the * +// * GEANT4 collaboration. * +// * By copying, distributing or modifying the Program (or any work * +// * based on the Program) you indicate your acceptance of this * +// * statement, and all its terms. * +// ******************************************************************** +// +// +// $Id$ +// GEANT4 tag $Name: geant4-08-00-patch-01 $ // -// & &&&&&&&&&& &&&&&&& &&&&&&&& -// & & && && & && -// & & & & & & && -// & &&&&&&& & & &&&&&& &&&&&&&& -// & & & && & & && -// & & && & & && && & & -// &&&&&&&&&& &&&&&&&&&& & &&&&& && &&&&&&& & && -// & -// & -// & -// & -// PHYSICS LIST -//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$// #ifndef LEMuSRPhysicsList_h #define LEMuSRPhysicsList_h 1 -#include "G4VModularPhysicsList.hh" +#include "G4VUserPhysicsList.hh" #include "globals.hh" -/*! - * The physics list class is the mandatory class which registers all the particles - * and processes taken into account by the simulation. - * As their number is quite high, the physics list has been organized in a - * modular way, meaning its effective implementation is shared in different files. - * Hence, the LEMuSRPhysicsList class registers the different physics lists from the - * following files: - * - LEMuSREMPhysics - * - LEMuSRMuonPhysics - * - LEMuSRIonPhysics - * - LEMuSRHadronPhysics - * - LEMuSRGeneralPhysics - * . - * cf. @ref physicsref - */ -class LEMuSRPhysicsList: public G4VModularPhysicsList +class LEMuSRPhysicsList: public G4VUserPhysicsList { -public: - //! Constructor. - LEMuSRPhysicsList(); - //!\dt - virtual ~LEMuSRPhysicsList(); - -public: - //! Cuts. - virtual void SetCuts(); + public: + LEMuSRPhysicsList(); + ~LEMuSRPhysicsList(); + protected: + // Construct particle and physics + void ConstructParticle(); + void ConstructProcess(); + + void SetCuts(); + + protected: + // these methods Construct particles + void ConstructBosons(); + void ConstructLeptons(); + void ConstructMesons(); + void ConstructBaryons(); + + protected: + // these methods Construct physics processes and register them + void ConstructGeneral(); + void ConstructEM(); }; - #endif - diff --git a/geant4/LEMuSR/include/LEMuSRSteppingAction.hh b/geant4/LEMuSR/include/LEMuSRSteppingAction.hh index c3d07bb..2e6a4c3 100644 --- a/geant4/LEMuSR/include/LEMuSRSteppingAction.hh +++ b/geant4/LEMuSR/include/LEMuSRSteppingAction.hh @@ -28,7 +28,7 @@ #include "G4UserSteppingAction.hh" #include "globals.hh" -#include +#include #include "LEMuSRVisManager.hh" #include "LEMuSRDetectorConstruction.hh"