1 ///////////////////////////////////////////////////////////////////////////////
4 // This class contains the basic functions for the Time Of Flight //
5 // detector. Functions specific to one particular geometry are //
6 // contained in the derived classes //
10 <img src="picts/AliTOFClass.gif">
15 ///////////////////////////////////////////////////////////////////////////////
27 //_____________________________________________________________________________
31 // Default constructor
36 //_____________________________________________________________________________
37 AliTOF::AliTOF(const char *name, const char *title)
38 : AliDetector(name,title)
41 // AliTOF standard constructor
43 fHits = new TClonesArray("AliTOFhit", 405);
51 // Check that FRAME is there otherwise we have no place where to
53 AliModule* FRAME=gAlice->GetModule("FRAME");
55 Error("Ctor","TOF needs FRAME to be present\n");
60 //_____________________________________________________________________________
61 void AliTOF::AddHit(Int_t track, Int_t *vol, Float_t *hits)
66 TClonesArray &lhits = *fHits;
67 new(lhits[fNhits++]) AliTOFhit(fIshunt,track,vol,hits);
70 //_____________________________________________________________________________
71 void AliTOF::BuildGeometry()
74 // Build TOF ROOT geometry for the ALICE event viewver
77 const int kColorTOF = 27;
80 Top=gAlice->GetGeometry()->GetNode("alice");
82 // Define rotation matrixes
83 new TRotMatrix("rot501","rot501",90,-20,90,90-20,0,0);
84 new TRotMatrix("rot502","rot502",90,-40,90,90-40,0,0);
85 new TRotMatrix("rot503","rot503",90,-60,90,90-60,0,0);
86 new TRotMatrix("rot504","rot504",90,-80,90,90-80,0,0);
87 new TRotMatrix("rot505","rot505",90,-100,90,90-100,0,0);
88 new TRotMatrix("rot506","rot506",90,-120,90,90-120,0,0);
89 new TRotMatrix("rot507","rot507",90,-140,90,90-140,0,0);
90 new TRotMatrix("rot508","rot508",90,-160,90,90-160,0,0);
91 new TRotMatrix("rot509","rot509",90,-180,90,90-180,0,0);
92 new TRotMatrix("rot510","rot510",90,-200,90,90-200,0,0);
93 new TRotMatrix("rot511","rot511",90,-220,90,90-220,0,0);
94 new TRotMatrix("rot512","rot512",90,-240,90,90-240,0,0);
95 new TRotMatrix("rot513","rot513",90,-260,90,90-260,0,0);
96 new TRotMatrix("rot514","rot514",90,-280,90,90-280,0,0);
97 new TRotMatrix("rot515","rot515",90,-300,90,90-300,0,0);
98 new TRotMatrix("rot516","rot516",90,-320,90,90-320,0,0);
99 new TRotMatrix("rot517","rot517",90,-340,90,90-340,0,0);
100 new TRotMatrix("rot518","rot518",90,-360,90,90-360,0,0);
102 // Position the different copies
103 const Float_t rtof=(399+370)/2;
105 const Float_t angle=2*kPI/ntof;
108 // Define TOF basic volume
109 new TBRIK("S_TOF1","TOF box","void",130/2,29/2,190.);
114 Node = new TNode("FTO002","FTO02","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot502");
115 Node->SetLineColor(kColorTOF);
119 Node = new TNode("FTO102","FTO102","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot502");
120 Node->SetLineColor(kColorTOF);
126 Node = new TNode("FTO003","FTO003","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot503");
127 Node->SetLineColor(kColorTOF);
131 Node = new TNode("FTO103","FTO103","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot503");
132 Node->SetLineColor(kColorTOF);
138 Node = new TNode("FTO004","FTO004","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot504");
139 Node->SetLineColor(kColorTOF);
143 Node = new TNode("FTO104","FTO104","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot504");
144 Node->SetLineColor(kColorTOF);
150 Node = new TNode("FTO005","FTO005","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot505");
151 Node->SetLineColor(kColorTOF);
155 Node = new TNode("FTO105","FTO105","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot505");
156 Node->SetLineColor(kColorTOF);
162 Node = new TNode("FTO006","FTO006","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot506");
163 Node->SetLineColor(kColorTOF);
167 Node = new TNode("FTO106","FTO106","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot506");
168 Node->SetLineColor(kColorTOF);
174 Node = new TNode("FTO012","FTO012","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot512");
175 Node->SetLineColor(kColorTOF);
179 Node = new TNode("FTO112","FTO112","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot512");
180 Node->SetLineColor(kColorTOF);
186 Node = new TNode("FTO013","FTO013","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot513");
187 Node->SetLineColor(kColorTOF);
191 Node = new TNode("FTO113","FTO113","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot513");
192 Node->SetLineColor(kColorTOF);
198 Node = new TNode("FTO014","FTO04","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot514");
199 Node->SetLineColor(kColorTOF);
203 Node = new TNode("FTO114","FTO114","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot514");
204 Node->SetLineColor(kColorTOF);
210 Node = new TNode("FTO015","FTO015","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot515");
211 Node->SetLineColor(kColorTOF);
215 Node = new TNode("FTO115","FTO115","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot515");
216 Node->SetLineColor(kColorTOF);
222 Node = new TNode("FTO016","FTO016","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),190,"rot516");
223 Node->SetLineColor(kColorTOF);
227 Node = new TNode("FTO116","FTO116","S_TOF1",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-190,"rot516");
228 Node->SetLineColor(kColorTOF);
232 // Define second TOF volume
233 new TBRIK("S_TOF2","TOF box","void",130/2,29/2,170.);
235 // Position the volume
238 Node = new TNode("FTO007","FTO007","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-170),"rot507");
239 Node->SetLineColor(kColorTOF);
243 Node = new TNode("FTO107","FTO107","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-170),"rot507");
244 Node->SetLineColor(kColorTOF);
250 Node = new TNode("FTO008","FTO008","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-170),"rot508");
251 Node->SetLineColor(kColorTOF);
255 Node = new TNode("FTO108","FTO108","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-170),"rot508");
256 Node->SetLineColor(kColorTOF);
262 Node = new TNode("FTO009","FTO009","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-170),"rot509");
263 Node->SetLineColor(kColorTOF);
267 Node = new TNode("FTO109","FTO109","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-170),"rot509");
268 Node->SetLineColor(kColorTOF);
274 Node = new TNode("FTO010","FTO010","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-170),"rot510");
275 Node->SetLineColor(kColorTOF);
279 Node = new TNode("FTO110","FTO110","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-170),"rot510");
280 Node->SetLineColor(kColorTOF);
286 Node = new TNode("FTO011","FTO011","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-170),"rot511");
287 Node->SetLineColor(kColorTOF);
291 Node = new TNode("FTO111","FTO111","S_TOF2",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-170),"rot511");
292 Node->SetLineColor(kColorTOF);
296 // Define third TOF volume
297 new TBRIK("S_TOF3","TOF box","void",130/2.,29/2,75.);
302 Node = new TNode("FTO001","FTO001","S_TOF3",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-75),"rot501");
303 Node->SetLineColor(kColorTOF);
307 Node = new TNode("FTO101","FTO101","S_TOF3",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-75),"rot501");
308 Node->SetLineColor(kColorTOF);
314 Node = new TNode("FTO017","FTO017","S_TOF3",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-75),"rot517");
315 Node->SetLineColor(kColorTOF);
319 Node = new TNode("FTO117","FTO117","S_TOF3",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-75),"rot517");
320 Node->SetLineColor(kColorTOF);
326 Node = new TNode("FTO018","FTO018","S_TOF3",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),(2*190-75),"rot518");
327 Node->SetLineColor(kColorTOF);
331 Node = new TNode("FTO118","FTO118","S_TOF3",rtof*TMath::Cos(ang),rtof*TMath::Sin(ang),-(2*190-75),"rot518");
332 Node->SetLineColor(kColorTOF);
336 //_____________________________________________________________________________
337 void AliTOF::CreateGeometry()
340 // Common geometry code
344 <img src="picts/AliTOFv23.gif">
349 const Double_t kPi=TMath::Pi();
350 const Double_t kDegrad=kPi/180;
353 Float_t xtof, ytof, fil_step;
354 Float_t zcor1, zcor2, zcor3;
355 Float_t ztof0, ztof1, ztof2;
356 Float_t zl, rmin, rmax, xm, ym, dwall;
358 Float_t zm0, zm1, zm2;
361 Int_t *idtmed = fIdtmed->GetArray()-499;
363 // barrel iner radius
365 // barrel outer radius
367 // barrel length along Z axis
368 zl = (rmin+2/*distance to sencetive layer*/+7/2)*2;
370 // frame inbetween TOF modules
372 // Sizes of TOF module with its support etc..
373 xtof = 2 * (rmin*TMath::Tan(10*kDegrad)-dwall/2-.5);
376 // Is it full coverage version (3) or not
377 if (IsVersion() != 3) {
378 ztof1 = ztof0-rmax*TMath::Tan(7.8*kDegrad); // minus Z size of PHOS
379 ztof2 = ztof0-rmax*TMath::Tan(54.34/2*kDegrad); // minus Z size of HMPID;
384 // Number of TOF-modules
388 //Some imitation of TRD
392 gMC->Gsvolu("FTRD", "TUBE", idtmed[510], par, 3);
393 gMC->Gspos("FTRD", 1, "ALIC", 0., 0., 0., 0, "ONLY");
405 gMC->Gsvolu("FBAR", "PGON", idtmed[500], par, 10);
406 gMC->Gspos("FBAR", 1, "ALIC", 0., 0., 0., 0, "ONLY");
413 gMC->Gsvolu("FTO1", "BOX ", idtmed[506], par, 3);
415 gMC->Gsvolu("FTO2", "BOX ", idtmed[506], par, 3);
417 gMC->Gsvolu("FTO3", "BOX ", idtmed[506], par, 3);
421 par[1]=(rmax-rmin)/2.;
423 gMC->Gsvolu("FFR1", "BOX ", idtmed[508], par, 3);
424 gMC->Gsatt("FFR1", "SEEN", -2);
426 gMC->Gsvolu("FFR2", "BOX ", idtmed[508], par, 3);
427 gMC->Gsatt("FFR2", "SEEN", -2);
429 gMC->Gsvolu("FFR2", "BOX ", idtmed[508], par, 3);
430 gMC->Gsatt("FFR2", "SEEN", -2);
433 // Subtraction the distanse to TOF module boundaries
434 xm = xtof -(.5 +.5)*2;
440 /////////////// TOF module internal definitions //////////////
441 TOFpc(xm, ym, zm0, zm1, zm2);
442 /////////////////////////////////////////////////////////////
444 // Position of modules
445 fil_step = 360./lmax;
447 zcor2 = ztof0 - ztof1 / 2.;
448 zcor3 = ztof0 - ztof2 / 2.;
450 for (i = 1; i <= lmax; ++i) {
452 xcor2 = (rmin+rmax)/2 * TMath::Sin(fil1 * kDegrad);
453 ycor2 = (rmin+rmax)/2 * TMath::Cos(fil1 * kDegrad);
455 AliMatrix(idrotm[i], 90., -fil1, 90., 90. -fil1, 0., 0.);
456 if (i>=7 && i<=11) { // free space for PHOS
457 // if (fil1 >= 180-50 && fil1 <= 180+50) {
458 gMC->Gspos("FTO2", i, "FBAR", xcor2, ycor2, zcor2, idrotm[i], "ONLY");
459 gMC->Gspos("FTO2", lmax1, "FBAR", xcor2, ycor2, -zcor2, idrotm[i], "ONLY");
460 } else if (i>=17 || i==1) { // free space for RICH
461 // } else if (fil1 <= 30 || fil1 >= 360. - 30) {
462 gMC->Gspos("FTO3", i, "FBAR", xcor2, ycor2, zcor3, idrotm[i], "ONLY");
463 gMC->Gspos("FTO3", lmax1, "FBAR", xcor2, ycor2, -zcor3, idrotm[i], "ONLY");
465 gMC->Gspos("FTO1", i, "FBAR", xcor2, ycor2, zcor1, idrotm[i], "ONLY");
466 gMC->Gspos("FTO1", lmax1, "FBAR", xcor2, ycor2, -zcor1, idrotm[i], "ONLY");
470 AliMatrix(idrotm[0], 90., 0., 0., 0., 90, -90.);
471 gMC->Gspos("FTO2", 1, "BTO2", 0, zcor2, 0, idrotm[0], "ONLY");
472 gMC->Gspos("FTO2", 2, "BTO2", 0, -zcor2, 0, idrotm[0], "ONLY");
474 gMC->Gspos("FTO3", 1, "BTO3", 0, zcor3, 0, idrotm[0], "ONLY");
475 gMC->Gspos("FTO3", 2, "BTO3", 0, -zcor3, 0, idrotm[0], "ONLY");
477 gMC->Gspos("FTO1", 1, "BTO1", 0, zcor1, 0, idrotm[0], "ONLY");
478 gMC->Gspos("FTO1", 2, "BTO1", 0, -zcor1, 0, idrotm[0], "ONLY");
481 //_____________________________________________________________________________
482 void AliTOF::DrawModule()
485 // Draw a shaded view of the common part of the TOF geometry
488 cout << " Drawing of AliTOF"<< endl;
489 // Set everything unseen
490 gMC->Gsatt("*", "seen", -1);
492 // Set ALIC mother transparent
493 gMC->Gsatt("ALIC","SEEN",0);
495 // Set the volumes visible
496 gMC->Gsatt("FBAR","SEEN",0);
497 gMC->Gsatt("FTO1","SEEN",1);
498 gMC->Gsatt("FTO2","SEEN",1);
499 gMC->Gsatt("FTO3","SEEN",1);
500 gMC->Gsatt("FBT1","SEEN",1);
501 gMC->Gsatt("FBT2","SEEN",1);
502 gMC->Gsatt("FBT3","SEEN",1);
503 gMC->Gsatt("FLT1","SEEN",1);
504 gMC->Gsatt("FLT2","SEEN",1);
505 gMC->Gsatt("FLT3","SEEN",1);
507 gMC->Gdopt("hide", "on");
508 gMC->Gdopt("shad", "on");
509 gMC->Gsatt("*", "fill", 7);
510 gMC->SetClipBox(".");
511 gMC->SetClipBox("*", 0, 1000, -1000, 1000, -1000, 1000);
513 gMC->Gdraw("alic", 40, 30, 0, 12, 9.5, .02, .02);
514 gMC->Gdhead(1111, "Time Of Flight");
515 gMC->Gdman(18, 4, "MAN");
516 gMC->Gdopt("hide","off");
519 //_____________________________________________________________________________
520 void AliTOF::CreateMaterials()
523 // Defines TOF materials for all versions
524 // Authors : Maxim Martemianov, Boris Zagreev (ITEP) 18/09/98
526 Int_t ISXFLD = gAlice->Field()->Integ();
527 Float_t SXMGMX = gAlice->Field()->Max();
530 Float_t aq[2] = { 28.0855,15.9994 };
531 Float_t zq[2] = { 14.,8. };
532 Float_t wq[2] = { 1.,2. };
536 Float_t afre[2] = { 12.011,18.9984032 };
537 Float_t zfre[2] = { 6.,9. };
538 Float_t wfre[2] = { 5.,12. };
539 Float_t densfre = 1.5;
542 Float_t ac[2] = { 12.,16. };
543 Float_t zc[2] = { 6.,8. };
544 Float_t wc[2] = { 1.,2. };
545 Float_t dc = .001977;
547 // For mylar (C5H4O2)
548 Float_t amy[3] = { 12., 1., 16. };
549 Float_t zmy[3] = { 6., 1., 8. };
550 Float_t wmy[3] = { 5., 4., 2. };
553 // For polyethilene (CH2) for honeycomb!!!!
554 Float_t ape[2] = { 12., 1. };
555 Float_t zpe[2] = { 6., 1. };
556 Float_t wpe[2] = { 1., 2. };
557 Float_t dpe = 0.935*0.479; //To have 1%X0 for 1cm as for honeycomb
560 Float_t ag10[4] = { 12.,1.,16.,28. };
561 Float_t zg10[4] = { 6.,1.,8.,14. };
562 Float_t wmatg10[4] = { .259,.288,.248,.205 };
563 Float_t densg10 = 1.7;
566 Float_t adme[5] = { 12.,1.,16.,19.,79. };
567 Float_t zdme[5] = { 6.,1.,8.,9.,35. };
568 Float_t wmatdme[5] = { .4056,.0961,.2562,.1014,.1407 };
569 Float_t densdme = .00205;
571 // ---- ALUMINA (AL203)
572 Float_t aal[2] = { 27.,16. };
573 Float_t zal[2] = { 13.,8. };
574 Float_t wmatal[2] = { 2.,3. };
575 Float_t densal = 2.3;
578 Float_t awa[2] = { 1., 16. };
579 Float_t zwa[2] = { 1., 8. };
580 Float_t wwa[2] = { 2., 1. };
585 //AliMaterial(0, "Vacuum$", 1e-16, 1e-16, 1e-16, 1e16, 1e16);
586 AliMaterial(1, "Air$",14.61,7.3,0.001205,30423.24,67500.);
587 AliMaterial(2, "Cu $", 63.54, 29.0, 8.96, 1.43, 14.8);
588 AliMaterial(3, "C $", 12.01, 6.0, 2.265,18.8, 74.4);
589 AliMixture(4, "Polyethilene$", ape, zpe, dpe, npe, wpe);
590 AliMixture(5, "G10$", ag10, zg10, densg10, nlmatg10, wmatg10);
591 AliMixture(6, "DME ", adme, zdme, densdme, nlmatdme, wmatdme);
592 AliMixture(7, "CO2$", ac, zc, dc, nc, wc);
593 AliMixture(8, "ALUMINA$", aal, zal, densal, nlmatal, wmatal);
594 AliMaterial(9, "Al $", 26.98, 13., 2.7, 8.9, 37.2);
595 // (TRD simulation) thickness = 69.282cm/18.8cm = 3.685 X/X0
596 // AliMaterial(10, "C-TRD$", 12.01, 6., 2.265*18.8/69.282*10.2/100, 18.8, 74.4); // for 10.2%
597 AliMaterial(10, "C-TRD$", 12.01, 6., 2.265*18.8/69.282*15./100, 18.8, 74.4); // for 15%
598 // AliMaterial(10, "C-TRD$", 12.01, 6., 2.265*18.8/69.282*20./100, 18.8, 74.4); // for 20%
599 AliMixture(11, "Mylar$", amy, zmy, dmy, nmy, wmy);
600 AliMixture(12, "Freon$", afre, zfre, densfre, nfre, wfre);
601 AliMixture(13, "Quartz$", aq, zq, dq, nq, wq);
602 AliMixture(14, "Water$", awa, zwa, dwa, nwa, wwa);
604 Float_t epsil, stmin, deemax, stemax;
606 // EPSIL = 0.1 ! Tracking precision,
607 // STEMAX = 0.1 ! Maximum displacement for multiple scattering
608 // DEEMAX = 0.1 ! Maximum fractional energy loss, DLS
615 // AliMedium(0, "Vacuum $", 0, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
616 AliMedium(1, "Air$", 1, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
617 AliMedium(2, "Cu $", 2, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
618 AliMedium(3, "C $", 3, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
619 AliMedium(4, "Pol$", 4, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
620 AliMedium(5, "G10$", 5, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
621 AliMedium(6, "DME$", 6, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
622 AliMedium(7, "CO2$", 7, 0, ISXFLD, SXMGMX, 10., -.01, -.1, .01, -.01);
623 AliMedium(8, "ALUMINA$", 8, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
624 AliMedium(9, "Al Frame$", 9, 0, ISXFLD, SXMGMX, 10, stemax, deemax, epsil, stmin);
625 AliMedium(10, "DME-S$", 6, 1, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
626 AliMedium(11, "C-TRD$", 10, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
627 AliMedium(12, "Myl$", 11, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
628 AliMedium(13, "Fre$", 12, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
629 AliMedium(14, "Fre-S$", 12, 1, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
630 AliMedium(15, "Glass$", 13, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
631 AliMedium(16, "Water$", 14, 0, ISXFLD, SXMGMX, 10., stemax, deemax, epsil, stmin);
634 //_____________________________________________________________________________
635 Int_t AliTOF::DistancetoPrimitive(Int_t , Int_t )
638 // Returns distance from mouse pointer to detector, default version
643 //_____________________________________________________________________________
647 // Initialise TOF detector after it has been built
652 for(i=0;i<35;i++) printf("*");
653 printf(" TOF_INIT ");
654 for(i=0;i<35;i++) printf("*");
656 cout << "TOF version " << IsVersion() <<" initialized" << endl;
658 // Set id of TOF sensitive volume
659 if (IsVersion() !=0) fIdSens=gMC->VolId("FPG0");
661 for(i=0;i<80;i++) printf("*");
668 //___________________________________________
669 AliTOFhit::AliTOFhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
676 for (i=0;i<3;i++) fVolume[i] = vol[i];