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

Last change on this file since 819 was 819, checked in by garnier, 16 years ago

import all except CVS

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