Files
geant4/source/processes/electromagnetic/lowenergy/include/G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy.hh
T
2016-06-09 14:44:26 +02:00

68 lines
3.6 KiB
C++

//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * 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. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4DNAAlphaPlusPlusChargeDecreaseFinalStates, 2005/09/14 15:46:26 francis
// GEANT4 tag $Name: emlowen-V07-01-07
#ifndef G4DNAALPHAPLUSPLUSCHARGEDECREASEFINALSTATESPOLICY_HH
#define G4DNAALPHAPLUSPLUSCHARGEDECREASEFINALSTATESPOLICY_HH 1
#include "G4DNACrossSectionDataSet.hh"
// IncomingParticlePolicy must provide:
// - [protected] const G4ParticleDefinition * IncomingParticleDefinition(void);
// EnergyLimitsPolicy must provide:
// - [protected] const double lowEnergyLimit
// - [protected] const double zeroBelowLowEnergyLimit
// - [protected] const double highEnergyLimit
// - [protected] const double zeroAboveLowEnergyLimit
template <typename EnergyLimitsPolicy>
class G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy : public EnergyLimitsPolicy
{
protected:
G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy() {}
~G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy() {}
G4bool KillIncomingParticle(G4double energy) const;
void BuildFinalStatesData(void) const;
G4int NumberOfFinalStates(G4int finalStateIndex) const;
G4ParticleDefinition* OutgoingParticleDefinition(G4int finalStateIndex);
G4double WaterBindingEnergyConstant(G4int finalStateIndex) const;
G4double OutgoingParticleBindingEnergyConstant(G4int finalStateIndex) const;
// Hides default constructor and assignment operator as private
G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy(const G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy & copy);
G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy & operator=(const G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy & right);
};
#include "G4DNAAlphaPlusPlusChargeDecreaseFinalStatesPolicy.icc"
#endif /* G4DNAALPHAPLUSPLUSCHARGEDECREASEFINALSTATESPOLICY_HH */