- Timestamp:
- Nov 25, 2009, 5:13:58 PM (16 years ago)
- Location:
- trunk/source/processes/hadronic/models/parton_string/management
- Files:
-
- 19 edited
-
History (modified) (2 diffs)
-
include/G4EventGenerator.hh (modified) (1 diff)
-
include/G4InteractionCode.hh (modified) (1 diff)
-
include/G4InteractionContent.hh (modified) (5 diffs)
-
include/G4PomeronCrossSection.hh (modified) (1 diff)
-
include/G4StringModel.hh (modified) (1 diff)
-
include/G4VParticipants.hh (modified) (3 diffs)
-
include/G4VPartonStringModel.hh (modified) (1 diff)
-
include/G4VSplitableHadron.hh (modified) (4 diffs)
-
include/G4VStringFragmentation.hh (modified) (1 diff)
-
include/G4VertexCode.hh (modified) (1 diff)
-
src/G4EventGenerator.cc (modified) (1 diff)
-
src/G4InteractionContent.cc (modified) (1 diff)
-
src/G4PomeronCrossSection.cc (modified) (1 diff)
-
src/G4StringModel.cc (modified) (1 diff)
-
src/G4VParticipants.cc (modified) (1 diff)
-
src/G4VPartonStringModel.cc (modified) (4 diffs)
-
src/G4VSplitableHadron.cc (modified) (6 diffs)
-
src/G4VStringFragmentation.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/parton_string/management/History
r962 r1196 1 $Id: History,v 1. 4 2008/04/01 08:20:25vuzhinsk Exp $1 $Id: History,v 1.7 2009/07/17 12:41:20 vuzhinsk Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 15 15 * Please list in reverse chronological order (last date on top) 16 16 --------------------------------------------------------------- 17 17-July-2009 V. Uzhinsky (had-partonstring-mgt-V09-02-01) 18 A Status of nuclear nucleon involved in an interaction is introdused. 19 Status: 0 - spectator, 1 - involved nucleon, 2 - absorbed nucleon 20 (G4VSplitableHadron) 21 22 A connection between a participant nucleon and a nuclear nucleon was 23 introsuced in G4InteractionContent. 24 25 10-July-2009 V. Uzhinsky (had-partonstring-mgt-V09-02-00) 26 Introduction the right tag number. 27 28 9-July-2009 V. Uzhinsky (had-partonstring-mgt-V08-02-02) 29 - New field was added in G4VSplitableHadron class (G4 bool Activation) and 30 corresponding methods to operatite with it. It was needed for an 31 absorption of meson in nuclear collision generated by FTF. 17 32 18 33 24-Apr 2007 Gunter Folger (had-partonstring-mgt-V08-02-01) -
trunk/source/processes/hadronic/models/parton_string/management/include/G4EventGenerator.hh
r1007 r1196 26 26 // 27 27 // $Id: G4EventGenerator.hh,v 1.3 2006/06/29 20:55:13 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 #ifndef G4EventGenerator_h -
trunk/source/processes/hadronic/models/parton_string/management/include/G4InteractionCode.hh
r1007 r1196 26 26 // 27 27 // $Id: G4InteractionCode.hh,v 1.3 2006/06/29 20:55:15 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 #ifndef G4InteractionCode_h -
trunk/source/processes/hadronic/models/parton_string/management/include/G4InteractionContent.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4InteractionContent.hh,v 1. 4 2007/01/24 10:28:54 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4InteractionContent.hh,v 1.5 2009/07/17 12:36:41 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 … … 43 43 44 44 #include "G4VSplitableHadron.hh" 45 45 #include "G4Nucleon.hh" // Uzhi 16.07.09 46 46 class G4InteractionContent 47 47 { … … 58 58 G4VSplitableHadron * GetProjectile() const ; 59 59 G4VSplitableHadron * GetTarget() const; 60 61 void SetTargetNucleon(G4Nucleon * aNucleon); // Uzhi 16.07.09 62 G4Nucleon * GetTargetNucleon() const; // Uzhi 16.07.09 60 63 61 64 void SetTarget(G4VSplitableHadron *aTarget); … … 86 89 G4VSplitableHadron * theTarget; 87 90 G4VSplitableHadron * theProjectile; 91 G4Nucleon * theTargetNucleon; 88 92 89 93 G4int theNumberOfHard; … … 107 111 { 108 112 theTarget = aTarget; 113 } 114 115 inline void G4InteractionContent::SetTargetNucleon(G4Nucleon * aNucleon) // Uzhi 16.07.09 116 { 117 theTargetNucleon = aNucleon; 118 } 119 120 inline G4Nucleon * G4InteractionContent::GetTargetNucleon() const // Uzhi 16.07.09 121 { 122 return theTargetNucleon; 109 123 } 110 124 -
trunk/source/processes/hadronic/models/parton_string/management/include/G4PomeronCrossSection.hh
r1007 r1196 28 28 // 29 29 // $Id: G4PomeronCrossSection.hh,v 1.3 2006/06/29 20:55:19 gunter Exp $ 30 // GEANT4 tag $Name: geant4-09-0 2$30 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 31 31 // 32 32 #include "G4Proton.hh" -
trunk/source/processes/hadronic/models/parton_string/management/include/G4StringModel.hh
r1007 r1196 26 26 // 27 27 // $Id: G4StringModel.hh,v 1.3 2006/06/29 20:55:23 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 #ifndef G4StringModel_h -
trunk/source/processes/hadronic/models/parton_string/management/include/G4VParticipants.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4VParticipants.hh,v 1. 4 2008/05/19 13:03:20 vuzhinskExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VParticipants.hh,v 1.6 2009/11/19 14:23:09 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 … … 65 65 66 66 67 protected: 67 // protected: // Uzhi 26 July 09 68 68 69 69 … … 90 90 if ( theNucleus == NULL ) theNucleus = new G4Fancy3DNucleus(); 91 91 theNucleus->Init(theA, theZ); 92 theNucleus->SortNucleonsIn Z(); // Uzhi 16.05.08 Sorting of nucleon-Z92 theNucleus->SortNucleonsIncZ(); 93 93 } 94 94 -
trunk/source/processes/hadronic/models/parton_string/management/include/G4VPartonStringModel.hh
r1007 r1196 26 26 // 27 27 // $Id: G4VPartonStringModel.hh,v 1.3 2006/06/29 20:55:27 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 #ifndef G4VPartonStringModel_h -
trunk/source/processes/hadronic/models/parton_string/management/include/G4VSplitableHadron.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4VSplitableHadron.hh,v 1. 4 2008/05/19 13:03:20vuzhinsk Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VSplitableHadron.hh,v 1.6 2009/07/17 12:36:41 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 … … 81 81 const G4ThreeVector & GetPosition() const; 82 82 83 void SetStatus(const G4int aStatus); // Uzhi 17.07.09 84 G4int GetStatus(); // Uzhi 17.07.09 85 83 86 virtual void SplitUp() = 0; 84 87 virtual G4Parton * GetNextParton() = 0 ; … … 106 109 G4int theCollisionCount; 107 110 111 G4int Status; // Uzhi 17.07.09 108 112 G4bool isSplit; 109 113 … … 165 169 } 166 170 171 inline void G4VSplitableHadron::SetStatus(G4int aStatus) // Uzhi 17.07.09 172 { 173 Status=aStatus; 174 } 175 176 inline G4int G4VSplitableHadron::GetStatus() // Uzhi 17.07.09 177 { 178 return Status; 179 } 167 180 168 181 -
trunk/source/processes/hadronic/models/parton_string/management/include/G4VStringFragmentation.hh
r1007 r1196 26 26 // 27 27 // $Id: G4VStringFragmentation.hh,v 1.3 2006/06/29 20:55:31 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 #ifndef G4VStringFragmentation_h -
trunk/source/processes/hadronic/models/parton_string/management/include/G4VertexCode.hh
r1007 r1196 26 26 // 27 27 // $Id: G4VertexCode.hh,v 1.3 2006/06/29 20:55:33 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 #ifndef G4VertexCode_h -
trunk/source/processes/hadronic/models/parton_string/management/src/G4EventGenerator.cc
r1007 r1196 26 26 // 27 27 // $Id: G4EventGenerator.cc,v 1.4 2006/06/29 20:55:37 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4EventGenerator -
trunk/source/processes/hadronic/models/parton_string/management/src/G4InteractionContent.cc
r1007 r1196 26 26 // 27 27 // $Id: G4InteractionContent.cc,v 1.4 2006/06/29 20:55:39 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/hadronic/models/parton_string/management/src/G4PomeronCrossSection.cc
r1007 r1196 26 26 // 27 27 // $Id: G4PomeronCrossSection.cc,v 1.6 2006/11/07 12:51:39 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 -
trunk/source/processes/hadronic/models/parton_string/management/src/G4StringModel.cc
r1007 r1196 26 26 // 27 27 // $Id: G4StringModel.cc,v 1.4 2006/06/29 20:55:45 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4StringModel -
trunk/source/processes/hadronic/models/parton_string/management/src/G4VParticipants.cc
r1007 r1196 26 26 // 27 27 // $Id: G4VParticipants.cc,v 1.3 2006/06/29 20:55:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/hadronic/models/parton_string/management/src/G4VPartonStringModel.cc
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4VPartonStringModel.cc,v 1. 5 2007/01/24 10:29:30 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VPartonStringModel.cc,v 1.6 2009/10/05 12:52:48 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //// ------------------------------------------------------------ … … 99 99 throw G4HadronicException(__FILE__, __LINE__, "G4VPartonStringModel::Scatter(): fails to generate strings"); 100 100 } 101 102 101 theThis->Init(theNucleus,thePrimary); 103 102 strings = GetStrings(); … … 106 105 G4KineticTrackVector * theResult = 0; 107 106 G4double stringEnergy(0); 107 108 108 for ( unsigned int astring=0; astring < strings->size(); astring++) 109 109 { … … 137 137 138 138 theResult = stringFragmentationModel->FragmentStrings(strings); 139 /* 140 G4cout<<"Size "<<theResult->size()<<G4endl; 141 for ( unsigned int i=0; i < theResult->size(); i++) 142 { 143 144 G4cout<<(*theResult)[i]->Get4Momentum()<<" "<<(*theResult)[i]->Get4Momentum().mag()<<G4endl;; 145 } 146 */ 139 147 std::for_each(strings->begin(), strings->end(), DeleteString() ); 140 148 delete strings; -
trunk/source/processes/hadronic/models/parton_string/management/src/G4VSplitableHadron.cc
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4VSplitableHadron.cc,v 1. 5 2008/05/19 13:03:20vuzhinsk Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VSplitableHadron.cc,v 1.7 2009/07/17 12:36:41 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 … … 42 42 43 43 G4VSplitableHadron::G4VSplitableHadron() 44 : theDefinition(NULL), TimeOfCreation(0.), theCollisionCount(0), isSplit(false) // Uzhi 8.05.08 44 : theDefinition(NULL), TimeOfCreation(0.), theCollisionCount(0), // Uzhi 8.05.08 45 Status(0), isSplit(false) // Uzhi 17.07.09 45 46 { 46 47 } 47 48 48 49 G4VSplitableHadron::G4VSplitableHadron(const G4ReactionProduct & aPrimary) 49 : TimeOfCreation(0.), theCollisionCount(0), isSplit(false) // Uzhi 8.05.08 50 : TimeOfCreation(0.), theCollisionCount(0), // Uzhi 8.05.08 51 Status(0), isSplit(false) // Uzhi 17.07.09 50 52 { 51 53 theDefinition=aPrimary.GetDefinition(); … … 56 58 G4VSplitableHadron::G4VSplitableHadron(const G4Nucleon & aNucleon) 57 59 { 58 TimeOfCreation = 0.; // Uzhi 8.05.0860 TimeOfCreation = 0.; // Uzhi 8.05.08 59 61 theCollisionCount= 0; 60 62 isSplit = false; … … 62 64 the4Momentum =aNucleon.GetMomentum(); 63 65 thePosition =aNucleon.GetPosition(); 66 Status = 0; // Uzhi 17.07.09 64 67 } 65 68 … … 72 75 the4Momentum =aNucleon->Get4Momentum(); 73 76 thePosition =aNucleon->GetPosition(); 77 Status = 0; // Uzhi 17.07.09 74 78 } 75 79 … … 82 86 the4Momentum = right.Get4Momentum(); 83 87 thePosition = right.GetPosition(); 88 Status = 0; // Uzhi 17.07.09 84 89 } 85 90 -
trunk/source/processes/hadronic/models/parton_string/management/src/G4VStringFragmentation.cc
r1007 r1196 26 26 // 27 27 // $Id: G4VStringFragmentation.cc,v 1.4 2006/06/29 20:55:53 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4VStringFragmentation
Note:
See TracChangeset
for help on using the changeset viewer.
