* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.10 1999/10/06 20:56:55 fca
-Introducing new frame 1099
-
-Revision 1.9 1999/09/29 09:24:30 fca
-Introduction of the Copyright and cvs Log
+/* $Id$ */
-*/
-
-////////////////////////////////////////////////
-// space frame class /
-////////////////////////////////////////////////
+//-------------------------------------------------------------------------
+// Space frame class
+// Reads the geometry from an Euclid file
+// Author: A.Morsch
+//-------------------------------------------------------------------------
#include "AliFRAMEv0.h"
#include "AliRun.h"
#include "TSystem.h"
+#include <TVirtualMC.h>
ClassImp(AliFRAMEv0)
//_____________________________________________________________________________
AliFRAMEv0::AliFRAMEv0()
{
+// Constructor
}
//_____________________________________________________________________________
AliFRAMEv0::AliFRAMEv0(const char *name, const char *title)
: AliFRAME(name,title)
{
+// Constructor
printf("Create FRAMEv0 object\n");
fEuclidGeometry="$(ALICE_ROOT)/Euclid/frame1099h.euc";
fEuclidMaterial="$(ALICE_ROOT)/Euclid/frame.tme";
if(file) {
fclose(file);
printf(" Reading FRAME geometry\n");
- gAlice->ReadEuclid(fEuclidGeometry.Data(),this,topvol);
+ ReadEuclid(fEuclidGeometry.Data(),topvol);
} else {
Warning("CreateGeometry","The Euclid file %s does not exist!\n",
fEuclidGeometry.Data());
//___________________________________________
void AliFRAMEv0::CreateMaterials()
{
+// Create Geant materials
+//
char *filetmp;
printf("Create FRAMEv0 materials\n");
filetmp = gSystem->ExpandPathName(fEuclidMaterial.Data());
delete [] filetmp;
if(file) {
fclose(file);
- gAlice->ReadEuclidMedia(fEuclidMaterial.Data(),this);
+ ReadEuclidMedia(fEuclidMaterial.Data());
} else {
Warning("CreateMaterials","The material file %s does not exist!\n",
fEuclidMaterial.Data());
" FRAME "
"**************************************\n");
printf("\n Version 0 of FRAME initialised, "
- "with openings for PHOS and RICH\n\n");
+ "with openings for PHOS and HMPID\n\n");
printf("**************************************"
" FRAME "
"**************************************\n");