/*
$Log$
+Revision 1.29 2001/06/07 14:42:14 barbera
+Both chip and det thicknesses set to [100,300]
+
+Revision 1.28 2001/05/31 19:24:47 barbera
+Default values of SPD detector and chip thickness set to 200 microns as defined by the Technical Board
+
+Revision 1.27 2001/05/30 16:15:47 fca
+Correct comparison wiht AliGeant3::Class() introduced. Thanks to I.Hrivnacova
+
+Revision 1.26 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
+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)
#include "AliRun.h"
#include "AliMagF.h"
#include "AliConst.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITSGeant3Geometry.h"
#include "AliITShit.h"
#include "AliITS.h"
Float_t ddet2=300.; // total detector thickness on layer 2 (micron)
Float_t dchip2=300.; // total chip thickness on layer 2 (micron)
- Float_t dbus=200.; // total bus thickness on both layers (micron)
+ Float_t dbus=300.; // total bus thickness on both layers (micron)
ddet1 = GetThicknessDet1();
ddet2 = GetThicknessDet2();
ddet2=300.;
}
- if(dchip1 < 150. || dchip1 > 300.) {
- cout << "ITS - WARNING: the chip thickness for layer 1 is outside the range of [150,300] microns."
+ if(dchip1 < 100. || dchip1 > 300.) {
+ cout << "ITS - WARNING: the chip thickness for layer 1 is outside the range of [100,300] microns."
" The default value of 300 microns will be used." << endl;
dchip1=300.;
}
- if(dchip2 < 150. || dchip2 > 300.) {
- cout << "ITS - WARNING: the chip thickness for layer 2 is outside the range of [150,300] microns."
+ if(dchip2 < 100. || dchip2 > 300.) {
+ cout << "ITS - WARNING: the chip thickness for layer 2 is outside the range of [100,300] microns."
" The default value of 300 microns will be used." << endl;
dchip2=300.;
}
// 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(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
new AliITSgeomSSD275and75(npar,par));
break;
case 6:
- fITSgeom->CreatMatrix(mod,lay,lad,det,kSSDp,t,r);
- if(!(fITSgeom->IsShapeDefined(kSSDp)))
- fITSgeom->ReSetShape(kSSDp,
+ fITSgeom->CreatMatrix(mod,lay,lad,det,kSSD,t,r);
+ if(!(fITSgeom->IsShapeDefined(kSSD)))
+ fITSgeom->ReSetShape(kSSD,
new AliITSgeomSSD75and275(npar,par));
break;
} // end switch