Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

File:
1 edited

Legend:

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

    r1007 r1055  
    3232#include "G4ParticleTypes.hh"
    3333#include "Randomize.hh"
     34#include "G4HadronicProcessStore.hh"
    3435#include <string.h>
    3536#include <cmath>
     
    5960  gkin = new G4GHEKinematicsVector [MAX_SECONDARIES];
    6061
     62  G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    6163}
    6264 
     
    6567G4NeutronCaptureAtRest::~G4NeutronCaptureAtRest()
    6668{
     69  G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    6770  delete [] pv;
    6871  delete [] eve;
     
    7073}
    7174 
     75void G4NeutronCaptureAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
     76{
     77  G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
     78}
     79
     80void G4NeutronCaptureAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
     81{
     82  G4HadronicProcessStore::Instance()->PrintInfo(&p);
     83}
    7284 
    7385// methods.............................................................................
Note: See TracChangeset for help on using the changeset viewer.