|
||||
Warning, file /include/Geant4/G4VITRestDiscreteProcess.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 /// \brief Identical to G4VRestDiscreteProcess with dependency from G4VITProcess 0028 // 0029 // WARNING : This class is released as a prototype. 0030 // It might strongly evolve or even disapear in the next releases. 0031 // 0032 // Author: Mathieu Karamitros 0033 0034 // The code is developed in the framework of the ESA AO7146 0035 // 0036 // We would be very happy hearing from you, send us your feedback! :) 0037 // 0038 // In order for Geant4-DNA to be maintained and still open-source, 0039 // article citations are crucial. 0040 // If you use Geant4-DNA chemistry and you publish papers about your software, 0041 // in addition to the general paper on Geant4-DNA: 0042 // 0043 // Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178 0044 // 0045 // we would be very happy if you could please also cite the following 0046 // reference papers on chemistry: 0047 // 0048 // J. Comput. Phys. 274 (2014) 841-882 0049 // Prog. Nucl. Sci. Tec. 2 (2011) 503-508 0050 0051 #pragma once 0052 #include "G4VITProcess.hh" 0053 0054 /** Identical to G4VRestDiscreteProcess with dependency on G4VITProcess */ 0055 0056 class G4VITRestDiscreteProcess : public G4VITProcess 0057 { 0058 // Abstract class which defines the public behavior of 0059 // rest + discrete physics interactions. 0060 public: 0061 G4VITRestDiscreteProcess() = delete; 0062 G4VITRestDiscreteProcess(const G4String&, G4ProcessType aType = fNotDefined); 0063 G4VITRestDiscreteProcess(const G4VITRestDiscreteProcess&) = delete; 0064 G4VITRestDiscreteProcess& operator=(const G4VITRestDiscreteProcess& right) = delete; 0065 ~G4VITRestDiscreteProcess() override; 0066 0067 public: 0068 // with description 0069 G4double 0070 PostStepGetPhysicalInteractionLength(const G4Track& track, 0071 G4double previousStepSize, 0072 G4ForceCondition* condition) override; 0073 0074 G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&) override; 0075 0076 G4double AtRestGetPhysicalInteractionLength(const G4Track&, 0077 G4ForceCondition*) override; 0078 0079 G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&) override; 0080 0081 // no operation in AlongStepDoIt 0082 G4double AlongStepGetPhysicalInteractionLength(const G4Track&, 0083 G4double, 0084 G4double, 0085 G4double&, 0086 G4GPILSelection*) override 0087 { 0088 return -1.0; 0089 } 0090 0091 // no operation in AlongStepDoIt 0092 G4VParticleChange* AlongStepDoIt(const G4Track&, const G4Step&) override 0093 { 0094 return nullptr; 0095 } 0096 0097 protected: 0098 // with description 0099 virtual G4double GetMeanFreePath(const G4Track& aTrack, 0100 G4double previousStepSize, 0101 G4ForceCondition* condition) = 0; 0102 // Calculates from the macroscopic cross section a mean 0103 // free path, the value is returned in units of distance. 0104 0105 virtual G4double GetMeanLifeTime(const G4Track& aTrack, 0106 G4ForceCondition* condition) = 0; 0107 // Calculates the mean life-time (i.e. for decays) of the 0108 // particle at rest due to the occurrence of the given process, 0109 // or converts the probability of interaction (i.e. for 0110 // annihilation) into the life-time of the particle for the 0111 // occurrence of the given process. 0112 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |