Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

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

    r819 r1340  
    2323// * acceptance of all terms of the Geant4 Software license.          *
    2424// ********************************************************************
     25// $Id: G4FissionStore.hh,v 1.11 2010/10/19 21:33:58 mkelsey Exp $
    2526//
     27// 20100728  Move ::addConfig() to .cc file, add setVerboseLevel(), clear()
     28
    2629#ifndef G4FISSION_STORE_HH
    2730#define G4FISSION_STORE_HH
    2831
    2932#include "G4FissionConfiguration.hh"
    30 
    3133#include <vector>
    3234
    3335class G4FissionStore {
    34 
    3536public:
    36 
    3737  G4FissionStore();
    3838
    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; }
    4840
    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(); }
    5246
    5347  G4FissionConfiguration generateConfiguration(G4double amax,
     
    5650private:
    5751  G4int verboseLevel;
    58 
    5952  std::vector<G4FissionConfiguration> configurations;
    60 
    6153};
    6254
Note: See TracChangeset for help on using the changeset viewer.