Files
geant4/source/processes/electromagnetic/standard/include/G4AnnihiToMuPair.hh
T
2016-06-09 10:56:29 +02:00

122 lines
4.8 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: G4AnnihiToMuPair.hh,v 1.5 2004/05/07 16:52:42 vnivanch Exp $
// GEANT4 tag $Name: geant4-06-02 $
//
// ------------ G4AnnihiToMuPair physics process ------
// by H.Burkhardt, S. Kelner and R. Kokoulin, November 2002
// -----------------------------------------------------------------------------
// class description
//
// (high energy) e+ (atomic) e- ---> mu+ mu-
// inherit from G4VDiscreteProcess
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......//
//
// 04.02.03 : cosmetic simplifications (mma)
// 27.01.03 : first implementation (hbu)
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef G4AnnihiToMuPair_h
#define G4AnnihiToMuPair_h 1
#include "G4VDiscreteProcess.hh"
#include "globals.hh"
class G4ParticleDefinition;
class G4Track;
class G4Step;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class G4AnnihiToMuPair : public G4VDiscreteProcess
{
public: // with description
G4AnnihiToMuPair(const G4String& processName ="AnnihiToMuPair",
G4ProcessType type = fElectromagnetic);
~G4AnnihiToMuPair();
G4bool IsApplicable(const G4ParticleDefinition&);
// true for positron only.
void BuildPhysicsTable(const G4ParticleDefinition&);
// here dummy, just calling PrintInfoDefinition
// the total cross section is calculated analytically
void PrintInfoDefinition();
// Print few lines of informations about the process: validity range,
// origine ..etc..
// Invoked by BuildPhysicsTable().
void SetCrossSecFactor(G4double fac);
// Set the factor to artificially increase the crossSection (default 1)
G4double GetCrossSecFactor() {return CrossSecFactor;};
// Get the factor to artificially increase the cross section
G4double ComputeCrossSectionPerAtom(G4double PositronEnergy,
G4double AtomicZ);
// Compute total cross section
G4double GetMeanFreePath(const G4Track& aTrack,
G4double previousStepSize,
G4ForceCondition* );
// It returns the MeanFreePath of the process for the current track :
// (energy, material)
// The previousStepSize and G4ForceCondition* are not used.
// This function overloads a virtual function of the base class.
// It is invoked by the ProcessManager of the Particle.
G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
const G4Step& aStep);
// It computes the final state of the process (at end of step),
// returned as a ParticleChange object.
// This function overloads a virtual function of the base class.
// It is invoked by the ProcessManager of the Particle.
private:
// hide assignment operator as private
G4AnnihiToMuPair& operator=(const G4AnnihiToMuPair &right);
G4AnnihiToMuPair(const G4AnnihiToMuPair& );
private:
G4double LowestEnergyLimit; // Energy threshold of e+
G4double HighestEnergyLimit; // Limit of validity of the model
G4double CrossSecFactor; // factor to artificially increase
// the cross section, static to make sure
// to have single value
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif