- Timestamp:
- Nov 27, 2009, 11:46:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/include/G4WarnPLStatus.hh
r825 r1203 27 27 #define G4WarnPLStatus_hh 28 28 29 #include " G4String.hh"29 #include "globals.hh" 30 30 31 31 class G4WarnPLStatus … … 33 33 public: 34 34 G4WarnPLStatus(); 35 ~G4WarnPLStatus(); 36 37 void Replaced(const G4String aPL, const G4String Replacement) const ; 35 38 void Unsupported(const G4String aPL, const G4String Replacement ="") const ; 36 39 void Experimental(const G4String aPL) const ; 37 40 }; 38 41 39 inline40 G4WarnPLStatus::G4WarnPLStatus()41 {}42 43 inline44 void G4WarnPLStatus::Unsupported(const G4String aPL, const G4String Replacement) const45 {46 G4cout <<47 "*=====================================================================" <<G4endl <<48 "* " <<G4endl <<49 "* The Physics list "<<aPL<<" is NO LONGER SUPPORTED ! " <<G4endl <<50 "* and is likely to be deleted in a future release of Geant4 " <<G4endl <<51 "* " <<G4endl;52 if (Replacement.size() > 0)53 {54 G4cout <<55 "* We recommend you try the physics lists "<<Replacement<< "," <<G4endl <<56 "* this offers similar functionality for most use cases " <<G4endl <<57 "* " <<G4endl;58 59 }60 G4cout <<61 "* " <<G4endl <<62 "* We invite you to report your use case for, and your experience with" <<G4endl <<63 "* this physics list on the Geant4 User Forum dedicated to physics " <<G4endl <<64 "* lists: " <<G4endl <<65 "* http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/phys-list.html"<<G4endl <<66 "* " <<G4endl <<67 "*=====================================================================*" <<G4endl<<68 G4endl;69 }70 void G4WarnPLStatus::Experimental(const G4String aPL) const71 {72 G4cout <<73 "*=====================================================================" <<G4endl <<74 "* " <<G4endl <<75 "* The Physics list "<<aPL<<" is an experimental physics list ! " <<G4endl <<76 "* " <<G4endl <<77 "* Please report your use case for, and your experience with this " <<G4endl <<78 "* physics list on the Geant4 User Forum dedicated to physics lists: " <<G4endl <<79 "* http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/phys-list.html"<<G4endl <<80 "* " <<G4endl <<81 "*=====================================================================*" <<G4endl<<82 G4endl;83 }84 85 42 #endif
Note: See TracChangeset
for help on using the changeset viewer.