11 #ifndef _EIC_CONSTANT_FIELD_
12 #define _EIC_CONSTANT_FIELD_
47 mShape =
dynamic_cast<TGeoShape*
>(TGeoBBox((xMax - xMin)/2, (yMax - yMin)/2,
48 (zMax - zMin)/2).Clone());
51 mTransformation =
new TGeoTranslation((xMax + xMin)/2, (yMax + yMin)/2, (zMax + zMin)/2);
54 double bX,
double bY,
double bZ, TGeoMatrix *transformation = 0):
56 mShape =
dynamic_cast<TGeoShape*
>(TGeoBBox(xSize/2, ySize/2, zSize/2).Clone());
70 double bX,
double bY,
double bZ, TGeoMatrix *transformation = 0):
72 mShape =
dynamic_cast<TGeoShape*
>(TGeoTube(rMin, rMax, length/2).Clone());