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");
30 //___________________________________________
31 void AliFRAMEv0::CreateGeometry()
33 printf("Create FRAMEv0 geometry ");
36 <img src="gif/frame.gif">
43 <img src="gif/tree_frame.gif">
47 AliMC* pMC=AliMC::GetMC();
49 const char *framename = "$(ALICE_ROOT)/Euclid/frame0399.euc";
51 printf("Create FRAMEv0 geometry ");
55 filetmp = gSystem->ExpandPathName(framename);
56 FILE *file = fopen(filetmp,"r");
60 printf(" Reading FRAME \n");
61 gAlice->ReadEuclid(framename,12,topvol);
63 printf(" THE GEOM FILE %s DOES NOT EXIST !\n",framename);
67 // --- Place the FRAME ghost volume (B010) in its mother volume (ALIC)
68 // and make it invisible
70 // AliMatrix(idrotm[2001],90.,0.,90.,90.,180.,0.);
72 pMC->Gspos("B010",1,"ALIC",0,0,0,0,"ONLY");
74 pMC->Gsatt("B010", "SEEN", 0);
78 //___________________________________________
79 void AliFRAMEv0::CreateMaterials()
82 printf("Create FRAMEv0 materials");
83 const char *name = "$(ALICE_ROOT)/Euclid/frame.tme";
84 filetmp = gSystem->ExpandPathName(name);
85 FILE *file = fopen(filetmp,"r");
89 gAlice->ReadEuclidMedia(name,12);
91 printf(" THE MEDIA FILE %s DOES NOT EXIST !\n",name);