Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/cascade/cascade/src/G4PreCompoundInuclCollider.cc

    r819 r962  
    121121        }
    122122
    123         std::vector<G4double> bmom(4, 0.0);
     123        G4CascadeMomentum bmom;
    124124
    125125        bmom[3] = convertToTargetRestFrame.getTRSMomentum();
    126126
    127127        G4InuclNuclei ntarget(at, zt);
    128         std::vector<G4double> tmom(4, 0.0);
     128        G4CascadeMomentum tmom;
    129129
    130130        ntarget.setMomentum(tmom);
     
    190190            particleIterator ipart;
    191191            for(ipart = particles.begin(); ipart != particles.end(); ipart++) {
    192               std::vector<G4double> mom = ipart->getMomentum();
     192              G4CascadeMomentum mom = ipart->getMomentum();
    193193
    194194              if (withReflection) mom[3] = -mom[3];
     
    207207
    208208            for (inuc = nucleus.begin(); inuc != nucleus.end(); inuc++) {
    209               std::vector<G4double> mom = inuc->getMomentum();
     209              G4CascadeMomentum mom = inuc->getMomentum();
    210210
    211211              if (withReflection) mom[3] = -mom[3];
Note: See TracChangeset for help on using the changeset viewer.