- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/cascade/cascade/include/G4FissionStore.hh
r819 r1340 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // $Id: G4FissionStore.hh,v 1.11 2010/10/19 21:33:58 mkelsey Exp $ 25 26 // 27 // 20100728 Move ::addConfig() to .cc file, add setVerboseLevel(), clear() 28 26 29 #ifndef G4FISSION_STORE_HH 27 30 #define G4FISSION_STORE_HH 28 31 29 32 #include "G4FissionConfiguration.hh" 30 31 33 #include <vector> 32 34 33 35 class G4FissionStore { 34 35 36 public: 36 37 37 G4FissionStore(); 38 38 39 void addConfig(G4double a, 40 G4double z, 41 G4double ez, 42 G4double ek, 43 G4double ev) { 44 G4FissionConfiguration config(a, z, ez, ek, ev); 45 configurations.push_back(config); 46 // config.print(); 47 }; 39 void setVerboseLevel(G4int verbose=1) { verboseLevel = verbose; } 48 40 49 G4int size() const { 50 return configurations.size(); 51 }; 41 void addConfig(G4double a, G4double z, G4double ez, G4double ek, G4double ev); 42 43 void clear() { configurations.clear(); } 44 45 G4int size() const { return configurations.size(); } 52 46 53 47 G4FissionConfiguration generateConfiguration(G4double amax, … … 56 50 private: 57 51 G4int verboseLevel; 58 59 52 std::vector<G4FissionConfiguration> configurations; 60 61 53 }; 62 54
Note: See TracChangeset
for help on using the changeset viewer.