Ignore:
Timestamp:
Apr 20, 2009, 5:54:05 PM (15 years ago)
Author:
garnier
Message:

update to geant4.9.2

Location:
trunk/source/processes/hadronic/stopping/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/stopping/src/G4AntiNeutronAnnihilationAtRest.cc

    r962 r1007  
    3131#include "G4DynamicParticle.hh"
    3232#include "G4ParticleTypes.hh"
    33 #include "G4HadronicProcessStore.hh"
    3433#include "Randomize.hh"
    3534#include <string.h>
     
    6968  gkin = new G4GHEKinematicsVector [MAX_SECONDARIES];
    7069
    71   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    7270}
    7371 
     
    7674G4AntiNeutronAnnihilationAtRest::~G4AntiNeutronAnnihilationAtRest()
    7775{
    78   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7976  delete [] pv;
    8077  delete [] eve;
     
    8279}
    8380 
    84 void G4AntiNeutronAnnihilationAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
    85 {
    86   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    87 }
    88 
    89 void G4AntiNeutronAnnihilationAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
    90 {
    91   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    92 }
    9381 
    9482// methods.............................................................................
     
    10189
    10290}
    103 
     91 
    10492// Warning - this method may be optimized away if made "inline"
    10593G4int G4AntiNeutronAnnihilationAtRest::GetNumberOfSecondaries()
  • trunk/source/processes/hadronic/stopping/src/G4AntiProtonAnnihilationAtRest.cc

    r962 r1007  
    3232#include "G4ParticleTypes.hh"
    3333#include "Randomize.hh"
    34 #include "G4HadronicProcessStore.hh"
    3534#include <string.h>
    3635#include <cmath>
     
    6968  gkin = new G4GHEKinematicsVector [MAX_SECONDARIES];
    7069
    71   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    7270}
    7371 
     
    7674G4AntiProtonAnnihilationAtRest::~G4AntiProtonAnnihilationAtRest()
    7775{
    78   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7976  delete [] pv;
    8077  delete [] eve;
     
    8279}
    8380 
    84 void G4AntiProtonAnnihilationAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
    85 {
    86   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    87 }
    88 
    89 void G4AntiProtonAnnihilationAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
    90 {
    91   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    92 }
    9381 
    9482// methods.............................................................................
  • trunk/source/processes/hadronic/stopping/src/G4KaonMinusAbsorption.cc

    r962 r1007  
    3232#include "G4ParticleTypes.hh"
    3333#include "Randomize.hh"
    34 #include "G4HadronicProcessStore.hh"
    3534#include <string.h>
    3635#include <cmath>
     
    6766  gkin = new G4GHEKinematicsVector [MAX_SECONDARIES];
    6867
    69   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    7068}
    7169 
     
    7472G4KaonMinusAbsorption::~G4KaonMinusAbsorption()
    7573{
    76   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7774  delete [] pv;
    7875  delete [] eve;
    7976  delete [] gkin;
    8077}
    81 
    82 void G4KaonMinusAbsorption::PreparePhysicsTable(const G4ParticleDefinition& p)
    83 {
    84   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    85 }
    86 
    87 void G4KaonMinusAbsorption::BuildPhysicsTable(const G4ParticleDefinition& p)
    88 {
    89   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    90 }
     78 
    9179 
    9280// methods.............................................................................
  • trunk/source/processes/hadronic/stopping/src/G4KaonMinusAbsorptionAtRest.cc

    r962 r1007  
    4343#include "G4StopDeexcitationAlgorithm.hh"
    4444#include "G4ReactionKinematics.hh"
    45 #include "G4HadronicProcessStore.hh"
    4645
    4746G4KaonMinusAbsorptionAtRest::G4KaonMinusAbsorptionAtRest(const G4String& processName,
     
    8180  sigmaMinusLambdaConversionRate = 0.55;
    8281  sigmaZeroLambdaConversionRate = 0.55;
    83 
    84   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    8582}
    8683
    8784
    8885G4KaonMinusAbsorptionAtRest::~G4KaonMinusAbsorptionAtRest()
    89 {
    90   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    91 }
    92 
    93 void G4KaonMinusAbsorptionAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
    94 {
    95   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    96 }
    97 
    98 void G4KaonMinusAbsorptionAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
    99 {
    100   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    101 }
     86{ }
     87
    10288
    10389G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt
  • trunk/source/processes/hadronic/stopping/src/G4MuMinusCaptureCascade.cc

    r962 r1007  
    2525//
    2626// $Id: G4MuMinusCaptureCascade.cc,v 1.16 2008/05/05 09:09:06 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929//   G4MuonMinusCaptureAtRest physics process
  • trunk/source/processes/hadronic/stopping/src/G4MuonMinusCaptureAtRest.cc

    r962 r1007  
    2424// ********************************************************************
    2525//
    26 // $Id: G4MuonMinusCaptureAtRest.cc,v 1.54 2009/01/24 11:55:38 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     26// $Id: G4MuonMinusCaptureAtRest.cc,v 1.53 2008/10/02 20:57:52 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929//   G4MuonMinusCaptureAtRest physics process
     
    3333//
    3434// Modifications:
    35 // 18/08/2000  V.Ivanchenko Update description 
     35// 18/08/2000  V.Ivanchenko Update description
    3636// 12/12/2003  H.P.Wellisch Completly rewrite mu-nuclear part
    3737// 17/05/2006  V.Ivanchenko Cleanup
    3838// 15/11/2006  V.Ivanchenko Review and rewrite all kinematics
    3939// 24/01/2007  V.Ivanchenko Force to work with integer Z and A
    40 // 23/01/2009  V.Ivanchenko Add deregistration
    4140//
    4241//-----------------------------------------------------------------------------
     
    7675G4MuonMinusCaptureAtRest::~G4MuonMinusCaptureAtRest()
    7776{
    78   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7977  delete [] Cascade;
    8078  delete pSelector;
  • trunk/source/processes/hadronic/stopping/src/G4NeutronCaptureAtRest.cc

    r962 r1007  
    3232#include "G4ParticleTypes.hh"
    3333#include "Randomize.hh"
    34 #include "G4HadronicProcessStore.hh"
    3534#include <string.h>
    3635#include <cmath>
     
    6059  gkin = new G4GHEKinematicsVector [MAX_SECONDARIES];
    6160
    62   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    6361}
    6462 
     
    6765G4NeutronCaptureAtRest::~G4NeutronCaptureAtRest()
    6866{
    69   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7067  delete [] pv;
    7168  delete [] eve;
     
    7370}
    7471 
    75 void G4NeutronCaptureAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
    76 {
    77   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    78 }
    79 
    80 void G4NeutronCaptureAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
    81 {
    82   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    83 }
    8472 
    8573// methods.............................................................................
  • trunk/source/processes/hadronic/stopping/src/G4PiMinusAbsorptionAtRest.cc

    r962 r1007  
    5757#include "G4ThreeVector.hh"
    5858#include "G4LorentzVector.hh"
    59 #include "G4HadronicProcessStore.hh"
    6059
    6160// Constructor
     
    7170  if (verboseLevel>0)
    7271    { G4cout << GetProcessName() << " is created "<< G4endl; }
    73   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    7472}
    7573
     
    7876
    7977G4PiMinusAbsorptionAtRest::~G4PiMinusAbsorptionAtRest()
    80 {
    81   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    82 }
    83 
    84 void G4PiMinusAbsorptionAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
    85 {
    86   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    87 }
    88 
    89 void G4PiMinusAbsorptionAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
    90 {
    91   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    92 }
     78{}
     79
    9380
    9481G4VParticleChange* G4PiMinusAbsorptionAtRest::AtRestDoIt(const G4Track& track, const G4Step& )
  • trunk/source/processes/hadronic/stopping/src/G4PionMinusAbsorptionAtRest.cc

    r962 r1007  
    3232#include "G4ParticleTypes.hh"
    3333#include "Randomize.hh"
    34 #include "G4HadronicProcessStore.hh"
    3534#include <string.h>
    3635#include <cmath>
     
    6261  gkin = new G4GHEKinematicsVector [MAX_SECONDARIES];
    6362
    64   G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    6563}
    6664 
     
    6967G4PionMinusAbsorptionAtRest::~G4PionMinusAbsorptionAtRest()
    7068{
    71   G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7269  delete [] pv;
    7370  delete [] eve;
     
    7572}
    7673 
    77 void G4PionMinusAbsorptionAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
    78 {
    79   G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
    80 }
    81 
    82 void G4PionMinusAbsorptionAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
    83 {
    84   G4HadronicProcessStore::Instance()->PrintInfo(&p);
    85 }
    8674 
    8775// methods.............................................................................
  • trunk/source/processes/hadronic/stopping/src/G4StopElementSelector.cc

    r962 r1007  
    2525//
    2626// $Id: G4StopElementSelector.cc,v 1.16 2007/10/02 18:27:43 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929// File: G4StopElementSelector
Note: See TracChangeset for help on using the changeset viewer.