Geant4_10
G4FTFModel.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 //
27 // $Id: G4FTFModel.hh 74627 2013-10-17 07:04:38Z gcosmo $
28 // GEANT4 tag $Name: $
29 //
30 // Class Description
31 // Final state production code for hadron inelastic scattering above 3 GeV
32 // based on the modeling ansatz used in FRITIOF.
33 // To be used in your physics list in case you need this physics.
34 // In this case you want to register an object of this class with an object
35 // of G4TheoFSGenerator.
36 // Class Description - End
37 
38 #ifndef G4FTFModel_h
39 #define G4FTFModel_h 1
40 
41 // ------------------------------------------------------------
42 // GEANT 4 class header file
43 //
44 // ---------------- G4FTFModel ----------------
45 // by Gunter Folger, May 1998.
46 // class implementing the excitation in the FTF Parton String Model
47 // ------------------------------------------------------------
48 
49 #include "G4VPartonStringModel.hh"
50 #include "G4FTFParameters.hh"
51 #include "G4FTFParticipants.hh"
52 #include "G4ExcitedStringVector.hh"
54 #include "G4ElasticHNScattering.hh"
55 #include "G4FTFAnnihilation.hh"
56 #include "G4Proton.hh"
57 #include "G4Neutron.hh"
58 
59 class G4VSplitableHadron;
60 class G4ExcitedString;
61 
62 
64 
65  public:
66  G4FTFModel( const G4String& modelName = "FTF" );
67  ~G4FTFModel();
68 
69  void Init( const G4Nucleus& aNucleus, const G4DynamicParticle& aProjectile );
74 
75  virtual void ModelDescription( std::ostream& ) const;
76 
77  private:
78  G4FTFModel( const G4FTFModel& right );
79  const G4FTFModel& operator=( const G4FTFModel& right );
80  int operator==( const G4FTFModel& right ) const;
81  int operator!=( const G4FTFModel& right ) const;
82 
83  void StoreInvolvedNucleon();
84  void ReggeonCascade();
85  G4bool PutOnMassShell();
86  G4bool ExciteParticipants();
87  G4ExcitedStringVector* BuildStrings();
88  void GetResiduals();
89  G4bool AdjustNucleons( G4VSplitableHadron* SelectedAntiBaryon,
90  G4Nucleon* ProjectileNucleon,
91  G4VSplitableHadron* SelectedTargetNucleon,
92  G4Nucleon* TargetNucleon,
93  G4bool Annihilation );
94  G4ThreeVector GaussianPt( G4double AveragePt2, G4double maxPtSquare ) const;
95 
96  G4ReactionProduct theProjectile;
97  G4FTFParticipants theParticipants;
98 
99  G4Nucleon* TheInvolvedNucleonsOfTarget[250];
100  G4int NumberOfInvolvedNucleonsOfTarget;
101 
102  G4Nucleon* TheInvolvedNucleonsOfProjectile[250];
103  G4int NumberOfInvolvedNucleonsOfProjectile;
104 
105  G4FTFParameters* theParameters;
106  G4DiffractiveExcitation* theExcitation;
107  G4ElasticHNScattering* theElastic;
108  G4FTFAnnihilation* theAnnihilation;
109 
110  std::vector< G4VSplitableHadron* > theAdditionalString;
111 
112  G4double LowEnergyLimit;
113  G4bool HighEnergyInter;
114 
115  G4LorentzVector ProjectileResidual4Momentum;
116  G4int ProjectileResidualMassNumber;
117  G4int ProjectileResidualCharge;
118  G4double ProjectileResidualExcitationEnergy;
119 
120  G4LorentzVector TargetResidual4Momentum;
121  G4int TargetResidualMassNumber;
122  G4int TargetResidualCharge;
123  G4double TargetResidualExcitationEnergy;
124 
125 };
126 
127 
129  return theParticipants.GetWoundedNucleus();
130 }
131 
132 
134  return theParticipants.GetWoundedNucleus();
135 }
136 
137 
139  return theParticipants.GetProjectileNucleus();
140 }
141 
142 #endif
std::vector< G4ExcitedString * > G4ExcitedStringVector
G4V3DNucleus * GetWoundedNucleus() const
Definition: G4FTFModel.hh:128
G4FTFModel(const G4String &modelName="FTF")
Definition: G4FTFModel.cc:69
G4V3DNucleus * GetTargetNucleus() const
Definition: G4FTFModel.hh:133
int G4int
Definition: G4Types.hh:78
G4V3DNucleus * GetProjectileNucleus() const
Definition: G4FTFModel.hh:138
bool G4bool
Definition: G4Types.hh:79
virtual G4V3DNucleus * GetProjectileNucleus() const
virtual G4V3DNucleus * GetWoundedNucleus() const
void Init(const G4Nucleus &aNucleus, const G4DynamicParticle &aProjectile)
Definition: G4FTFModel.cc:141
virtual void ModelDescription(std::ostream &) const
Definition: G4FTFModel.cc:3224
double G4double
Definition: G4Types.hh:76
G4ExcitedStringVector * GetStrings()
Definition: G4FTFModel.cc:257