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

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

update processes

File size: 8.0 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.2 2008/10/02 21:10:07 dennis Exp $
27// GEANT4 tag $Name: geant4-09-02-ref-02 $
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
47#ifndef G4QGluonString_hh
48#define G4QGluonString_hh
49
50// GEANT4 Headers
51#include "globals.hh"
52#include "G4ios.hh"
53#include "Randomize.hh"
54#include "G4VDiscreteProcess.hh"
55#include "G4Track.hh"
56#include "G4Step.hh"
57#include "G4ParticleTypes.hh"
58#include "G4VParticleChange.hh"
59#include "G4ParticleDefinition.hh"
60#include "G4DynamicParticle.hh"
61#include "G4NucleiPropertiesTable.hh"
62#include "G4ThreeVector.hh"
63#include "G4LorentzVector.hh"
64#include "G4HadronicProcessType.hh"
65
66// CHIPS Headers
67#include "G4QEnvironment.hh"
68#include "G4VQCrossSection.hh"
69#include "G4QIsotope.hh"
70#include "G4QProtonNuclearCrossSection.hh"
71#include "G4QPDGToG4Particle.hh"
72#include <vector>
73
74class G4QGluonString : public G4VDiscreteProcess
75{
76public:
77
78  // Constructor
79  G4QGluonString(const G4String& processName ="CHIPS_QGS_Inelastic");
80
81  // Destructor
82  ~G4QGluonString();
83
84  G4bool IsApplicable(const G4ParticleDefinition& particle);
85
86  G4double GetMeanFreePath(const G4Track& aTrack, G4double previousStepSize,
87                           G4ForceCondition* condition);
88  // It returns the MeanFreePath of the process for the current track :
89  // (energy, material)
90  // The previousStepSize and G4ForceCondition* are not used.
91  // This function overloads a virtual function of the base class.                   
92  // It is invoked by the ProcessManager of the Particle.
93 
94  G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep); 
95  // It computes the final state of the process (at end of step),
96  // returned as a ParticleChange object.                           
97  // This function overloads a virtual function of the base class.
98  // It is invoked by the ProcessManager of the Particle.
99
100  // Fake void functions
101  void SetPhysicsTableBining(G4double, G4double, G4int) {;}
102  void BuildPhysicsTable(const G4ParticleDefinition&) {;}
103  void PrintInfoDefinition() {;}
104
105  // Internal Energy-Momentum Residual
106  G4LorentzVector GetEnegryMomentumConservation();
107
108  // Number of neutrons in the target nucleus (primary)
109  G4int GetNumberOfNeutronsInTarget();
110
111  // Static functions ---------------------------------------------------------------------
112  static void SetManual();
113  static void SetStandard();
114  static void SetParameters(G4double temper=180., G4double ssin2g=.1, G4double etaetap=.3,
115                            G4double fN=0., G4double fD=0., G4double cP=1., G4double mR=1.,
116                            G4int npCHIPSWorld=234, G4double solAn=.5, G4bool efFlag=false,
117                            G4double piTh=141.4,G4double mpi2=20000.,G4double dinum=1880.);
118  //--- End of static member functions ----------------------------------------------------
119
120private:
121
122  // Hide assignment operator as private
123  G4QGluonString& operator=(const G4QGluonString &right);
124
125  // Copy constructor
126  G4QGluonString(const G4QGluonString&);
127
128                // BODY
129  // Static Parameters --------------------------------------------------------------------
130  static G4bool   manualFlag;  // If false then standard parameters are used
131  static G4int    nPartCWorld; // The#of particles for hadronization (limit of A of fragm.)
132  // -> Parameters of the G4Quasmon class:
133  static G4double Temperature; // Quasmon Temperature
134  static G4double SSin2Gluons; // Percent of ssbar sea in a constituen gluon
135  static G4double EtaEtaprime; // Part of eta-prime in all etas
136  // -> Parameters of the G4QNucleus class:
137  static G4double freeNuc;     // probability of the quasi-free baryon on surface
138  static G4double freeDib;     // probability of the quasi-free dibaryon on surface
139  static G4double clustProb;   // clusterization probability in dense region
140  static G4double mediRatio;   // relative vacuum hadronization probability
141  // -> Parameters of the G4QEnvironment class:
142  static G4bool   EnergyFlux;  // Flag for Energy Flux use instead of Multy Quasmon
143  static G4double SolidAngle;  // Part of Solid Angle to capture secondaries(@@A-dep)
144  static G4double PiPrThresh;  // Pion Production Threshold for gammas
145  static G4double M2ShiftVir;  // Shift for M2=-Q2=m_pi^2 of the virtual gamma
146  static G4double DiNuclMass;  // Double Nucleon Mass for virtual normalization
147  //--------------------------------- End of static parameters ---------------------------
148  // Working parameters
149  G4VQCrossSection* theCS;
150  G4LorentzVector EnMomConservation;                  // Residual of Energy/Momentum Cons.
151  G4int nOfNeutrons;                                  // #of neutrons in the target nucleus
152
153  // Modifires for the reaction
154  G4double Time;                                      // Time shift of the capture reaction
155  G4double EnergyDeposition;                          // Energy deposited in the reaction
156  static std::vector <G4int> ElementZ;                // Z of the element(i) in theLastCalc
157  static std::vector <G4double> ElProbInMat;          // SumProbabilityElements in Material
158  static std::vector <std::vector<G4int>*> ElIsoN;    // N of isotope(j) of Element(i)
159  static std::vector <std::vector<G4double>*> IsoProbInEl;// SumProbabIsotopes in Element i
160};
161#endif
162
Note: See TracBrowser for help on using the repository browser.