Print

Print


Commit in gdml2/CPPGDML/G4Binding/G4Writer/src on MAIN
G4GDMLWriter.cpp+7-71.1.1.1 -> 1.2
updates for G4 9.5

gdml2/CPPGDML/G4Binding/G4Writer/src
G4GDMLWriter.cpp 1.1.1.1 -> 1.2
diff -u -r1.1.1.1 -r1.2
--- G4GDMLWriter.cpp	13 Jul 2010 15:18:49 -0000	1.1.1.1
+++ G4GDMLWriter.cpp	1 Feb 2012 12:10:54 -0000	1.2
@@ -1,4 +1,4 @@
-// $Id: G4GDMLWriter.cpp,v 1.1.1.1 2010/07/13 15:18:49 jeremy Exp $
+// $Id: G4GDMLWriter.cpp,v 1.2 2012/02/01 12:10:54 jeremy Exp $
 // Include files
 #include <iostream>
 #include <sstream>
@@ -236,7 +236,7 @@
   G4VSolid* ts = logvol->GetSolid();
 
   if (dynamic_cast<const G4DisplacedSolid*>(ts)) 
-     G4Exception("GDML Writer: Error! Displaced solid should not be used in a logical volume!");
+     G4Exception("GDML Writer", "", FatalException, "Displaced solid should not be used in a logical volume!");
 
   strcur->addVolume(lvname,ut->name(logvol->GetMaterial()),ut->name(ts));
 
@@ -386,7 +386,7 @@
       G4VSolid* tsol = pv->GetLogicalVolume()->GetSolid();
 
       if (dynamic_cast<const G4DisplacedSolid*>(tsol))
-         G4Exception("GDML Writer: Error! Displaced solid should not be used in a logical volume!");
+         G4Exception("GDML Writer", "", FatalException, "Displaced solid should not be used in a logical volume!");
       
       G4ThreeVector pos = pv->GetObjectTranslation();
       double dx = pos.getX();
@@ -990,7 +990,7 @@
   G4VSolid* ts = logvol->GetSolid();
 
   if (dynamic_cast<const G4DisplacedSolid*>(ts)) 
-     G4Exception("GDML Writer: Error! Displaced solid should not be used in a logical volume!");
+     G4Exception("GDML Writer", "", FatalException, "Displaced solid should not be used in a logical volume!");
 
   strcur->addVolume(lvname,ut->name(logvol->GetMaterial()),ut->name(ts));
 
@@ -1140,7 +1140,7 @@
       G4VSolid* tsol = pv->GetLogicalVolume()->GetSolid();
 
       if (dynamic_cast<const G4DisplacedSolid*>(tsol)) 
-         G4Exception("GDML Writer: Error! Displaced solid should not be used in a logical volume!");
+         G4Exception("GDML Writer", "", FatalException, "Displaced solid should not be used in a logical volume!");
 
       G4ThreeVector pos = pv->GetObjectTranslation();
       double dx = pos.getX();
@@ -1269,7 +1269,7 @@
   G4VSolid* ts = logvol->GetSolid();
 
   if (dynamic_cast<const G4DisplacedSolid*>(ts)) 
-     G4Exception("GDML Writer: Error! Displaced solid should not be used in a logical volume!");
+     G4Exception("GDML Writer", "", FatalException, "Displaced solid should not be used in a logical volume!");
 
   strcur->addVolume(lvname,ut->name(logvol->GetMaterial()),ut->name(ts));
 
@@ -1429,7 +1429,7 @@
       G4VSolid* tsol = pv->GetLogicalVolume()->GetSolid();
 
       if (dynamic_cast<const G4DisplacedSolid*>(tsol)) 
-         G4Exception("GDML Writer: Error! Displaced solid should not be used in a logical volume!");
+         G4Exception("GDML Writer", "", FatalException, "Displaced solid should not be used in a logical volume!");
 
       G4ThreeVector pos = pv->GetObjectTranslation();
       double dx = pos.getX();
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1