StDraw3DStyle Class Reference

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

#include <StDraw3D.h>

List of all members.

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.


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 77 of file StDraw3D.cxx.

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


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

Generated on Thu Feb 9 04:27:21 2012 for StRoot by  doxygen 1.5.9