Draws a jet cone with leading particle is specified in (eta,phi) and cone radius is given.
If Apex is not set, default is (0.,0.,0.) In case of cylinder was set, cone is cut at the cylinder edges.
Example :
Float_t conePhi =
r.Uniform(0.0, TwoPi() );
jetCone->SetCylinder(250, 250);
if (jetCone->AddCone(coneEta, conePhi, coneRadius) != -1)
float Float_t
Float 4 bytes (float)
R__EXTERN TEveManager * gEve
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Draws a jet cone with leading particle is specified in (eta,phi) and cone radius is given.
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
Implementation notes
REveVector fLimits encodes the following information:
- fY, fZ: barrel radius and endcap z-position; if both are 0, fX encodes the spherical radius
- fX : scaling for length of the cone
The render data is one entry, pos, f32 x 3: the apex, then fNDiv points on the base, starting at the maximum eta and going round in steps of 2 pi / fNDiv, primitive triangles. The client draws the triangles of a fan from the apex, the base rim as a line loop and every fourth base point joined to the apex.