StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
StDraw3DStyle Class Reference

StDraw3DStyle maps "STAR event" EDraw3DStyle onto ROOT (color,style,size) attributes. More...

#include <StDraw3D.h>

Public Member Functions

 StDraw3DStyle (EDraw3DStyle typ=kUsedHit, Color_t col=Color_t(-1), Style_t sty=Style_t(-1), Size_t siz=Size_t(-1))
 
Color_t Col () const
 
Style_t Sty () const
 
Size_t Siz () const
 
EDraw3DStyle Type () const
 
Color_t & Col ()
 
Style_t & Sty ()
 
Size_t & Siz ()
 
EDraw3DStyle & Type ()
 
void SetCol (Color_t col)
 
void SetSty (Style_t sty)
 
void SetSiz (Size_t siz)
 
void SetType (Color_t col, Style_t sty, Size_t siz)
 

Static Public Member Functions

static Color_t Pt2Color (double pt)
 Maps the track pt to the STAR StTrack track color code. More...
 

Detailed Description

StDraw3DStyle maps "STAR event" EDraw3DStyle onto ROOT (color,style,size) attributes.

Definition at line 29 of file StDraw3D.h.

Member Function Documentation

Color_t StDraw3DStyle::Pt2Color ( double  pt)
static

Maps the track pt to the STAR StTrack track color code.

Parameters
pt- pt value from some StEvent /StMuDst track object
Returns
the ROOT color index

Definition at line 78 of file StDraw3D.cxx.

Referenced by addTracks(), StuDraw3DEvent::Hits(), StuDraw3DEvent::Tracks(), and StuDraw3DMuEvent::Tracks().


The documentation for this class was generated from the following files: