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/G4CascadeChannel.hh

    r962 r1315  
    2323// * acceptance of all terms of the Geant4 Software license.          *
    2424// ********************************************************************
     25// $Id: G4CascadeChannel.hh,v 1.6 2010/05/15 04:25:17 mkelsey Exp $
     26// GEANT4 tag: $Name: geant4-09-04-beta-cand-01 $
    2527//
     28// 20100514  M. Kelsey -- All functionality removed except quantum-number
     29//              validation functions.
     30
    2631#ifndef G4_CASCADE_CHANNEL_HH
    2732#define G4_CASCADE_CHANNEL_HH
    2833
    2934#include "globals.hh"
     35#include "G4FastVector.hh"
     36#include "G4ReactionProduct.hh"
    3037#include <vector>
    3138
    32 class G4CascadeChannel {
     39namespace G4CascadeChannel {
     40  std::vector<G4int> getQnums(G4int type);
    3341
    34 public:
    35 
    36   static std::pair<G4int, G4double> interpolateEnergy(G4double ke);
    37   static G4int sampleFlat(std::vector<G4double> const& sigma);
    38   static std::vector<G4int> getQnums(G4int type);
    39 
    40 private:
    41   G4CascadeChannel(); // not implemented
    42 
    43   static const double energyScale[31];
    44 };       
     42  void CheckQnums(const G4FastVector<G4ReactionProduct,256> &vec,
     43                  G4int &vecLen,
     44                  G4ReactionProduct &currentParticle,
     45                  G4ReactionProduct &targetParticle,
     46                  G4double Q, G4double B, G4double S);
     47}
    4548
    4649#endif
Note: See TracChangeset for help on using the changeset viewer.