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 // File name: G4PiMinusStopAbsorption.hh 00027 // 00028 // Author: Maria Grazia Pia (pia@genova.infn.it) 00029 // 00030 // Creation date: 12 May 1998 00031 // 00032 // Modifications: 00033 // 13 Sep 1998 - Changed DoAbsorption 00034 // 00035 // ------------------------------------------------------------------- 00036 00037 #ifndef G4PIMINUSSTOPABSORPTION_HH 00038 #define G4PIMINUSSTOPABSORPTION_HH 00039 00040 #include "globals.hh" 00041 #include "G4DynamicParticle.hh" 00042 #include "G4DynamicParticleVector.hh" 00043 #include "G4PiMinusStopMaterial.hh" 00044 #include "G4ThreeVector.hh" 00045 00046 class G4PiMinusStopAbsorption 00047 { 00048 00049 public: 00050 00051 // Constructor 00052 G4PiMinusStopAbsorption(G4PiMinusStopMaterial* materialAlgo, const G4double Z, const G4double A); 00053 00054 // Destructor 00055 ~G4PiMinusStopAbsorption(); 00056 00057 // Return final absorption products 00058 G4DynamicParticleVector* DoAbsorption(); 00059 00060 // Energy involved in the absorption process 00061 G4double Energy(); 00062 00063 // Return nucleus recoil momentum 00064 G4ThreeVector RecoilMomentum(); 00065 00066 // Number of protons in the absorption products 00067 G4int NProtons(); 00068 00069 // Number of neutrons in the absorption products 00070 G4int NNeutrons(); 00071 00072 void SetVerboseLevel(G4int level); 00073 00074 private: 00075 00076 // Hide assignment operator as private 00077 G4PiMinusStopAbsorption& operator=(const G4PiMinusStopAbsorption &right); 00078 00079 // Copy constructor 00080 G4PiMinusStopAbsorption(const G4PiMinusStopAbsorption& ); 00081 00082 G4PiMinusStopMaterial* _materialAlgo; // owned pointer 00083 G4DynamicParticleVector* _absorptionProducts; 00084 00085 G4double _nucleusA; 00086 G4double _nucleusZ; 00087 00088 G4int _level; 00089 }; 00090 00091 #endif 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111