G4StoppingPhysics.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 //---------------------------------------------------------------------------
00029 //
00030 // ClassName:  G4StoppingPhysics
00031 //
00032 // Author:     Alberto Ribon
00033 //
00034 // Date:       27 July 2012
00035 //
00036 // Modified:  
00037 // 20120921  M. Kelsey -- Move MuonMinusCapture.hh here; replace G4MMCAtRest
00038 //              with new G4MuonMinusCapture.
00039 // 16-Oct-2012 A. Ribon: renamed G4BertiniAndFritiofStoppingPhysics as 
00040 //                       G4StoppingPhysics.
00041 //
00042 // Class Description:
00043 //
00044 // This class provides the nuclear capture at rest of negatively charged
00045 // particles, using: Bertini for pi-, K-, Sigma-, Xi-, and Omega-. 
00046 //                   Fritiof/Precompound for anti-proton and anti-Sigma+;
00047 //                   another model for mu-.
00048 //
00049 //----------------------------------------------------------------------------
00050 
00051 #ifndef G4StoppingPhysics_h
00052 #define G4StoppingPhysics_h 1
00053 
00054 #include "globals.hh"
00055 #include "G4VPhysicsConstructor.hh"
00056 
00057 
00058 class G4HadronicAbsorptionBertini;
00059 class G4HadronicAbsorptionFritiof;
00060 class G4MuonMinusCapture;
00061 
00062 
00063 class G4StoppingPhysics : public G4VPhysicsConstructor {
00064 
00065 public: 
00066 
00067   G4StoppingPhysics( G4int ver = 1 );
00068 
00069   G4StoppingPhysics( const G4String& name,
00070                                       G4int ver = 1,
00071                                       G4bool UseMuonMinusCapture=true );
00072 
00073   virtual ~G4StoppingPhysics();
00074 
00075 public: 
00076 
00077   // This method will be invoked in the Construct() method. 
00078   // each particle type will be instantiated
00079   virtual void ConstructParticle();
00080  
00081   // This method will be invoked in the Construct() method.
00082   // each physics process will be instantiated and
00083   // registered to the process manager of each particle type 
00084   virtual void ConstructProcess();
00085 
00086 private:
00087 
00088   G4MuonMinusCapture* muProcess;
00089   G4HadronicAbsorptionBertini* hBertiniProcess;
00090   G4HadronicAbsorptionFritiof* hFritiofProcess;
00091   
00092   G4int  verbose;
00093   G4bool wasActivated;
00094   G4bool useMuonMinusCapture;
00095 };
00096 
00097 
00098 #endif

Generated on Mon May 27 17:49:55 2013 for Geant4 by  doxygen 1.4.7