// // ******************************************************************** // * 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: pyPhysicsLists.cc,v 1.5 2007/11/25 19:40:13 kmura Exp $ // $Name: geant4-09-01 $ // ==================================================================== // pyPhysicsLists.cc // // 2007 Q // ==================================================================== #include #include "pyG4Version.hh" #if G4VERSION_NUMBER >= 820 #include "G4HadronInelasticQBBC.hh" #include "G4HadronInelasticQLHEP.hh" #include "FTFC.hh" #include "FTFP.hh" #include "LBE.hh" #include "LHEP.hh" #include "LHEP_BERT.hh" #include "LHEP_BERT_HP.hh" #include "LHEP_EMV.hh" #include "LHEP_PRECO_HP.hh" #include "QBBC.hh" #include "QGSC.hh" #include "QGSC_EFLOW.hh" #include "QGSC_EMV.hh" #include "QGSP.hh" #include "QGSP_BERT.hh" #include "QGSP_BERT_HP.hh" #include "QGSP_BIC.hh" #include "QGSP_BIC_HP.hh" #include "QGSP_EMV.hh" #include "QGSP_EMX.hh" #include "QGSP_QEL.hh" #if G4VERSION_NUMBER <= 830 #include "LHEP_BIC.hh" #include "LHEP_BIC_HP.hh" #include "LHEP_HP.hh" #include "LHEP_LEAD.hh" #include "LHEP_LEAD_HP.hh" #include "LHEP_PRECO.hh" #include "QGSC_LEAD.hh" #include "QGSC_LEAD_HP.hh" #include "QGSP_HP.hh" #endif #endif #if G4VERSION_NUMBER >= 830 #include "FTFP_EMV.hh" #include "QGSP_BERT_EMV.hh" #include "QGSP_BERT_NQE.hh" #include "QGSP_BERT_TRV.hh" #include "QGSP_EMV_NQE.hh" #include "QGSP_NQE.hh" #endif #if G4VERSION_NUMBER >= 910 #include "FTFP_BERT.hh" #include "FTF_BIC.hh" #include "QGSC_BERT.hh" #include "QGS_BIC.hh" #include "QGSP_BIC2.hh" #endif using namespace boost::python; // ==================================================================== // module definition // ==================================================================== void export_PhysicsLists() { #if G4VERSION_NUMBER >= 820 class_ > ("FTFC", "FTFC physics list") ; class_ > ("FTFP", "FTFP physics list") ; class_ > ("LBE", "LBE physics list") ; class_ > ("LHEP", "LHEP physics list") ; class_ > ("LHEP_BERT", "LHEP_BERT physics list") ; class_ > ("LHEP_BERT_HP", "LHEP_BERT_HP physics list") ; class_ > ("LHEP_EMV", "LHEP_EMV physics list") ; class_ > ("LHEP_PRECO_HP", "LHEP_PRECO_HP physics list") ; class_ > ("QBBC", "QBBC physics list") ; class_ > ("QGSC", "QGSC physics list") ; class_ > ("QGSC_EFLOW", "QGSC_EFLOW physics list") ; class_ > ("QGSC", "QGSC_EMV physics list") ; class_ > ("QGSP", "QGSP physics list") ; class_ > ("QGSP_BERT", "QGSP_BERT physics list") ; class_ > ("QGSP_BERT_HP", "QGSP_BERT_HP physics list") ; class_ > ("QGSP_BIC", "QGSP_BIC physics list") ; class_ > ("QGSP_BIC_HP", "QGSP_BIC_HP physics list") ; class_ > ("QGSP_EMV", "QGSP_EMV physics list") ; class_ > ("QGSP_EMX", "QGSP_EMX physics list") ; class_ > ("QGSP_QEL", "QGSP_QEL physics list") ; #if G4VERSION_NUMBER <= 830 class_ > ("LHEP_BIC", "LHEP_BIC physics list") ; class_ > ("LHEP_BIC_HP", "LHEP_BIC_HP physics list") ; class_ > ("LHEP_HP", "LHEP_HP physics list") ; class_ > ("LHEP_LEAD", "LHEP_LEAD physics list") ; class_ > ("LHEP_LEAD_HP", "LHEP_LEAD_HP physics list") ; class_ > ("LHEP_PRECO", "LHEP_PRECO physics list") ; class_ > ("QGSC_LEAD", "QGSC_LEAD physics list") ; class_ > ("QGSC_LEAD_HP", "QGSC_LEAD_HP physics list") ; class_ > ("QGSP_HP", "QGSP_HP physics list") ; #endif #endif #if G4VERSION_NUMBER >= 830 class_ > ("FTFP_EMV", "FTFP_EMV physics list") ; class_ > ("QGSP_BERT_EMV", "QGSP_BERT_EMV physics list") ; class_ > ("QGSP_BERT_NQE", "QGSP_BERT_NQE physics list") ; class_ > ("QGSP_BERT_TRV", "QGSP_BERT_TRV physics list") ; class_ > ("QGSP_EMV_NQE", "QGSP_EMV_NQE physics list") ; class_ > ("QGSP_NQE", "QGSP_NQE physics list") ; #endif #if G4VERSION_NUMBER >= 910 class_ > ("FTFP_BERT", "FTFP_BERT physics list") ; class_ > ("FTF_BIC", "FTFP_BIC physics list") ; class_ > ("QGSC_BERT", "QGSC_BERT physics list") ; class_ > ("QGS_BIC", "QGS_BIC physics list") ; class_ > ("QGSP_BIC2", "QGSP_BIC2 physics list") ; #endif }