/*
$Log$
+Revision 1.13.8.2 2002/08/30 15:45:56 alibrary
+Adding geant4vmc support
+
+Revision 1.13.8.1 2002/06/10 17:51:17 hristov
+Merged with v3-08-02
+
+Revision 1.13 2001/10/01 19:34:09 nilsen
+Fixed a bug in asigning detector types in SetDefaults under SSD layer 6.
+
+Revision 1.12 2001/08/24 21:04:36 nilsen
+Added some include files. Needed due to new forward declorations in other
+files
+
Revision 1.11 2001/05/30 16:15:47 fca
Correct comparison wiht AliGeant3::Class() introduced. Thanks to I.Hrivnacova
#include "AliMC.h"
#include "AliRun.h"
-#include "AliGeant3.h"
#include "AliITSGeant3Geometry.h"
#include "AliITShit.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(gMC->IsA()!=AliGeant3::Class()) {
+// if(gMC->IsA()!=TGeant3::Class()) {
+ if(strcmp(gMC->GetName(),"TGeant3")) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
fITSgeom->ReSetShape(kSSD,new AliITSgeomSSD275and75());
break;
case 6:
- fITSgeom->CreatMatrix(mod,lay,lad,det,kSSDp,t,r);
- if(!(fITSgeom->IsShapeDefined(kSSDp)))
- fITSgeom->ReSetShape(kSSDp,new AliITSgeomSSD75and275());
+ fITSgeom->CreatMatrix(mod,lay,lad,det,kSSD,t,r);
+ if(!(fITSgeom->IsShapeDefined(kSSD)))
+ fITSgeom->ReSetShape(kSSD,new AliITSgeomSSD75and275());
break;
} // end switch
} // end for det