From: mtadel Date: Fri, 30 Oct 2009 10:25:51 +0000 (+0000) Subject: Add example of how to assign lines to a module. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=599519ff2c52d957be4707f793d4619054322732 Add example of how to assign lines to a module. --- diff --git a/EVE/alice-macros/emcal_digits.C b/EVE/alice-macros/emcal_digits.C index 09b6439ef69..f297390a804 100644 --- a/EVE/alice-macros/emcal_digits.C +++ b/EVE/alice-macros/emcal_digits.C @@ -79,6 +79,22 @@ void emcal_digits() gEve->AddElement(q, l); smodules[sm] = q; + + // Add line + /* + TEveLine *ll = new TEveLine("Test"); + ll->SetMainColor(kRed); + ll->SetLineWidth(2); + + ll->SetNextPoint(0, -20, -20); + ll->SetNextPoint(0, 20, -20); + ll->SetNextPoint(0, 20, 20); + ll->SetNextPoint(0, -20, 20); + ll->SetNextPoint(0, -20, -20); + ll->RefMainTrans() = q->RefMainTrans(); + + q->AddElement(ll); + */ } TClonesArray *digits = 0;