- Timestamp:
- Nov 25, 2009, 5:13:58 PM (16 years ago)
- Location:
- trunk/source/processes/hadronic/models/parton_string/diffraction/include
- Files:
-
- 7 edited
-
G4DiffractiveExcitation.hh (modified) (3 diffs)
-
G4DiffractiveHHScatterer.hh (modified) (3 diffs)
-
G4DiffractiveSplitableHadron.hh (modified) (1 diff)
-
G4ElasticHNScattering.hh (modified) (4 diffs)
-
G4FTFModel.hh (modified) (6 diffs)
-
G4FTFParameters.hh (modified) (11 diffs)
-
G4FTFParticipants.hh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4DiffractiveExcitation.hh
r962 r1196 25 25 // 26 26 // 27 // $Id: G4DiffractiveExcitation.hh,v 1. 2 2008/04/25 14:20:13vuzhinsk Exp $27 // $Id: G4DiffractiveExcitation.hh,v 1.4 2009/09/17 18:24:30 vuzhinsk Exp $ 28 28 29 29 #ifndef G4DiffractiveExcitation_h … … 42 42 class G4VSplitableHadron; 43 43 class G4ExcitedString; 44 #include "G4FTFParameters.hh" // Uzhi 19.04.08 44 #include "G4FTFParameters.hh" 45 #include "G4ElasticHNScattering.hh" // Uzhi 3.09.09 45 46 #include "G4ThreeVector.hh" 46 47 … … 50 51 public: 51 52 52 G4DiffractiveExcitation(); // Uzhi53 G4DiffractiveExcitation(); 53 54 virtual ~G4DiffractiveExcitation(); 54 55 55 56 virtual G4bool ExciteParticipants (G4VSplitableHadron *aPartner, 56 57 G4VSplitableHadron * bPartner, 58 G4FTFParameters *theParameters, 59 G4ElasticHNScattering *theElastic) const; 60 61 virtual void CreateStrings (G4VSplitableHadron * aHadron, 62 G4bool isProjectile, 63 G4ExcitedString * &FirstString, 64 G4ExcitedString * &SecondString, 57 65 G4FTFParameters *theParameters) const; 58 59 virtual G4ExcitedString * String(G4VSplitableHadron * aHadron, G4bool isProjectile) const;60 61 66 private: 62 67 63 68 G4DiffractiveExcitation(const G4DiffractiveExcitation &right); 64 69 65 G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const; // Uzhi 66 G4double ChooseP(G4double Pmin, G4double Pmax) const; // Uzhi 67 70 G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const; 71 G4double ChooseP(G4double Pmin, G4double Pmax) const; 72 G4double GetQuarkFractionOfKink(G4double zmin, G4double zmax) const; 73 void UnpackMeson( G4int IdPDG, G4int &Q1, G4int &Q2) const; // Uzhi 7.09.09 74 void UnpackBaryon(G4int IdPDG, G4int &Q1, G4int &Q2, G4int &Q3) const; // Uzhi 7.09.09 75 G4int NewNucleonId(G4int Q1, G4int Q2, G4int Q3) const; // Uzhi 7.09.09 76 68 77 const G4DiffractiveExcitation & operator=(const G4DiffractiveExcitation &right); 69 78 int operator==(const G4DiffractiveExcitation &right) const; -
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4DiffractiveHHScatterer.hh
r962 r1196 25 25 // 26 26 // 27 // $Id: G4DiffractiveHHScatterer.hh,v 1. 4 2008/04/25 14:20:13vuzhinsk Exp $27 // $Id: G4DiffractiveHHScatterer.hh,v 1.7 2009/10/06 10:10:36 vuzhinsk Exp $ 28 28 29 29 #ifndef G4DiffractiveHHScatterer_h … … 44 44 class G4KineticTrack; 45 45 #include "G4KineticTrackVector.hh" 46 #include "G4FTFParameters.hh" // Uzhi 21.04.08 46 #include "G4FTFParameters.hh" 47 #include "G4ExcitedString.hh" 47 48 48 49 class G4DiffractiveHHScatterer … … 52 53 G4DiffractiveHHScatterer(); 53 54 54 G4KineticTrackVector * Scatter(const G4KineticTrack & aTrack, const G4KineticTrack & bTrack);55 // G4KineticTrackVector * Scatter(const G4KineticTrack & aTrack, const G4KineticTrack & bTrack); 55 56 57 virtual void CreateStrings() const; 58 /* 59 (G4VSplitableHadron * aHadron, 60 G4bool isProjectile, 61 G4ExcitedString * FirstString, 62 G4ExcitedString * SecondString, 63 G4FTFParameters *theParameters) const; 64 */ 56 65 private: 57 66 58 67 const G4DiffractiveExcitation * theExcitation; 59 68 G4LundStringFragmentation * theStringFragmentation; 60 G4FTFParameters *theParameters; // Uzhi 21.04.0869 G4FTFParameters *theParameters; 61 70 }; 62 71 -
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4DiffractiveSplitableHadron.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4DiffractiveSplitableHadron.hh,v 1. 4 2006/06/29 20:54:27 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4DiffractiveSplitableHadron.hh,v 1.5 2009/08/03 13:14:19 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 -
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4ElasticHNScattering.hh
r967 r1196 25 25 // 26 26 // 27 // $Id: G4ElasticHNScattering.hh,v 1. 1 2008/03/31 15:34:01vuzhinsk Exp $27 // $Id: G4ElasticHNScattering.hh,v 1.2 2009/08/03 13:14:19 vuzhinsk Exp $ 28 28 29 29 #ifndef G4ElasticHNScattering_h … … 42 42 class G4VSplitableHadron; 43 43 class G4ExcitedString; 44 #include "G4FTFParameters.hh" // Uzhi 29.03.0844 #include "G4FTFParameters.hh" 45 45 #include "G4ThreeVector.hh" 46 46 … … 50 50 public: 51 51 52 G4ElasticHNScattering(); // Uzhi52 G4ElasticHNScattering(); 53 53 virtual ~G4ElasticHNScattering(); 54 54 … … 61 61 G4ElasticHNScattering(const G4ElasticHNScattering &right); 62 62 63 G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const; // Uzhi63 G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const; 64 64 65 65 const G4ElasticHNScattering & operator=(const G4ElasticHNScattering &right); -
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFModel.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4FTFModel.hh,v 1. 7 2008/04/25 14:20:13vuzhinsk Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4FTFModel.hh,v 1.10 2009/10/25 10:50:54 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // Class Description … … 53 53 class G4ExcitedString; 54 54 55 #include "G4FTFParameters.hh" // Uzhi 29.03.0855 #include "G4FTFParameters.hh" 56 56 #include "G4FTFParticipants.hh" 57 57 … … 64 64 65 65 public: 66 G4FTFModel(); // Uzhi67 G4FTFModel(G4double , G4double , G4double ); // Uzhi66 G4FTFModel(); 67 G4FTFModel(G4double , G4double , G4double ); 68 68 G4FTFModel(G4DiffractiveExcitation * anExcitation); 69 69 G4FTFModel(const G4FTFModel &right); … … 82 82 83 83 private: 84 void ReggeonCascade(); 85 G4bool PutOnMassShell(); 84 86 G4bool ExciteParticipants(); 85 87 G4ExcitedStringVector * BuildStrings(); 88 void GetResidualNucleus(); // 23 Oct. 2009 89 G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const; 86 90 87 91 private: … … 89 93 G4ReactionProduct theProjectile; 90 94 G4FTFParticipants theParticipants; 95 96 G4Nucleon * TheInvolvedNucleon[250]; 97 G4int NumberOfInvolvedNucleon; 91 98 92 G4FTFParameters *theParameters; // Uzhi 29.03.0899 G4FTFParameters *theParameters; 93 100 G4DiffractiveExcitation * theExcitation; 94 G4ElasticHNScattering * theElastic; // Uzhi 29.03.08101 G4ElasticHNScattering * theElastic; 95 102 103 G4LorentzVector Residual4Momentum; 104 G4double ResidualExcitationEnergy; 96 105 97 106 }; … … 105 114 106 115 #endif 107 108 -
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFParameters.hh
r1007 r1196 27 27 #define G4FTFParameters_h 1 28 28 // 29 // $Id: G4FTFParameters.hh,v 1. 2 2008/06/13 12:49:23vuzhinsk Exp $30 // GEANT4 tag $Name: geant4-09-0 2$29 // $Id: G4FTFParameters.hh,v 1.7 2009/10/25 10:50:54 vuzhinsk Exp $ 30 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 31 31 // 32 32 #include "G4Proton.hh" … … 60 60 61 61 // --------- Set parameters of excitations --------------------------- 62 void SetProjMinDiffMass(const G4double aValue); // Uzhi 19.04.08 62 void SetMagQuarkExchange(const G4double aValue); 63 void SetSlopeQuarkExchange(const G4double aValue); 64 void SetDeltaProbAtQuarkExchange(const G4double aValue); 65 66 void SetProjMinDiffMass(const G4double aValue); 63 67 void SetProjMinNonDiffMass(const G4double aValue); 64 68 void SetProbabilityOfProjDiff(const G4double aValue); 65 69 66 void SetTarMinDiffMass(const G4double aValue); // Uzhi 19.04.0870 void SetTarMinDiffMass(const G4double aValue); 67 71 void SetTarMinNonDiffMass(const G4double aValue); 68 72 void SetProbabilityOfTarDiff(const G4double aValue); … … 70 74 void SetAveragePt2(const G4double aValue); 71 75 72 // Perevod mass*GeV Pt2*GeV*GeV 73 76 // --------- Set parameters of a string kink -------------------------------- 77 void SetPt2Kink(const G4double aValue); 78 void SetQuarkProbabilitiesAtGluonSplitUp(const G4double Puubar, 79 const G4double Pddbar, 80 const G4double Pssbar ); 81 82 // --------- Set parameters of nuclear destruction-------------------- 83 void SetCofNuclearDestruction(const G4double aValue); 84 void SetR2ofNuclearDestruction(const G4double aValue); 85 86 void SetExcitationEnergyPerWoundedNucleon(const G4double aValue); 87 88 void SetDofNuclearDestruction(const G4double aValue); 89 void SetPt2ofNuclearDestruction(const G4double aValue); 90 void SetMaxPt2ofNuclearDestruction(const G4double aValue); 91 92 //-------------------------------------------------------------------- 74 93 // --------- Get geometrical parameteres ----------------------------- 75 94 G4double GetTotalCrossSection(); … … 87 106 88 107 // --------- Get parameters of excitations --------------------------- 89 G4double GetProjMinDiffMass(); // Uzhi 19.04.08 108 G4double GetMagQuarkExchange(); 109 G4double GetSlopeQuarkExchange(); 110 G4double GetDeltaProbAtQuarkExchange(); 111 112 G4double GetProjMinDiffMass(); 90 113 G4double GetProjMinNonDiffMass(); 91 114 G4double GetProbabilityOfProjDiff(); 92 115 93 G4double GetTarMinDiffMass(); // Uzhi 19.04.08116 G4double GetTarMinDiffMass(); 94 117 G4double GetTarMinNonDiffMass(); 95 118 G4double GetProbabilityOfTarDiff(); 96 119 97 98 120 G4double GetAveragePt2(); 121 122 // --------- Get parameters of a string kink -------------------------------- 123 G4double GetPt2Kink(); 124 std::vector<G4double> GetQuarkProbabilitiesAtGluonSplitUp(); 125 126 // --------- Get parameters of nuclear destruction--------------------- 127 G4double GetCofNuclearDestruction(); 128 G4double GetR2ofNuclearDestruction(); 129 130 G4double GetExcitationEnergyPerWoundedNucleon(); 131 132 G4double GetDofNuclearDestruction(); 133 G4double GetPt2ofNuclearDestruction(); 134 G4double GetMaxPt2ofNuclearDestruction(); 135 99 136 // private: 100 137 … … 115 152 116 153 // --------- Parameters of excitations ------------------------------- 117 G4double ProjMinDiffMass; // Uzhi 19.04.08 154 G4double MagQuarkExchange; 155 G4double SlopeQuarkExchange; 156 G4double DeltaProbAtQuarkExchange; 157 158 G4double ProjMinDiffMass; 118 159 G4double ProjMinNonDiffMass; 119 160 G4double ProbabilityOfProjDiff; … … 124 165 125 166 G4double AveragePt2; 167 168 // ---------- Parameters of kink ------------------------------------- 169 G4double Pt2kink; 170 std::vector<G4double> QuarkProbabilitiesAtGluonSplitUp; 171 172 // --------- Parameters of nuclear destruction------------------------ 173 G4double CofNuclearDestruction; // Cnd of nuclear destruction 174 G4double R2ofNuclearDestruction; // R2nd 175 176 G4double ExcitationEnergyPerWoundedNucleon; 177 178 G4double DofNuclearDestruction; // D for momentum sampling 179 G4double Pt2ofNuclearDestruction; // Pt2 180 G4double MaxPt2ofNuclearDestruction; // Max Pt2 181 126 182 }; 127 183 … … 162 218 inline void G4FTFParameters::SetAvaragePt2ofElasticScattering(const G4double aPt2) 163 219 { 164 //G4cout<<"Pt2 El "<<aPt2<<" "<<std::sqrt(aPt2)<<G4endl;165 //G4int Uzhi; G4cin>>Uzhi;166 220 AvaragePt2ofElasticScattering = aPt2;} 167 221 168 222 // --------- Set parameters of excitations ---------------------------- 169 inline void G4FTFParameters::SetProjMinDiffMass(const G4double aValue) // Uzhi 19.04.08 223 inline void G4FTFParameters::SetMagQuarkExchange(const G4double aValue) 224 {MagQuarkExchange = aValue;} 225 inline void G4FTFParameters::SetSlopeQuarkExchange(const G4double aValue) 226 {SlopeQuarkExchange = aValue;} 227 inline void G4FTFParameters::SetDeltaProbAtQuarkExchange(const G4double aValue) 228 {DeltaProbAtQuarkExchange = aValue;} 229 230 inline void G4FTFParameters::SetProjMinDiffMass(const G4double aValue) 170 231 {ProjMinDiffMass = aValue*GeV;} 171 232 inline void G4FTFParameters::SetProjMinNonDiffMass(const G4double aValue) … … 174 235 {ProbabilityOfProjDiff = aValue;} 175 236 176 inline void G4FTFParameters::SetTarMinDiffMass(const G4double aValue) // Uzhi 19.04.08237 inline void G4FTFParameters::SetTarMinDiffMass(const G4double aValue) 177 238 {TarMinDiffMass = aValue*GeV;} 178 239 inline void G4FTFParameters::SetTarMinNonDiffMass(const G4double aValue) … … 184 245 {AveragePt2 = aValue*GeV*GeV;} 185 246 247 // --------- Set parameters of a string kink -------------------------------- 248 inline void G4FTFParameters::SetPt2Kink(const G4double aValue) 249 {Pt2kink = aValue;} 250 251 inline void G4FTFParameters::SetQuarkProbabilitiesAtGluonSplitUp( 252 const G4double Puubar, 253 const G4double Pddbar, 254 const G4double Pssbar ) 255 { 256 QuarkProbabilitiesAtGluonSplitUp.push_back(Puubar); 257 QuarkProbabilitiesAtGluonSplitUp.push_back(Puubar+Pddbar); 258 QuarkProbabilitiesAtGluonSplitUp.push_back(Puubar+Pddbar+Pssbar); 259 } 260 261 // --------- Set parameters of nuclear destruction-------------------- 262 inline void G4FTFParameters::SetCofNuclearDestruction(const G4double aValue) 263 {CofNuclearDestruction = aValue;} 264 inline void G4FTFParameters::SetR2ofNuclearDestruction(const G4double aValue) 265 {R2ofNuclearDestruction = aValue;} 266 267 inline void G4FTFParameters::SetExcitationEnergyPerWoundedNucleon(const G4double aValue) 268 {ExcitationEnergyPerWoundedNucleon = aValue;} 269 270 inline void G4FTFParameters::SetDofNuclearDestruction(const G4double aValue) 271 {DofNuclearDestruction = aValue;} 272 inline void G4FTFParameters::SetPt2ofNuclearDestruction(const G4double aValue) 273 {Pt2ofNuclearDestruction =aValue;} 274 inline void G4FTFParameters::SetMaxPt2ofNuclearDestruction(const G4double aValue) 275 {MaxPt2ofNuclearDestruction = aValue;} 276 186 277 // --------- Get geometrical parameteres ------------------------------ 187 278 inline G4double G4FTFParameters::GetTotalCrossSection() {return FTFXtotal;} … … 211 302 212 303 // --------- Get parameters of excitations --------------------------- 304 inline G4double G4FTFParameters::GetMagQuarkExchange() {return MagQuarkExchange;} 305 inline G4double G4FTFParameters::GetSlopeQuarkExchange() {return SlopeQuarkExchange;} 306 inline G4double G4FTFParameters::GetDeltaProbAtQuarkExchange() 307 {return DeltaProbAtQuarkExchange;} 308 309 213 310 inline G4double G4FTFParameters::GetProjMinDiffMass() {return ProjMinDiffMass;} 214 311 inline G4double G4FTFParameters::GetProjMinNonDiffMass() {return ProjMinNonDiffMass;} … … 221 318 inline G4double G4FTFParameters::GetAveragePt2() {return AveragePt2;} 222 319 320 // --------- Get parameters of a string kink -------------------------- 321 inline G4double G4FTFParameters::GetPt2Kink() {return Pt2kink;} 322 inline std::vector<G4double> 323 G4FTFParameters::GetQuarkProbabilitiesAtGluonSplitUp() 324 {return QuarkProbabilitiesAtGluonSplitUp;} 325 326 // --------- Get parameters of nuclear destruction--------------------- 327 inline G4double G4FTFParameters::GetCofNuclearDestruction(){return CofNuclearDestruction;} 328 inline G4double G4FTFParameters::GetR2ofNuclearDestruction(){return R2ofNuclearDestruction;} 329 330 inline G4double G4FTFParameters::GetExcitationEnergyPerWoundedNucleon() 331 {return ExcitationEnergyPerWoundedNucleon;} 332 333 334 inline G4double G4FTFParameters::GetDofNuclearDestruction() 335 {return DofNuclearDestruction;} 336 inline G4double G4FTFParameters::GetPt2ofNuclearDestruction(){return Pt2ofNuclearDestruction;} 337 inline G4double G4FTFParameters::GetMaxPt2ofNuclearDestruction() 338 {return MaxPt2ofNuclearDestruction;} 223 339 #endif -
trunk/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFParticipants.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4FTFParticipants.hh,v 1. 5 2008/03/31 15:34:01vuzhinsk Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4FTFParticipants.hh,v 1.6 2009/08/03 13:14:19 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 … … 41 41 42 42 #include "G4VParticipants.hh" 43 #include "G4FTFParameters.hh" // Uzhi 29.03.0843 #include "G4FTFParameters.hh" 44 44 #include <vector> 45 45 #include "G4Nucleon.hh" … … 62 62 63 63 void GetList(const G4ReactionProduct &thePrimary, 64 G4FTFParameters *theParameters); // Uzhi 29.03.0864 G4FTFParameters *theParameters); 65 65 66 66 void StartLoop();
Note:
See TracChangeset
for help on using the changeset viewer.
