Changeset 1337 for trunk/source/processes/hadronic/models/parton_string/hadronization/include/G4ExcitedStringDecay.hh
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/parton_string/hadronization/include/G4ExcitedStringDecay.hh
r1228 r1337 25 25 // 26 26 // 27 // $Id: G4ExcitedStringDecay.hh,v 1.1 0 2009/10/05 12:52:48 vuzhinsk Exp $28 // GEANT4 tag $Name: geant4-09-0 3$27 // $Id: G4ExcitedStringDecay.hh,v 1.12 2010/06/21 17:50:48 vuzhinsk Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 #ifndef G4ExcitedStringDecay_h … … 72 72 } 73 73 74 74 75 inline 75 76 G4KineticTrackVector *G4ExcitedStringDecay:: … … 78 79 G4KineticTrackVector * theResult = new G4KineticTrackVector; 79 80 80 G4LorentzVector KTsum ;81 G4LorentzVector KTsecondaries ;81 G4LorentzVector KTsum(0.,0.,0.,0.); 82 G4LorentzVector KTsecondaries(0.,0.,0.,0.); 82 83 G4bool NeedEnergyCorrector=false; 83 //G4cout<<"Number of strings "<<theStrings->size()<<G4endl; // Vova 84 84 85 for ( unsigned int astring=0; astring < theStrings->size(); astring++) 85 86 { 86 //G4cout<<"String# "<<astring<<" 4mom "<<theStrings->operator[](astring)->Get4Momentum()<<G4endl; // Vova87 87 KTsum+= theStrings->operator[](astring)->Get4Momentum(); 88 //G4cout<<"KTsum "<<KTsum<<G4endl; 88 89 89 if( !(KTsum.e()<1) && !(KTsum.e()>-1) ) 90 90 { … … 108 108 } 109 109 110 //G4cout<<" prod had "<<generatedKineticTracks->size()<<G4endl; // Vova 111 G4LorentzVector KTsum1; 110 G4LorentzVector KTsum1(0.,0.,0.,0.); 112 111 for ( unsigned int aTrack=0; aTrack<generatedKineticTracks->size();aTrack++) 113 112 { … … 115 114 KTsum1+= (*generatedKineticTracks)[aTrack]->Get4Momentum(); 116 115 } 117 118 116 KTsecondaries+=KTsum1; 119 117 … … 124 122 NeedEnergyCorrector=true; 125 123 } 124 126 125 // clean up 127 126 delete generatedKineticTracks;
Note: See TracChangeset
for help on using the changeset viewer.