2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 void hits_from_label(Int_t label=0, TEveElement* cont)
12 TEveUtil::LoadMacro("its_hits.C");
15 //PH The line below is replaced waiting for a fix in Root
16 //PH which permits to use variable siza arguments in CINT
17 //PH on some platforms (alphalinuxgcc, solariscc5, etc.)
18 //PH h = its_hits("fX:fY:fZ", Form("ITS.fTrack==%d", label));
20 sprintf(form,"ITS.fTrack==%d", label);
21 h = its_hits("fX:fY:fZ", form, cont);
22 if (h) h->SetMarkerSize(1);
24 TEveUtil::LoadMacro("tpc_hits.C");
25 sprintf(form,"TPC2.fArray.fTrackID==%d", label);
26 h = tpc_hits("TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ",form, cont);
27 //PH h = tpc_hits("TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ",
28 //PH Form("TPC2.fArray.fTrackID==%d", label));
29 if (h) h->SetMarkerSize(1);
31 TEveUtil::LoadMacro("trd_hits.C");
32 sprintf(form,"TRD.fTrack==%d", label);
33 h = trd_hits("fX:fY:fZ", form, cont);
34 if (h) h->SetMarkerSize(1);
36 TEveUtil::LoadMacro("tof_hits.C");
37 sprintf(form,"TOF.fTrack==%d", label);
38 h = tof_hits("fX:fY:fZ", form, cont);
39 if (h) h->SetMarkerSize(1);