source: trunk/source/physics_lists/builders/src/G4WarnPLStatus.cc @ 1347

Last change on this file since 1347 was 1203, checked in by garnier, 15 years ago

update CVS

File size: 5.2 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26
27#include "G4WarnPLStatus.hh"
28
29G4WarnPLStatus::G4WarnPLStatus()
30{}
31
32G4WarnPLStatus::~G4WarnPLStatus()
33{}
34
35void G4WarnPLStatus::Replaced(const G4String aPL, const G4String Replacement) const
36{
37    G4cout << 
38"*=====================================================================" <<G4endl <<
39"*                                                                     " <<G4endl <<
40"*   The Physics list "<<aPL<<" no longer exists                       " <<G4endl <<
41"*   We recommend you use the physics lists "<<Replacement<< ","         <<G4endl <<
42"*      this offers similar functionality for most use cases            " <<G4endl <<
43"*                                                                      " <<G4endl <<
44"*                                                                      " <<G4endl <<
45"*   We invite you to report your use case for, and your experience with" <<G4endl <<
46"*    this physics list on the Geant4 User Forum dedicated to physics   " <<G4endl <<
47"*    lists:                                                            " <<G4endl <<
48"*  http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl <<
49"*                                                                      " <<G4endl <<
50"*=====================================================================*" <<G4endl<<
51G4endl;   
52}
53
54void G4WarnPLStatus::Unsupported(const G4String aPL, const G4String Replacement) const
55{
56    G4cout << 
57"*=====================================================================" <<G4endl <<
58"*                                                                     " <<G4endl <<
59"*   The Physics list "<<aPL<<" is NO LONGER SUPPORTED !   " <<G4endl <<
60"*   and is likely to be deleted in a future release of Geant4             " <<G4endl <<
61"*                                                                     " <<G4endl;
62   if (Replacement.size() > 0)
63   {
64   G4cout << 
65"*    We recommend you try the physics lists "<<Replacement<< ","         <<G4endl <<
66"*      this offers similar functionality for most use cases            " <<G4endl <<
67"*                                                                      " <<G4endl;
68   
69   }
70   G4cout << 
71"*                                                                      " <<G4endl <<
72"*   We invite you to report your use case for, and your experience with" <<G4endl <<
73"*    this physics list on the Geant4 User Forum dedicated to physics   " <<G4endl <<
74"*    lists:                                                            " <<G4endl <<
75"*  http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl <<
76"*                                                                      " <<G4endl <<
77"*=====================================================================*" <<G4endl<<
78G4endl;   
79}
80
81void G4WarnPLStatus::Experimental(const G4String aPL) const
82{
83    G4cout << 
84"*=====================================================================" <<G4endl <<
85"*                                                                     " <<G4endl <<
86"*   The Physics list "<<aPL<<" is an experimental physics list !   " <<G4endl <<
87"*                                                                      " <<G4endl <<
88"*   Please  report your use case for, and your experience with this    " <<G4endl <<
89"*    physics list on the Geant4 User Forum dedicated to physics lists: " <<G4endl <<
90"*  http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html"<<G4endl <<
91"*                                                                      " <<G4endl <<
92"*=====================================================================*" <<G4endl<<
93G4endl;   
94}
Note: See TracBrowser for help on using the repository browser.