Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-20 08:29:50

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 /// \file PhysicsList.hh
0027 /// \brief Definition of the PhysicsList class
0028 
0029 //---------------------------------------------------------------------------
0030 //
0031 // ClassName:   PhysicsList
0032 //
0033 // Author:      V.Ivanchenko 14.10.2002
0034 //
0035 // Modified:
0036 // 17.11.06 Use components from physics_lists subdirectory (V.Ivanchenko)
0037 //
0038 //----------------------------------------------------------------------------
0039 //
0040 
0041 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0042 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0043 
0044 #ifndef PhysicsList_h
0045 #define PhysicsList_h 1
0046 
0047 #include "G4VModularPhysicsList.hh"
0048 #include "globals.hh"
0049 
0050 class G4VPhysicsConstructor;
0051 class StepMax;
0052 class PhysicsListMessenger;
0053 
0054 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0055 
0056 class PhysicsList : public G4VModularPhysicsList
0057 {
0058   public:
0059     PhysicsList();
0060     virtual ~PhysicsList();
0061 
0062     virtual void ConstructParticle();
0063 
0064     virtual void ConstructProcess();
0065 
0066     void AddPhysicsList(const G4String& name);
0067     void AddStepMax();
0068 
0069   private:
0070     // hide assignment operator
0071     PhysicsList& operator=(const PhysicsList& right);
0072     PhysicsList(const PhysicsList&);
0073 
0074     G4VPhysicsConstructor* fEmPhysicsList;
0075     G4VPhysicsConstructor* fDecayPhysicsList;
0076 
0077     std::vector<G4VPhysicsConstructor*> fHadronPhys;
0078     G4String fEmName;
0079 
0080     StepMax* fStepMaxProcess;
0081 
0082     PhysicsListMessenger* fMessenger;
0083 
0084     G4bool fHelIsRegisted;
0085     G4bool fBicIsRegisted;
0086     G4bool fGnucIsRegisted;
0087     G4bool fStopIsRegisted;
0088 };
0089 
0090 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0091 
0092 #endif