Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (14 years ago)
Author:
garnier
Message:

geant4 tag 9.4

Location:
trunk/source/processes/hadronic/util
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/util/History

    r1315 r1347  
    1414     * Please list in reverse chronological order (last date on top)
    1515     ---------------------------------------------------------------
     16
     1711 Nov 2010  Dennis Wright              (hadr-util-V09-03-01)
     18-------------------------------------------------------------
     19- G4HadronicWhiteBoard: fix uninitialized ptrs (theProjectile, theDef,
     20    theName)
     21- G4Nucleus: add dtaBlackTrackEnergyfromAnnihilation and
     22    pnBlackTrackEnergyfromAnnihilation to copy ctor
     23    initialize theA, theZ. aEff, zEff to 0 in ctor
    1624
    172508 Mar 2010 G.Folger                    (hadr-util-V09-03-00)
  • trunk/source/processes/hadronic/util/include/G4HadronicWhiteBoard.hh

    r1315 r1347  
    3535{
    3636  public:
    37   G4HadronicWhiteBoard(){}
     37  G4HadronicWhiteBoard();
    3838 
    39   static G4HadronicWhiteBoard & Instance();
     39  static G4HadronicWhiteBoard& Instance();
    4040 
    41   void SetProjectile(const G4HadProjectile & aProjectile);
     41  void SetProjectile(const G4HadProjectile& aProjectile);
    4242   
    43   void SetTargetNucleus(const G4Nucleus & aTarget);
     43  void SetTargetNucleus(const G4Nucleus& aTarget);
    4444
    4545  void SetProcessName(const G4String& aProcessName);
     
    4747  void SetModelName(const G4String& aModelName);
    4848
    49   const G4HadProjectile * GetProjectile();
    50   const G4Nucleus & GetTargetNucleus();
    51   G4ParticleDefinition * GetPDef();
     49  const G4HadProjectile* GetProjectile();
     50  const G4Nucleus& GetTargetNucleus();
     51  G4ParticleDefinition* GetPDef();
    5252  G4String GetParticleName();
    5353  G4double GetEnergy();
     
    6363  private:
    6464 
    65   G4HadProjectile * theProjectile;
    66   G4ParticleDefinition * theDef;
    67   char * theName;
     65  G4HadProjectile* theProjectile;
     66  G4ParticleDefinition* theDef;
     67  char* theName;
    6868  G4double theE;
    6969  G4double thePx;
  • trunk/source/processes/hadronic/util/include/G4Nucleus.hh

    r1315 r1347  
    7676         zEff=right.zEff; 
    7777         pnBlackTrackEnergy=right.pnBlackTrackEnergy;
    78          dtaBlackTrackEnergy=right.dtaBlackTrackEnergy;
     78         dtaBlackTrackEnergy=right.dtaBlackTrackEnergy;
     79         pnBlackTrackEnergyfromAnnihilation =
     80                      right.pnBlackTrackEnergyfromAnnihilation;
     81         dtaBlackTrackEnergyfromAnnihilation =
     82                      right.dtaBlackTrackEnergyfromAnnihilation;
    7983         theTemp = right.theTemp;
    8084         excitationEnergy = right.excitationEnergy;
  • trunk/source/processes/hadronic/util/src/G4HadronicWhiteBoard.cc

    r1315 r1347  
    2525//
    2626#include "G4HadronicWhiteBoard.hh"
     27
     28
     29G4HadronicWhiteBoard::G4HadronicWhiteBoard()
     30  : theProjectile(0), theDef(0), theName(0)
     31{}
    2732
    2833
  • trunk/source/processes/hadronic/util/src/G4Nucleus.cc

    r1315 r1347  
    4646 
    4747G4Nucleus::G4Nucleus()
     48  : theA(0), theZ(0), aEff(0.0), zEff(0)
    4849{
    4950  pnBlackTrackEnergy = 0.0;
Note: See TracChangeset for help on using the changeset viewer.