source: trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/include/G4QGluonString.hh @ 1055

Last change on this file since 1055 was 1055, checked in by garnier, 15 years ago

maj sur la beta de geant 4.9.3

File size: 8.2 KB
Line 
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// $Id: G4QGluonString.hh,v 1.3 2009/02/23 09:49:24 mkossov Exp $
27// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
28//
29//      ---------------- G4QGluonString header ----------------
30//                 by Mikhail Kossov, October 2006.
31// Header of G4QGluonString (N,pi,K,aN,Hyperons,aHyp) of CHIPS Simulation Branch
32// -------------------------------------------------------------------------------
33// -->> At present (17.10.2006) started only with proton-nuclear reactions <<--
34// -------------------------------------------------------------------------------
35// This is a QGS CHIPS class for the Hadron-Nuclear Inelastic Interaction Prosesses
36// -------------------------------------------------------------------------------
37// This class follows the structure of the G4QCollision class and its content can be
38// eventually moved to G4QCollision class. At present the alternative realisation of
39// the hadronic inelastic process (G4QGluonString) is kept for comparison with other
40// G4QCollision algorithms. It can be attached as an inelastic process to all hadrons
41// --------------------------------------------------------------------------------
42// ****************************************************************************************
43// ***** This HEADER is a property of the CHIPS hadronic package in Geant4 (M. Kosov) *****
44// *********** DO NOT MAKE ANY CHANGE without approval of Mikhail.Kossov@cern.ch **********
45// ****************************************************************************************
46// Short description: CHIPS object for the Quark-Gluon String
47// ---------------------------------------------------------------
48
49#ifndef G4QGluonString_hh
50#define G4QGluonString_hh
51
52// GEANT4 Headers
53#include "globals.hh"
54#include "G4ios.hh"
55#include "Randomize.hh"
56#include "G4VDiscreteProcess.hh"
57#include "G4Track.hh"
58#include "G4Step.hh"
59#include "G4ParticleTypes.hh"
60#include "G4VParticleChange.hh"
61#include "G4ParticleDefinition.hh"
62#include "G4DynamicParticle.hh"
63#include "G4NucleiPropertiesTable.hh"
64#include "G4ThreeVector.hh"
65#include "G4LorentzVector.hh"
66#include "G4HadronicProcessType.hh"
67
68// CHIPS Headers
69#include "G4QEnvironment.hh"
70#include "G4VQCrossSection.hh"
71#include "G4QIsotope.hh"
72#include "G4QProtonNuclearCrossSection.hh"
73#include "G4QPDGToG4Particle.hh"
74#include <vector>
75
76class G4QGluonString : public G4VDiscreteProcess
77{
78public:
79
80  // Constructor
81  G4QGluonString(const G4String& processName ="CHIPS_QGS_Inelastic");
82
83  // Destructor
84  ~G4QGluonString();
85
86  G4bool IsApplicable(const G4ParticleDefinition& particle);
87
88  G4double GetMeanFreePath(const G4Track& aTrack, G4double previousStepSize,
89                           G4ForceCondition* condition);
90  // It returns the MeanFreePath of the process for the current track :
91  // (energy, material)
92  // The previousStepSize and G4ForceCondition* are not used.
93  // This function overloads a virtual function of the base class.       
94  // It is invoked by the ProcessManager of the Particle.
95 
96  G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep); 
97  // It computes the final state of the process (at end of step),
98  // returned as a ParticleChange object.       
99  // This function overloads a virtual function of the base class.
100  // It is invoked by the ProcessManager of the Particle.
101
102  // Fake void functions
103  void SetPhysicsTableBining(G4double, G4double, G4int) {;}
104  void BuildPhysicsTable(const G4ParticleDefinition&) {;}
105  void PrintInfoDefinition() {;}
106
107  // Internal Energy-Momentum Residual
108  G4LorentzVector GetEnegryMomentumConservation();
109
110  // Number of neutrons in the target nucleus (primary)
111  G4int GetNumberOfNeutronsInTarget();
112
113  // Static functions ---------------------------------------------------------------------
114  static void SetManual();
115  static void SetStandard();
116  static void SetParameters(G4double temper=180., G4double ssin2g=.1, G4double etaetap=.3,
117                            G4double fN=0., G4double fD=0., G4double cP=1., G4double mR=1.,
118                            G4int npCHIPSWorld=234, G4double solAn=.5, G4bool efFlag=false,
119                            G4double piTh=141.4,G4double mpi2=20000.,G4double dinum=1880.);
120  //--- End of static member functions ----------------------------------------------------
121
122private:
123
124  // Hide assignment operator as private
125  G4QGluonString& operator=(const G4QGluonString &right);
126
127  // Copy constructor
128  G4QGluonString(const G4QGluonString&);
129
130  // BODY
131  // Static Parameters --------------------------------------------------------------------
132  static G4bool   manualFlag;  // If false then standard parameters are used
133  static G4int    nPartCWorld; // The#of particles for hadronization (limit of A of fragm.)
134  // -> Parameters of the G4Quasmon class:
135  static G4double Temperature; // Quasmon Temperature
136  static G4double SSin2Gluons; // Percent of ssbar sea in a constituen gluon
137  static G4double EtaEtaprime; // Part of eta-prime in all etas
138  // -> Parameters of the G4QNucleus class:
139  static G4double freeNuc;     // probability of the quasi-free baryon on surface
140  static G4double freeDib;     // probability of the quasi-free dibaryon on surface
141  static G4double clustProb;   // clusterization probability in dense region
142  static G4double mediRatio;   // relative vacuum hadronization probability
143  // -> Parameters of the G4QEnvironment class:
144  static G4bool   EnergyFlux;  // Flag for Energy Flux use instead of Multy Quasmon
145  static G4double SolidAngle;  // Part of Solid Angle to capture secondaries(@@A-dep)
146  static G4double PiPrThresh;  // Pion Production Threshold for gammas
147  static G4double M2ShiftVir;  // Shift for M2=-Q2=m_pi^2 of the virtual gamma
148  static G4double DiNuclMass;  // Double Nucleon Mass for virtual normalization
149  //--------------------------------- End of static parameters ---------------------------
150  // Working parameters
151  G4VQCrossSection* theCS;
152  G4LorentzVector EnMomConservation;                  // Residual of Energy/Momentum Cons.
153  G4int nOfNeutrons;                                  // #of neutrons in the target nucleus
154
155  // Modifires for the reaction
156  G4double Time;                                      // Time shift of the capture reaction
157  G4double EnergyDeposition;                          // Energy deposited in the reaction
158  static std::vector <G4int> ElementZ;                // Z of the element(i) in theLastCalc
159  static std::vector <G4double> ElProbInMat;          // SumProbabilityElements in Material
160  static std::vector <std::vector<G4int>*> ElIsoN;    // N of isotope(j) of Element(i)
161  static std::vector <std::vector<G4double>*> IsoProbInEl;// SumProbabIsotopes in Element i
162};
163#endif
Note: See TracBrowser for help on using the repository browser.