Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveJetCone Class Reference

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 coneEta = r.Uniform(-0.9, 0.9);
Float_t conePhi = r.Uniform(0.0, TwoPi() );
Float_t coneRadius = 0.4;
REveJetCone* jetCone = new REveJetCone("JetCone");
jetCone->SetCylinder(250, 250);
if (jetCone->AddCone(coneEta, conePhi, coneRadius) != -1)
gEve->AddElement(jetCone);
float Float_t
Definition RtypesCore.h:57
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 documentation for this class was generated from the following file: