Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /geant4/examples/advanced/hadrontherapy/include/HadrontherapyPhysicsList.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // ********************************************************************
0002 // * License and Disclaimer                                           *
0003 // *                                                                  *
0004 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0005 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0006 // * conditions of the Geant4 Software License,  included in the file *
0007 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0008 // * include a list of copyright holders.                             *
0009 // *                                                                  *
0010 // * Neither the authors of this software system, nor their employing *
0011 // * institutes,nor the agencies providing financial support for this *
0012 // * work  make  any representation or  warranty, express or implied, *
0013 // * regarding  this  software system or assume any liability for its *
0014 // * use.  Please see the license in the file  LICENSE  and URL above *
0015 // * for the full disclaimer and the limitation of liability.         *
0016 // *                                                                  *
0017 // * This  code  implementation is the result of  the  scientific and *
0018 // * technical work of the GEANT4 collaboration.                      *
0019 // * By using,  copying,  modifying or  distributing the software (or *
0020 // * any work based  on the software)  you  agree  to acknowledge its *
0021 // * use  in  resulting  scientific  publications,  and indicate your *
0022 // * acceptance of all terms of the Geant4 Software license.          *
0023 // ********************************************************************
0024 //
0025 // Hadrontherapy advanced example for Geant4
0026 // See more at: https://twiki.cern.ch/twiki/bin/view/Geant4/AdvancedExamplesHadrontherapy
0027 //
0028 
0029 #ifndef HadrontherapyPhysicsList_h
0030 #define HadrontherapyPhysicsList_h 1
0031 
0032 #include "G4VModularPhysicsList.hh"
0033 #include "G4EmConfigurator.hh"
0034 #include "globals.hh"
0035 
0036 class G4VPhysicsConstructor;
0037 class HadrontherapyStepMax;
0038 class HadrontherapyPhysicsListMessenger;
0039 
0040 class HadrontherapyPhysicsList: public G4VModularPhysicsList
0041 {
0042 public:
0043     
0044     HadrontherapyPhysicsList();
0045     virtual ~HadrontherapyPhysicsList();
0046     
0047     void ConstructParticle();
0048     void SetCutForGamma(G4double);
0049     void SetCutForElectron(G4double);
0050     void SetCutForPositron(G4double);
0051     void SetDetectorCut(G4double cut);
0052     void AddPhysicsList(const G4String& name);
0053     void ConstructProcess();
0054     void AddStepMax();
0055     void AddPackage(const G4String& name);
0056     
0057 private:
0058     
0059     G4EmConfigurator em_config;
0060     
0061     G4double cutForGamma;
0062     G4double cutForElectron;
0063     G4double cutForPositron;
0064     G4bool locIonIonInelasticIsRegistered;
0065     G4bool radioactiveDecayIsRegistered;
0066     G4String      emName;
0067     G4VPhysicsConstructor* emPhysicsList;
0068     G4VPhysicsConstructor* decay_List;
0069     G4VPhysicsConstructor* radioactiveDecay_List;
0070     
0071     std::vector<G4VPhysicsConstructor*>  hadronPhys;
0072         
0073     HadrontherapyPhysicsListMessenger* pMessenger;
0074 };
0075 
0076 #endif