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 #if !defined(__CINT__) || defined(__MAKECINT__)
13 #include <TEvePointSet.h>
14 #include <TEveElement.h>
15 #include <TEveManager.h>
16 #include <TEveTreeTools.h>
18 #include <AliRunLoader.h>
19 #include <AliEveEventManager.h>
22 void trd_hits_z_split(const char *varexp = "fX:fY:fZ:fZ",
23 const char *selection = "")
25 AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
28 TTree* ht = rl->GetTreeH("TRD", false);
30 TEvePointSetArray* l = new TEvePointSetArray("TRD hits - Z Slices", "");
32 l->SetMarkerStyle(20); // full circle
36 l->InitBins("Z", 20, -360, 360);
38 TEvePointSelector ps(ht, l, varexp, selection);