Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/parton_string/hadronization/include/G4ExcitedStringDecay.hh

    r1228 r1337  
    2525//
    2626//
    27 // $Id: G4ExcitedStringDecay.hh,v 1.10 2009/10/05 12:52:48 vuzhinsk Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     27// $Id: G4ExcitedStringDecay.hh,v 1.12 2010/06/21 17:50:48 vuzhinsk Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030#ifndef G4ExcitedStringDecay_h
     
    7272}
    7373       
     74
    7475inline
    7576G4KineticTrackVector *G4ExcitedStringDecay::
     
    7879  G4KineticTrackVector * theResult = new G4KineticTrackVector;
    7980
    80   G4LorentzVector KTsum;
    81   G4LorentzVector KTsecondaries;
     81  G4LorentzVector KTsum(0.,0.,0.,0.);
     82  G4LorentzVector KTsecondaries(0.,0.,0.,0.);
    8283  G4bool NeedEnergyCorrector=false;
    83 //G4cout<<"Number of strings "<<theStrings->size()<<G4endl;   // Vova 
     84
    8485  for ( unsigned int astring=0; astring < theStrings->size(); astring++)
    8586  {
    86 //G4cout<<"String# "<<astring<<" 4mom "<<theStrings->operator[](astring)->Get4Momentum()<<G4endl;  // Vova
    8787        KTsum+= theStrings->operator[](astring)->Get4Momentum();
    88 //G4cout<<"KTsum "<<KTsum<<G4endl;
     88
    8989        if( !(KTsum.e()<1) && !(KTsum.e()>-1) )
    9090        {
     
    108108        }
    109109
    110 //G4cout<<" prod had "<<generatedKineticTracks->size()<<G4endl; // Vova
    111         G4LorentzVector KTsum1;
     110        G4LorentzVector KTsum1(0.,0.,0.,0.);
    112111        for ( unsigned int aTrack=0; aTrack<generatedKineticTracks->size();aTrack++)
    113112        {
     
    115114                KTsum1+= (*generatedKineticTracks)[aTrack]->Get4Momentum();
    116115        }
    117 
    118116        KTsecondaries+=KTsum1;
    119117       
     
    124122           NeedEnergyCorrector=true;
    125123        }
     124
    126125//      clean up
    127126        delete generatedKineticTracks;
Note: See TracChangeset for help on using the changeset viewer.