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/include/G4CascadeKzeroBarNChannel.hh

    r819 r962  
    2727#define G4_CASCADE_KZEROBARN_CHANNEL_HH
    2828
    29 #include "G4CascadeChannel.hh"
     29#include "G4CascadeData.hh"
     30#include "G4CascadeFunctions.hh"
    3031
     32struct G4CascadeKzeroBarNChannelData {
     33  typedef G4CascadeData<8,20,34,48,22,16,148> data_t;
     34  static data_t data;
     35};
    3136
    32 class G4CascadeKzeroBarNChannel : public G4CascadeChannel {
    33 
    34 public:
    35 
    36   G4CascadeKzeroBarNChannel();
    37   virtual ~G4CascadeKzeroBarNChannel();
    38 
    39   G4double getCrossSection(G4double ke) const;
    40   G4int getMultiplicity(G4double ke) const;
    41   std::vector<G4int> getOutgoingParticleTypes(G4int mult, G4double ke) const;
    42 
    43 private:
    44 
    45   static G4double kzbntot[31];
    46   static G4double kzbnMultiplicities[6][31];
    47 
    48   static const G4int kzbnindex[6][2];
    49   static const G4int kzbn2bfs[8][2];
    50   static const G4int kzbn3bfs[20][3];
    51   static const G4int kzbn4bfs[34][4];
    52   static const G4int kzbn5bfs[48][5];
    53   static const G4int kzbn6bfs[22][6];
    54   static const G4int kzbn7bfs[16][7];
    55 
    56   static const G4float kzbnCrossSections[148][31];
    57 };       
     37typedef G4CascadeFunctions<G4CascadeKzeroBarNChannelData> G4CascadeKzeroBarNChannel;
    5838
    5939#endif
Note: See TracChangeset for help on using the changeset viewer.