Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IonDPMJETPhysics.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 /// \file hadronic/Hadr02/include/IonDPMJETPhysics.hh
27 /// \brief Definition of the IonDPMJETPhysics class
28 //
29 // $Id: IonDPMJETPhysics.hh 77665 2013-11-27 10:15:08Z gcosmo $
30 // GRAS tag Name: gras-02-05-02
31 //
32 //---------------------------------------------------------------------------
33 //
34 // Header: IonDPMJETPhysics
35 //
36 // Author: copy from P.Truscott manuel DPMJET2.5
37 //
38 //
39 // Customer:
40 // Contract:
41 //
42 // Modifications are provided according to
43 //
44 // Organisation:
45 // Customer:
46 // Contract:
47 //
48 // Modified: 26.08.2010
49 //
50 // ------------------------------------------------------------
51 //
52 
53 #ifndef IonDPMJETPhysics_h
54 #define IonDPMJETPhysics_h 1
55 
56 #include "G4VHadronPhysics.hh"
57 #include "globals.hh"
58 
60 class G4DPMJET2_5Model;
63 
65 {
66 public:
67 
69  virtual ~IonDPMJETPhysics();
70 
71  // This method will be invoked in the Construct() method.
72  // each physics process will be instantiated and
73  // registered to the process manager of each particle type
74  virtual void ConstructProcess();
75 
76 private:
77 
78  void AddProcess(const G4String& name, G4ParticleDefinition* part,
79  G4bool isIon);
80 
81  G4VCrossSectionDataSet* fTripathi;
82  G4VCrossSectionDataSet* fTripathiLight;
86 #ifdef G4_USE_DPMJET
87  G4DPMJET2_5Model* fDPM;
89  G4bool fUseDPMJETXS;
90 #endif
91 };
92 
93 #endif
virtual ~IonDPMJETPhysics()
const XML_Char * name
bool G4bool
Definition: G4Types.hh:79
virtual void ConstructProcess()
IonDPMJETPhysics(G4bool val)