118 lines
3.2 KiB
C++
118 lines
3.2 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// $Id: G4PiMinusStopAbsorption.hh,v 1.8 2002/12/12 19:18:36 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
// -------------------------------------------------------------------
|
|
// GEANT 4 class file --- Copyright CERN 1998
|
|
// CERN Geneva Switzerland
|
|
//
|
|
//
|
|
// File name: G4PiMinusStopAbsorption.hh
|
|
//
|
|
// Author: Maria Grazia Pia (pia@genova.infn.it)
|
|
//
|
|
// Creation date: 12 May 1998
|
|
//
|
|
// Modifications:
|
|
// 13 Sep 1998 - Changed DoAbsorption
|
|
//
|
|
// -------------------------------------------------------------------
|
|
|
|
#ifndef G4PIMINUSSTOPABSORPTION_HH
|
|
#define G4PIMINUSSTOPABSORPTION_HH
|
|
|
|
#include "globals.hh"
|
|
#include "G4DynamicParticle.hh"
|
|
#include "G4DynamicParticleVector.hh"
|
|
#include "G4PiMinusStopMaterial.hh"
|
|
#include "G4ThreeVector.hh"
|
|
|
|
class G4PiMinusStopAbsorption
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
G4PiMinusStopAbsorption(G4PiMinusStopMaterial* materialAlgo, const G4double Z, const G4double A);
|
|
|
|
// Destructor
|
|
~G4PiMinusStopAbsorption();
|
|
|
|
// Return final absorption products
|
|
G4DynamicParticleVector* DoAbsorption();
|
|
|
|
// Energy involved in the absorption process
|
|
G4double Energy();
|
|
|
|
// Return nucleus recoil momentum
|
|
G4ThreeVector RecoilMomentum();
|
|
|
|
// Number of protons in the absorption products
|
|
G4int NProtons();
|
|
|
|
// Number of neutrons in the absorption products
|
|
G4int NNeutrons();
|
|
|
|
void SetVerboseLevel(G4int level);
|
|
|
|
private:
|
|
|
|
// Hide assignment operator as private
|
|
G4PiMinusStopAbsorption& operator=(const G4PiMinusStopAbsorption &right);
|
|
|
|
// Copy constructor
|
|
G4PiMinusStopAbsorption(const G4PiMinusStopAbsorption& );
|
|
|
|
G4PiMinusStopMaterial* _materialAlgo; // owned pointer
|
|
G4DynamicParticleVector* _absorptionProducts;
|
|
|
|
G4double _nucleusA;
|
|
G4double _nucleusZ;
|
|
|
|
G4int _level;
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|