89 lines
3.0 KiB
C++
89 lines
3.0 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. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
//
|
|
// --------------------------------------------------------------
|
|
// GEANT 4 class implementation file --- Copyright CERN 1998
|
|
// CERN Geneva Switzerland
|
|
//
|
|
// **************************************************************
|
|
//
|
|
// File: G4StopElementSelector
|
|
//
|
|
// Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch)
|
|
//
|
|
// Creation date: 2 April 2000
|
|
//
|
|
// Class Description:
|
|
//
|
|
// Selection of elements for negative particle cupture
|
|
// Selection between decay/capture for mu-
|
|
// N.C.Mukhopadhyay Phys. Rep. 30 (1977) 1.
|
|
//
|
|
// Class Description: End
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// Modifications:
|
|
// 18/08/2000 V.Ivanchenko Update description
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef G4StopElementSelector_h
|
|
#define G4StopElementSelector_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "Randomize.hh"
|
|
#include "G4ParticleDefinition.hh"
|
|
#include "g4std/iomanip"
|
|
#include "G4Element.hh"
|
|
#include "G4Material.hh"
|
|
#include "G4MaterialTable.hh"
|
|
#include "G4MuonMinus.hh"
|
|
|
|
class G4StopElementSelector
|
|
|
|
{
|
|
private:
|
|
// hide assignment operator as private
|
|
G4StopElementSelector& operator=(const G4StopElementSelector &right);
|
|
G4StopElementSelector(const G4StopElementSelector& );
|
|
|
|
public:
|
|
|
|
G4StopElementSelector();
|
|
|
|
~G4StopElementSelector();
|
|
|
|
G4Element* GetElement(const G4Material* aMaterial);
|
|
G4double GetMuonCaptureRate(G4double Z, G4double A);
|
|
G4double GetMuonDecayRate(G4double Z, G4double A);
|
|
|
|
private:
|
|
|
|
|
|
};
|
|
|
|
#endif
|
|
|