]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv5symm.cxx
Merging the VirtualMC branch to the main development branch (HEAD)
[u/mrichter/AliRoot.git] / ITS / AliITSv5symm.cxx
index fb55d851f0638b809c22fa5f3886e540c4a5fced..2160e1b641925d8861f8a75cffbd544f51303da3 100644 (file)
 
 /*
 $Log$
+Revision 1.13.10.2  2002/08/30 15:45:54  alibrary
+Adding geant4vmc support
+
+Revision 1.13.10.1  2002/06/10 17:51:15  hristov
+Merged with v3-08-02
+
+Revision 1.13  2001/05/30 16:15:47  fca
+Correct comparison wiht AliGeant3::Class() introduced. Thanks to I.Hrivnacova
+
 Revision 1.12  2001/05/30 15:55:35  hristov
 Strings compared instead of pointers
 
@@ -123,7 +132,6 @@ Introduction of the Copyright and cvs Log
 
 #include "AliMC.h"
 #include "AliRun.h"
-#include "AliGeant3.h"
 #include "AliITShit.h"
 #include "AliITSGeant3Geometry.h"
 #include "AliITS.h"
@@ -648,7 +656,8 @@ void AliITSv5symm::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()!=AliGeant3::Class()) {
+//    if(gMC->IsA()!=TGeant3::Class()) {
+    if(strcmp(gMC->GetName(),"TGeant3")) {
        Error("InitAliITSgeom",
                "Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
        return;