Ignore:
Timestamp:
Nov 27, 2009, 11:46:04 AM (15 years ago)
Author:
garnier
Message:

update CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/physics_lists/builders/include/G4WarnPLStatus.hh

    r825 r1203  
    2727#define  G4WarnPLStatus_hh
    2828
    29 #include "G4String.hh"
     29#include "globals.hh"
    3030
    3131class  G4WarnPLStatus
     
    3333public:
    3434  G4WarnPLStatus();
     35  ~G4WarnPLStatus();
     36
     37  void Replaced(const G4String aPL, const G4String Replacement) const ;
    3538  void Unsupported(const G4String aPL, const G4String Replacement ="") const ;
    3639  void Experimental(const G4String aPL) const ;
    3740};
    3841
    39 inline
    40 G4WarnPLStatus::G4WarnPLStatus()
    41 {}
    42 
    43 inline
    44 void G4WarnPLStatus::Unsupported(const G4String aPL, const G4String Replacement) const
    45 {
    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) const
    71 {
    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 
    8542#endif
Note: See TracChangeset for help on using the changeset viewer.