]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv5asymm.cxx
Minor corrections after big transformer changes
[u/mrichter/AliRoot.git] / ITS / AliITSv5asymm.cxx
index 5e23b33090323206bec6fc4d00508d74dc3017d8..9df005409826764f945648837afd4f142b2d4ad7 100644 (file)
 
 /*
 $Log$
+Revision 1.17  2001/05/30 15:55:35  hristov
+Strings compared instead of pointers
+
+Revision 1.16  2001/05/30 14:04:31  hristov
+Dynamic cast replaced (F.Carminati)
+
+Revision 1.15  2001/05/25 06:47:16  hristov
+Bug fix in the creation of the AliITSgeom::fShape entry for SPD. Now there is both a proper shape entry and a default, should there be future changes. This bug was related to fMinorVersion=3 was not antisipated. (B.Nilsen)
+
 Revision 1.14  2001/05/16 14:57:16  alibrary
 New files for folders and Stack
 
@@ -130,7 +139,7 @@ Introduction of the Copyright and cvs Log
 
 #include "AliMC.h"
 #include "AliRun.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
 #include "AliITShit.h"
 #include "AliITSGeant3Geometry.h"
 #include "AliITS.h"
@@ -656,7 +665,7 @@ void AliITSv5asymm::InitAliITSgeom(){
 //     Based on the geometry tree defined in Geant 3.21, this
 // routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
 // sturture.
-    if(!(dynamic_cast<TGeant3*>(gMC))) {
+    if(gMC->IsA()!=AliGeant3::Class()) {
        Error("InitAliITSgeom",
                "Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
        return;