Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (16 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

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

    r819 r962  
    2424// ********************************************************************
    2525//
    26 // $Id: G4MuonMinusCaptureAtRest.cc,v 1.48 2007/11/19 16:49:25 vnivanch Exp $
    27 // GEANT4 tag $Name: $
     26// $Id: G4MuonMinusCaptureAtRest.cc,v 1.54 2009/01/24 11:55:38 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-02-ref-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
    4041//
    4142//-----------------------------------------------------------------------------
     
    5354#include "G4Fancy3DNucleus.hh"
    5455#include "G4ExcitationHandler.hh"
     56#include "G4HadronicProcessStore.hh"
    5557
    5658//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     
    6163  isInitialised(false)
    6264{
     65  SetProcessSubType(fHadronAtRest);
    6366  Cascade    = new G4GHEKinematicsVector [17];
    6467  pSelector  = new G4StopElementSelector();
     
    6669  theN       = new G4Fancy3DNucleus();
    6770  theHandler = new G4ExcitationHandler();
     71  G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);
    6872}
    6973
     
    7276G4MuonMinusCaptureAtRest::~G4MuonMinusCaptureAtRest()
    7377{
     78  G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);
    7479  delete [] Cascade;
    7580  delete pSelector;
     
    8489{
    8590  return ( &p == G4MuonMinus::MuonMinus() );
     91}
     92
     93//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     94
     95void G4MuonMinusCaptureAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)
     96{
     97  G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);
     98}
     99
     100//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     101
     102void G4MuonMinusCaptureAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)
     103{
     104  G4HadronicProcessStore::Instance()->PrintInfo(&p);
    86105}
    87106
Note: See TracChangeset for help on using the changeset viewer.