Changeset 1065 for trunk


Ignore:
Timestamp:
Jun 2, 2009, 4:18:07 PM (15 years ago)
Author:
garnier
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QCollision.cc

    r1055 r1065  
    11841184    G4double pickup=1.-qepart;  // Estimate the rest of the cross-section
    11851185    G4double thresh=100.;
    1186     if(momentum > thresh) pickup*=50./momentum/std::pow(Z+N,third); // 50. is a par(!)
     1186    if(momentum > thresh) pickup*=50./momentum/std::pow((double)Z+N,(double)third); // 50. is a par(!)
    11871187    // pickup = 0.;               // To exclude the pickup process
    11881188    if (N) pickup+=qepart;
Note: See TracChangeset for help on using the changeset viewer.