]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv5asymm.cxx
Strings compared instead of pointers
[u/mrichter/AliRoot.git] / ITS / AliITSv5asymm.cxx
index 8a338f69adc1f445d02a4365cac564dad9da6861..92ccd97d0d607e7d8fcbf7189365e9fa2a9a0305 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+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)
 
@@ -659,7 +662,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(gMC->IsA()!=TGeant3::Class()) {
+    if(strcmp(gMC->GetName(),"TGeant3")) {
        Error("InitAliITSgeom",
                "Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
        return;