Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/cascade/cascade/include/G4InuclSpecialFunctions.hh

    r962 r1315  
    2323// * acceptance of all terms of the Geant4 Software license.          *
    2424// ********************************************************************
     25// $Id: G4InuclSpecialFunctions.hh,v 1.16 2010/04/13 05:30:10 mkelsey Exp $
     26// Geant4 tag: $Name: geant4-09-04-beta-cand-01 $
    2527//
     28// 20100114  M. Kelsey -- Remove G4CascadeMomentum, use G4LorentzVector directly
     29// 20100319  M. Kelsey -- Add optional mass argument to generateWithFixedTheta;
     30//              define new generateWithRandomAngles, encapsulating code; define
     31//              cbrt() cube-root function (in math.h, but not in <math>!)
     32// 20100412  M. Kelsey -- Modify paraMaker[Truncated] to take buffer as argument
     33
    2634#ifndef G4INUCL_SPECIAL_FUNC_HH
    2735#define G4INUCL_SPECIAL_FUNC_HH
    2836
    2937#include "globals.hh"
    30 #include <cmath>
    3138#include <algorithm>
    3239#include <vector>
    33 #include "G4CascadeMomentum.hh"
     40#include "G4LorentzVector.hh"
    3441
    3542namespace G4InuclSpecialFunctions {
     
    5158                       G4int ntype);
    5259 
    53   std::pair<std::vector<G4double>, std::vector<G4double> > paraMaker(G4double Z);
     60  void paraMaker(G4double Z, std::pair<std::vector<G4double>, std::vector<G4double> >& parms);
    5461
    55   std::pair<G4double, G4double> paraMakerTruncated(G4double Z);
     62  void paraMakerTruncated(G4double Z, std::pair<G4double, G4double>& parms);
    5663
    5764  G4double getAL(G4double A);
     
    6067
    6168  G4double csPN(G4double e);
     69
     70  G4double G4cbrt(G4double x);  // Can't use "cbrt" name, clashes with <math.h>
    6271
    6372  G4double inuclRndm();
     
    7180  G4double nucleiLevelDensity(G4double a);
    7281
    73   G4CascadeMomentum generateWithFixedTheta(G4double ct,
    74                                           G4double p);
     82  // Optional mass argument will be used to fill G4LorentzVector correctly
     83  G4LorentzVector generateWithFixedTheta(G4double ct, G4double p,
     84                                         G4double m=0.);
     85
     86  G4LorentzVector generateWithRandomAngles(G4double p, G4double m=0.);
    7587}
     88
     89
    7690#endif
Note: See TracChangeset for help on using the changeset viewer.