// // ******************************************************************** // * 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. * // ******************************************************************** // // // // Hadronic Inelastic Process class // The specific particle inelastic processes derive from this class // This is an abstract base class, since the pure virtual function // PostStepDoIt has not been defined yet. // // J.L. Chuma, TRIUMF, 10-Mar-1997 // Last modified: 27-Mar-1997 // // 14-APR-98 F.W.Jones: variant G4HadronInelastic process for // G4CrossSectionDataSet/DataStore class design. // 29-JUN-98 F.W.Jones: default data set G4HadronCrossSections // #ifndef G4HadronInelasticProcess_h #define G4HadronInelasticProcess_h 1 #include "G4HadronicProcess.hh" //#include "G4LPhysicsFreeVector.hh" #include "G4HadronCrossSections.hh" #include "G4CrossSectionDataStore.hh" #include "G4HadronInelasticDataSet.hh" #include "G4ParticleChange.hh" class G4HadronInelasticProcess : public G4HadronicProcess { public: G4HadronInelasticProcess( const G4String &processName, G4ParticleDefinition *aParticle ); virtual ~G4HadronInelasticProcess(); void BuildThePhysicsTable(); G4bool IsApplicable(const G4ParticleDefinition& aP); G4VParticleChange *PostStepDoIt(const G4Track &aTrack, const G4Step &aStep); private: virtual G4double GetMicroscopicCrossSection( const G4DynamicParticle *aParticle, const G4Element *anElement, G4double aTemp ); protected: G4ParticleDefinition *theParticle; G4ParticleChange theParticleChange; }; #endif