Message: Re: G4NucleiPropertiesTable class documentation question Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: G4NucleiPropertiesTable class documentation question 

Forum: Documentation and Examples
Re: Question G4NucleiPropertiesTable class documentation question (Victor Golovko)
Re: Question Re: G4NucleiPropertiesTable class documentation question (Vladimir Ivanchenko)
Date: 14 Jan, 2009
From: Victor Golovko <Victor Golovko>

Dear Vladimir,

Probably I have not given more details in my previous message. My concern about G4NucleiPropertiesTable class. In particular in previews version of the class some of the functions were declared as a 'public'. In current version of the same class these function have been changed to a 'private'. See below '<< HERE the DECLARATION' comments:

Latest version of G4NucleiPropertiesTable class:

 71 class G4NucleiPropertiesTable 
 72 {
 73 private:
 74   
 75   // Default constructor - this class should exist only once!
 76   G4NucleiPropertiesTable(){};
....
 88   friend class G4NucleiProperties;  
 89 
 90 private: // << HERE the DECLARATION
 91 
 92   // Operation: GetMassExcess
 93   static G4double GetMassExcess(G4int Z, G4int A); 
 94 
 95   // Operation: GetNuclearMass
 96   static G4double GetNuclearMass(G4int Z, G4int A);
 97 
 98   // Operation: GetBindingEnergy
 99   static G4double GetBindingEnergy(G4int Z, G4int A);
100 
101   // Operation: GetBetaDecayEnergy
102   static G4double GetBetaDecayEnergy(G4int Z, G4int A);
103 
104   // Operation: GetAtomicMass .. in Geant4 Energy units!
105   static G4double GetAtomicMass(G4int Z, G4int A);
106 
107   // Is the nucleus (A,Z) in table?
108   static G4bool IsInTable(G4int Z, G4int A);
109 
110   static G4int MaxZ(G4int A);
111   static G4int MinZ(G4int A);

Previous version of G4NucleiPropertiesTable class:

 70 class G4NucleiPropertiesTable 
 71 {
 72 private: // << HERE the DECLARATION
 73   
 74   // Default constructor - this class should exist only once!
 75   G4NucleiPropertiesTable(){};
....
 84   // Other Operations 
 85  public: // With Description
 86 
 87   // Operation: GetMassExcess
 88   static G4double GetMassExcess(G4int Z, G4int A); 
 89 
 90   // Operation: GetNuclearMass
 91   static G4double GetNuclearMass(G4int Z, G4int A);
 92 
 93   // Operation: GetBindingEnergy
 94   static G4double GetBindingEnergy(G4int Z, G4int A);
 95 
 96   // Operation: GetBetaDecayEnergy
 97   static G4double GetBetaDecayEnergy(G4int Z, G4int A);
 98 
 99   // Operation: GetAtomicMass .. in Geant4 Energy units!
100   static G4double GetAtomicMass(G4int Z, G4int A);
101 
102   // Is the nucleus (A,Z) in table?
103   static G4bool IsInTable(G4int Z, G4int A);
104 
105   static G4int MaxZ(G4int A);
106   static G4int MinZ(G4int A);

So, my question are you going to keep these functions as a 'private'? If so, would you suggest a 'work around' for this problem? I have found that the same functions are available in the G4NucleiProperties class, is it safe to access the desired information via G4NucleiProperties class instead of G4NucleiPropertiesTable class?

Thanks, Victor Golovko. 14 January, 2009

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: G4NucleiPropertiesTable class documentation question   (Hisaya Kurashige - 14 Jan, 2009)
 Add Message Add Message
to: "Re: G4NucleiPropertiesTable class documentation question"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]