Changeset 1347 for trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4NuclearLevelStore.hh
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4NuclearLevelStore.hh
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NuclearLevelStore.hh,v 1.3 2010/10/07 07:50:13 mkelsey Exp $ 26 // $Id: G4NuclearLevelStore.hh,v 1.4 2010/11/17 16:50:53 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 27 28 // 28 // 20101004 M. Kelsey -- Replace G4String keys with integers (ZZZAAA), 29 // move string operation to GenerateFilename() 29 // 04-10-2010 M. Kelsey -- Replace G4String keys with integers (ZZZAAA), 30 // move string operation to GenerateFilename() 31 // 17-11-2010 V. Ivanchenko - make as a classical singleton. 30 32 31 33 #ifndef G4NuclearLevelStore_hh … … 42 44 43 45 public: 46 44 47 static G4NuclearLevelStore* GetInstance(); 45 48 46 G4NuclearLevelManager* GetManager( const G4int Z, constG4int A);49 G4NuclearLevelManager* GetManager(G4int Z, G4int A); 47 50 ~G4NuclearLevelStore(); 48 51 49 52 private: 50 G4int GenerateKey( const G4int Z, constG4int A) const { return Z*1000+A; }53 G4int GenerateKey(G4int Z, G4int A) const { return Z*1000+A; } 51 54 52 G4String GenerateFilename( const G4int Z, constG4int A) const;55 G4String GenerateFilename(G4int Z, G4int A) const; 53 56 54 57 typedef std::map<G4int,G4NuclearLevelManager*> ManagersMap; … … 56 59 ManagersMap theManagers; 57 60 G4String dirName; 61 62 static G4NuclearLevelStore* theInstance; 58 63 }; 59 64 #endif
Note: See TracChangeset
for help on using the changeset viewer.