1 ////////////////////////////////////////////////
3 ////////////////////////////////////////////////
9 #include "AliFRAMEv0.h"
17 //_____________________________________________________________________________
18 AliFRAMEv0::AliFRAMEv0()
22 //_____________________________________________________________________________
23 AliFRAMEv0::AliFRAMEv0(const char *name, const char *title)
24 : AliFRAME(name,title)
26 printf("Create FRAMEv0 object\n");
27 fEuclidGeometry="$(ALICE_ROOT)/Euclid/frame0399.euc";
28 fEuclidMaterial="$(ALICE_ROOT)/Euclid/frame.tme";
32 //___________________________________________
33 void AliFRAMEv0::CreateGeometry()
37 <img src="picts/frame.gif">
44 <img src="picts/tree_frame.gif">
53 filetmp = gSystem->ExpandPathName(fEuclidGeometry.Data());
54 FILE *file = fopen(filetmp,"r");
58 printf(" Reading FRAME geometry\n");
59 gAlice->ReadEuclid(fEuclidGeometry.Data(),this,topvol);
61 Warning("CreateGeometry","The Euclid file %s does not exist!\n",
62 fEuclidGeometry.Data());
66 // --- Place the FRAME ghost volume (B010) in its mother volume (ALIC)
67 // and make it invisible
69 // AliMatrix(idrotm[2001],90.,0.,90.,90.,180.,0.);
71 gMC->Gspos(topvol,1,"ALIC",0,0,0,0,"ONLY");
73 gMC->Gsatt(topvol, "SEEN", 0);
77 //___________________________________________
78 void AliFRAMEv0::CreateMaterials()
81 printf("Create FRAMEv0 materials\n");
82 filetmp = gSystem->ExpandPathName(fEuclidMaterial.Data());
83 FILE *file = fopen(filetmp,"r");
87 gAlice->ReadEuclidMedia(fEuclidMaterial.Data(),this);
89 Warning("CreateMaterials","The material file %s does not exist!\n",
90 fEuclidMaterial.Data());