]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In SelectByP() also set children-rendering mode.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2007 15:14:09 +0000 (15:14 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2007 15:14:09 +0000 (15:14 +0000)
EVE/Reve/Track.cxx

index 703a8a4fce3025bc5664b123a10e8b46a02b9d18..b226c45edfc23030e0f00902eb93fe7ac48efaeb 100644 (file)
@@ -661,7 +661,9 @@ void TrackList::SelectByP(Float_t min_p, Float_t max_p)
   for(List_i i=fChildren.begin(); i!=fChildren.end(); ++i) {
     psq  = ((Track*)(*i))->fP.Mag();
     psq *= psq;
-    (*i)->SetRnrSelf(psq >= minpsq && psq <= maxpsq);
+    Bool_t on = psq >= minpsq && psq <= maxpsq;
+    (*i)->SetRnrSelf(on);
+    (*i)->SetRnrChildren(on);
   }
 }