/*
$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
#include "AliMC.h"
#include "AliRun.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITShit.h"
#include "AliITSGeant3Geometry.h"
#include "AliITS.h"
// 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;