TEve draw children

Dear Rooters,
I have following problem. I have Event Display with V0 particles, V0 is one TEveTrack with two “daughter/elements” - TEveTracks that represent the decay products.
However I have problem with “highlighting” them - when I click on V0, negative or positive daughter only one TEveTrack is “highlighted”, Is it possible to highlight all three TEveTracks? Just like for TPointSet3D - here when i click on one point all of them are highlighted. I thought that CSCImplySelectAllChildren solves (at leas problem with highlighting daughters of V0) but it doesn’t work.

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi,

IIRC, CSC is for compounds only, so you should put all your items into a single TEveCompound.

You probably also have to set selection mode to “master” (this is compounds and possible projectable parents):
gEve->GetSelection()->SetPickToSelect(TEveSelection::kPS_Master);
gEve->GetHighlight()->SetPickToSelect(TEveSelection::kPS_Master);

If you can’t get it to work, make me a simple example and I’ll fix it for you.

Cheers,
Matevz

Hi,
I added track and hits to compound object, but still - when I set point only point is highlighted, if I set track - only track is highlighted.

Hmmh, did you also set the SetPickToSelect()? Can you post a reporoducer, please?

Cheers,
Matevz

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.