]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSvPPRsymm.cxx
Strings compared instead of pointers
[u/mrichter/AliRoot.git] / ITS / AliITSvPPRsymm.cxx
index 8c98fd26f660ce3bffa5afa3b8344888c13f735b..1081f36b48be220d0a938f0e2f823cbed91324f7 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.25  2001/05/30 14:04:31  hristov
+Dynamic cast replaced (F.Carminati)
+
 Revision 1.24  2001/05/25 15:59:59  morsch
 Overlaps corrected. (R. Barbera)
 
@@ -4709,7 +4712,7 @@ void AliITSvPPRsymm::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;