3 void tpc_hits_charge_split(const char *varexp =
4 "TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ"
5 ":log(TPC2.fArray.fCharge)",
6 const char *selection = "TPC2.fArray.fR>80")
8 // Extracts 'major' TPC hits (not the compressed ones).
9 // This gives ~2.5% of all hits.
11 AliRunLoader* rl = Alieve::Event::AssertRunLoader();
14 TTree* ht = rl->GetTreeH("TPC", false);
16 Reve::PointSetArray* l = new Reve::PointSetArray("TPC hits - Log-Charge Slices", "");
17 l->SetSourceCS(TPointSelectorConsumer::TVT_RPhiZ);
18 l->SetMarkerColor((Color_t)3);
19 l->SetMarkerStyle(20); // full circle
22 gReve->AddRenderElement(l);
23 l->InitBins("Log Charge", 20, 0, 5);
25 TPointSelector ps(ht, l, varexp, selection);