// // ******************************************************************** // * 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: G4VHadronPhysics.hh,v 1.1 2009/09/01 14:48:30 vnivanch Exp $ // GEANT4 tag $Name: geant4-09-04-beta-01 $ // //--------------------------------------------------------------------------- // // ClassName: G4VHadronPhysics // // Author: 28 June 2009 V.Ivanchenko // // Modified: // //---------------------------------------------------------------------------- // #ifndef G4VHadronPhysics_h #define G4VHadronPhysics_h 1 #include "G4VPhysicsConstructor.hh" #include "G4VHadronModelBuilder.hh" #include "globals.hh" #include class G4ParticleDefinition; class G4VCrossSectionDataSet; class G4HadronicProcess; class G4HadronicInteraction; class G4VHadronPhysics : public G4VPhysicsConstructor { public: G4VHadronPhysics(const G4String& name ="hInelastic", G4int verbose = 0); virtual ~G4VHadronPhysics(); virtual void ConstructParticle(); G4HadronicInteraction* BuildModel(G4VHadronModelBuilder*, G4double emin, G4double emax); G4HadronicInteraction* NewModel(G4HadronicInteraction*, G4double emin, G4double emax); void AddInelasticCrossSection(const G4String&, G4VCrossSectionDataSet*); void AddInelasticCrossSection(const G4ParticleDefinition*, G4VCrossSectionDataSet*); void AddElasticCrossSection(const G4String&, G4VCrossSectionDataSet*); void AddElasticCrossSection(const G4ParticleDefinition*, G4VCrossSectionDataSet*); void AddCaptureCrossSection(G4VCrossSectionDataSet*); void AddFissionCrossSection(G4VCrossSectionDataSet*); protected: G4HadronicProcess* FindInelasticProcess(const G4String&); G4HadronicProcess* FindInelasticProcess(const G4ParticleDefinition*); G4HadronicProcess* FindElasticProcess(const G4String&); G4HadronicProcess* FindElasticProcess(const G4ParticleDefinition*); G4HadronicProcess* FindCaptureProcess(); G4HadronicProcess* FindFissionProcess(); private: // copy constructor and hide assignment operator G4VHadronPhysics(G4VHadronPhysics &); G4VHadronPhysics & operator=(const G4VHadronPhysics &right); std::vector builders; }; #endif