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

91 lines
2.9 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. *
// ********************************************************************
//
// -------------------------------------------------------------------
//
// GEANT4 Class file
//
//
// File name: G4VhShellCrossSection
//
// Author: S. Dussoni and A. Mantero (Alfonso.Mantero@ge.infn.it)
//
// History:
// -----------
// 23 Oct 2001 A. Mantero 1st implementation
// 24 Oct 2001 MGP Cleaned up
// 29 Oct 2001 VI Add delta energy
//
// -------------------------------------------------------------------
// Class Description:
//
// Abstract class for models of shell cross sections in proton ionisation
// -------------------------------------------------------------------
//
#ifndef G4VHSHELLCROSSSECTION_HH
#define G4VHSHELLCROSSSECTION_HH 1
#include "globals.hh"
#include <vector>
class G4VhShellCrossSection
{
public:
G4VhShellCrossSection();
virtual ~G4VhShellCrossSection();
G4int SelectRandomShell(G4int Z,
G4double incidentEnergy,
G4double mass,
G4double deltaEnergy) const;
virtual std::vector<G4double> GetCrossSection(G4int Z,
G4double incidentEnergy,
G4double mass,
G4double deltaEnergy,
G4bool testFlag = false) const =0;
//protected:
virtual std::vector<G4double> Probabilities(G4int Z,
G4double incidentEnergy,
G4double mass,
G4double deltaEnergy) const = 0;
private:
// Hide copy constructor and assignment operator
G4VhShellCrossSection(const G4VhShellCrossSection&);
G4VhShellCrossSection & operator=(const G4VhShellCrossSection &right);
};
#endif