Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:30

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 // --------------------------------------------------------------
0028 //
0029 //      For information related to this code contact: Alex Howard
0030 //      e-mail: alexander.howard@cern.ch
0031 // --------------------------------------------------------------
0032 // Comments
0033 //
0034 //                  Underground Advanced
0035 //
0036 // This physics list is taken from the underground_physics example with small
0037 // modifications.  It is an example of a "flat" physics list with no dependence
0038 // on builders.  The physics covered would be suitable for a low background
0039 // experiment including the neutron_hp package
0040 //
0041 //
0042 //
0043 // PhysicsList header
0044 // --------------------------------------------------------------
0045 
0046 #ifndef LBE_h
0047 #define LBE_h 1
0048 
0049 #include "globals.hh"
0050 #include "G4VUserPhysicsList.hh"
0051 #include "G4VModularPhysicsList.hh"
0052 
0053 class G4StoppingPhysics;    // This builder encapsulate stopping processes
0054 
0055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
0056 
0057 
0058 class LBE: public G4VModularPhysicsList
0059 {
0060 public:
0061   LBE(G4int ver = 1);
0062   virtual ~LBE();
0063 
0064   //delete copy constructor and assignment operator
0065   LBE(const LBE &)=delete;
0066   LBE& operator=(const LBE &right)=delete;
0067 
0068 public:
0069   virtual void SetCuts();
0070 
0071 
0072 protected:
0073   // Construct particle and physics
0074   virtual void ConstructParticle();
0075   virtual void ConstructProcess();
0076     
0077   // these methods Construct physics processes and register them
0078   virtual void ConstructGeneral();
0079   virtual void ConstructEM();
0080   virtual void ConstructHad();
0081   virtual void ConstructOp();
0082 
0083 
0084   /*
0085   // these methods Construct all particles in each category
0086   virtual void ConstructAllBosons();
0087   virtual void ConstructAllLeptons();
0088   virtual void ConstructAllMesons();
0089   virtual void ConstructAllBaryons();
0090   virtual void ConstructAllIons();
0091   virtual void ConstructAllShortLiveds();
0092   */
0093 
0094   virtual void AddTransportation();
0095 
0096 private:
0097   G4int VerboseLevel;
0098   G4int OpVerbLevel;
0099 
0100   G4double cutForGamma;
0101   G4double cutForElectron;
0102   G4double cutForPositron;
0103 // uncomment if the code if corresponding code in LBE.cc is un-commented
0104 //  G4double cutForProton;
0105 //  G4double cutForAlpha;
0106 //  G4double cutForGenericIon;
0107 
0108   G4StoppingPhysics* stoppingPhysics;
0109 
0110   // these methods Construct particles 
0111   void ConstructMyBosons();
0112   void ConstructMyLeptons();
0113   void ConstructMyMesons();
0114   void ConstructMyBaryons();
0115   void ConstructMyIons();
0116   void ConstructMyShortLiveds();
0117 
0118 };
0119 
0120 #endif