#include <G4WarnPLStatus.hh>
Public Member Functions | |
G4WarnPLStatus () | |
~G4WarnPLStatus () | |
void | Replaced (const G4String aPL, const G4String Replacement) const |
void | OnlyFromFactory (const G4String aPL, const G4String basePL) const |
void | Unsupported (const G4String aPL, const G4String Replacement="") const |
void | Experimental (const G4String aPL) const |
Definition at line 31 of file G4WarnPLStatus.hh.
G4WarnPLStatus::G4WarnPLStatus | ( | ) |
G4WarnPLStatus::~G4WarnPLStatus | ( | ) |
void G4WarnPLStatus::Experimental | ( | const G4String | aPL | ) | const |
Definition at line 117 of file G4WarnPLStatus.cc.
References G4cout, and G4endl.
Referenced by TFTF_BIC< T >::TFTF_BIC(), TFTFP_BERT_TRV< T >::TFTFP_BERT_TRV(), TQGS_BIC< T >::TQGS_BIC(), and TQGSP_INCLXX< T >::TQGSP_INCLXX().
00118 { 00119 G4cout << 00120 "*=====================================================================" <<G4endl << 00121 "* " <<G4endl << 00122 "* The Physics list "<<aPL<<" is an experimental physics list ! " <<G4endl << 00123 "* " <<G4endl << 00124 "* Please report your use case for, and your experience with this " <<G4endl << 00125 "* physics list on the Geant4 User Forum dedicated to physics lists: " <<G4endl << 00126 "* http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl << 00127 "* " <<G4endl << 00128 "*=====================================================================*" <<G4endl<< 00129 G4endl; 00130 }
Definition at line 54 of file G4WarnPLStatus.cc.
References G4cout, and G4endl.
Referenced by TFTFP_BERT_EMV< T >::TFTFP_BERT_EMV(), TFTFP_BERT_EMX< T >::TFTFP_BERT_EMX(), TQGSP_BERT_EMV< T >::TQGSP_BERT_EMV(), TQGSP_BERT_EMX< T >::TQGSP_BERT_EMX(), and TQGSP_BIC_EMY< T >::TQGSP_BIC_EMY().
00055 { 00056 G4cout << 00057 "*=====================================================================" <<G4endl << 00058 "* " <<G4endl << 00059 "* The Physics list "<<aPL<<", a variation of "<< basePL<< " will be " <<G4endl << 00060 "* available only via the physics list factory starting from the " <<G4endl << 00061 "* next release, Geant4 10 . " <<G4endl << 00062 "* We recommend you to replace code like " <<G4endl << 00063 "* " <<G4endl << 00064 " runManager->SetUserInitialization( new " << aPL << " ); " <<G4endl << 00065 "* " <<G4endl << 00066 "* by the following " <<G4endl << 00067 "* " <<G4endl << 00068 " G4PhysListFactory factory; " <<G4endl << 00069 " runManager->SetUserInitialization(" <<G4endl << 00070 " factory.GetReferencePhysList(\"" << aPL << "\");" <<G4endl << 00071 "* " <<G4endl << 00072 "* For more information how to use G4PhysListFactory, please refer " <<G4endl << 00073 "* to the documentation available at " <<G4endl << 00074 "* http://cern.ch/geant4/support/physicsLists/PhysListFactory.shtml " <<G4endl << 00075 "* " <<G4endl << 00076 "* We invite you to report your use case for, and your experience with" <<G4endl << 00077 "* this physics list on the Geant4 User Forum dedicated to physics " <<G4endl << 00078 "* lists: " <<G4endl << 00079 "* http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl << 00080 "* " <<G4endl << 00081 "*=====================================================================*" <<G4endl<< 00082 G4endl; 00083 //G4String txtPL; 00084 //txtPL=aPL + "::" + aPL; 00085 //G4Exception(txtPL,"PhysicsLists001", FatalException,desc); 00086 }
Definition at line 35 of file G4WarnPLStatus.cc.
References G4cout, and G4endl.
Referenced by TQGSP< T >::TQGSP().
00036 { 00037 G4cout << 00038 "*=====================================================================" <<G4endl << 00039 "* " <<G4endl << 00040 "* The Physics list "<<aPL<<" no longer exists " <<G4endl << 00041 "* We recommend you use the physics lists "<<Replacement<< "," <<G4endl << 00042 "* this offers similar functionality for most use cases " <<G4endl << 00043 "* " <<G4endl << 00044 "* " <<G4endl << 00045 "* We invite you to report your use case for, and your experience with" <<G4endl << 00046 "* this physics list on the Geant4 User Forum dedicated to physics " <<G4endl << 00047 "* lists: " <<G4endl << 00048 "* http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl << 00049 "* " <<G4endl << 00050 "*=====================================================================*" <<G4endl<< 00051 G4endl; 00052 }
Definition at line 89 of file G4WarnPLStatus.cc.
References G4cout, and G4endl.
Referenced by TCHIPS< T >::TCHIPS(), TCHIPS_HP< T >::TCHIPS_HP(), TLHEP< T >::TLHEP(), TLHEP_EMV< T >::TLHEP_EMV(), TQGSC_BERT< T >::TQGSC_BERT(), TQGSC_CHIPS< T >::TQGSC_CHIPS(), TQGSP_BERT_95< T >::TQGSP_BERT_95(), TQGSP_BERT_95XS< T >::TQGSP_BERT_95XS(), TQGSP_BERT_CHIPS< T >::TQGSP_BERT_CHIPS(), TQGSP_BERT_NOLEP< T >::TQGSP_BERT_NOLEP(), TQGSP_BERT_TRV< T >::TQGSP_BERT_TRV(), TQGSP_FTFP_BERT_95< T >::TQGSP_FTFP_BERT_95(), TQGSP_FTFP_BERT_95XS< T >::TQGSP_FTFP_BERT_95XS(), and TQGSP_QEL< T >::TQGSP_QEL().
00090 { 00091 G4cout << 00092 "*=====================================================================" <<G4endl << 00093 "* " <<G4endl << 00094 "* The Physics list "<<aPL<<" is NO LONGER SUPPORTED ! " <<G4endl << 00095 //"* and is likely to be deleted in a future release of Geant4 " <<G4endl << 00096 "* and will be deleted in the next release, Geant4 10 " <<G4endl << 00097 "* " <<G4endl; 00098 if (Replacement.size() > 0) 00099 { 00100 G4cout << 00101 "* We recommend you try the physics lists "<<Replacement<< "," <<G4endl << 00102 "* this offers similar functionality for most use cases " <<G4endl << 00103 "* " <<G4endl; 00104 00105 } 00106 G4cout << 00107 "* " <<G4endl << 00108 "* We invite you to report your use case for, and your experience with" <<G4endl << 00109 "* this physics list on the Geant4 User Forum dedicated to physics " <<G4endl << 00110 "* lists: " <<G4endl << 00111 "* http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl << 00112 "* " <<G4endl << 00113 "*=====================================================================*" <<G4endl<< 00114 G4endl; 00115 }