90 lines
3.1 KiB
C++
90 lines
3.1 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: G4eeToTwoGammaModel.hh,v 1.9 2005/05/12 11:06:43 vnivanch Exp $
|
|
// GEANT4 tag $Name: geant4-08-00 $
|
|
//
|
|
// -------------------------------------------------------------------
|
|
//
|
|
// GEANT4 Class header file
|
|
//
|
|
//
|
|
// File name: G4eeToTwoGammaModel
|
|
//
|
|
// Author: Vladimir Ivanchenko on base of Michel Maire code
|
|
//
|
|
// Creation date: 02.08.2004
|
|
//
|
|
// Modifications:
|
|
// 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko)
|
|
// 18-04-05 Compute CrossSectionPerVolume (V.Ivantchenko)
|
|
//
|
|
|
|
//
|
|
// Class Description:
|
|
//
|
|
// Implementation of e+ annihilation into 2 gamma
|
|
|
|
// -------------------------------------------------------------------
|
|
//
|
|
|
|
#ifndef G4eeToTwoGammaModel_h
|
|
#define G4eeToTwoGammaModel_h 1
|
|
|
|
#include "G4VEmModel.hh"
|
|
|
|
class G4eeToTwoGammaModel : public G4VEmModel
|
|
{
|
|
|
|
public:
|
|
|
|
G4eeToTwoGammaModel(const G4ParticleDefinition* p = 0, const G4String& nam = "eplus2gg");
|
|
|
|
virtual ~G4eeToTwoGammaModel();
|
|
|
|
virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
|
|
|
|
virtual G4double CrossSectionPerVolume(const G4Material*,
|
|
const G4ParticleDefinition*,
|
|
G4double kineticEnergy,
|
|
G4double cutEnergy,
|
|
G4double maxEnergy);
|
|
|
|
virtual std::vector<G4DynamicParticle*>* SampleSecondaries(
|
|
const G4MaterialCutsCouple*,
|
|
const G4DynamicParticle*,
|
|
G4double tmin,
|
|
G4double maxEnergy);
|
|
|
|
private:
|
|
|
|
// hide assignment operator
|
|
G4eeToTwoGammaModel & operator=(const G4eeToTwoGammaModel &right);
|
|
G4eeToTwoGammaModel(const G4eeToTwoGammaModel&);
|
|
|
|
G4double pi_rcl2;
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|
|
|
#endif
|