Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/include/G4CascadeChannel.hh
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/cascade/cascade/include/G4CascadeChannel.hh
r962 r1315 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 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 $ 25 27 // 28 // 20100514 M. Kelsey -- All functionality removed except quantum-number 29 // validation functions. 30 26 31 #ifndef G4_CASCADE_CHANNEL_HH 27 32 #define G4_CASCADE_CHANNEL_HH 28 33 29 34 #include "globals.hh" 35 #include "G4FastVector.hh" 36 #include "G4ReactionProduct.hh" 30 37 #include <vector> 31 38 32 class G4CascadeChannel { 39 namespace G4CascadeChannel { 40 std::vector<G4int> getQnums(G4int type); 33 41 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 ¤tParticle, 45 G4ReactionProduct &targetParticle, 46 G4double Q, G4double B, G4double S); 47 } 45 48 46 49 #endif
Note: See TracChangeset
for help on using the changeset viewer.