Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

Location:
trunk/source/particles/management/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/particles/management/include/G4DynamicParticle.hh

    r1196 r1315  
    2525//
    2626//
    27 // $Id: G4DynamicParticle.hh,v 1.18 2007/03/11 07:17:35 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: G4DynamicParticle.hh,v 1.20 2010/04/20 00:50:18 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2929//
    3030//
     
    201201     //    mode 1 : 0 + electron occupancy
    202202
    203    private:
     203   protected:
    204204     void      AllocateElectronOccupancy();
    205205     G4double  GetElectronMass() const;
    206206
    207    private:
     207   protected:
    208208     G4ThreeVector theMomentumDirection;
    209209      //  The normalized momentum vector
     
    232232     G4double thePreAssignedDecayTime;
    233233
    234  private:
     234 protected:
    235235   G4int verboseLevel;
    236236 
     
    243243   //  2: More
    244244
    245  private:
     245 protected:
    246246   G4PrimaryParticle* primaryParticle;
    247247   // This void pointer is used by G4EventManager to maintain the
     
    266266   // returned if available. Otherwise (e.g. for geantino) returns 0.
    267267
    268  private:
     268 protected:
    269269   G4int thePDGcode;
    270270};
  • trunk/source/particles/management/include/G4DynamicParticle.icc

    r1196 r1315  
    2525//
    2626//
    27 // $Id: G4DynamicParticle.icc,v 1.16 2007/03/11 07:17:35 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: G4DynamicParticle.icc,v 1.17 2010/04/19 00:23:08 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2929//
    3030//
     
    8787inline void  G4DynamicParticle::AddElectron(G4int orbit, G4int number )
    8888{
     89  if ( theElectronOccupancy == 0) AllocateElectronOccupancy();
    8990  if ( theElectronOccupancy != 0) {
    9091    G4int n = theElectronOccupancy->AddElectron(orbit, number );
     
    9697inline void    G4DynamicParticle::RemoveElectron(G4int orbit, G4int number)
    9798{
    98   if ( theElectronOccupancy != 0) {
     99 if ( theElectronOccupancy == 0) AllocateElectronOccupancy();
     100 if ( theElectronOccupancy != 0) {
    99101    G4int n = theElectronOccupancy->RemoveElectron(orbit, number );
    100102    theDynamicalCharge += eplus * n;
Note: See TracChangeset for help on using the changeset viewer.