1 #ifndef STAR_StuDraw3DMuEvent
2 #define STAR_StuDraw3DMuEvent
18 enum EStuDraw3DMuEvent {
34 virtual const StDraw3DStyle& operator()()
const {
return fStyle;}
88 virtual void Tracks(StTrackType type=global);
91 , Style_t sty= Style_t(-1)
92 , Size_t siz = Size_t (-1));
93 virtual TObject *
Track(
const StMuTrack &track, EDraw3DStyle sty=kPrimaryTrack);
95 , Color_t col= Color_t(-1)
96 , Style_t sty= Style_t(-1)
97 , Size_t siz = Size_t (-1));
98 virtual TObject *
TrackInOut(
const StMuTrack &track, EDraw3DStyle sty=kUsedHit, Bool_t in=kTRUE);
99 virtual void Endcaps(Style_t sty=0);
101 virtual TObject *
EmcHit(Int_t emcHitsSoftId, Color_t col,Style_t sty,Size_t siz,
const char *detIdt=
"bemc");
102 virtual TObject *
EmcHit(Int_t emcHitsSoftId,
float energy,
const char *detIdt=
"bemc");
103 template <
class Predicate>
104 TObject *
EmcHit(Int_t emcHitsSoftId,
const Predicate &sty,
const char *detIdt=
"bemc");
109 template <
class Predicate>
112 return EmcHit(emcHitsSoftId, sty().Col(),sty().Sty(), sty().Siz(), detIdt);
virtual ~StuDraw3DMuEvent()
~StuDraw3DMuEvent( ) dtor
StDraw3DStyle maps "STAR event" EDraw3DStyle onto ROOT (color,style,size) attributes.
Class StuDraw3DMuEvent - to draw the StMuDst primitives like StMuTrack as 3D points and 3D lines deco...
Class StDraw3D - to draw the 3D primitives like 3D points and 3D lines decorated with the STAR detect...
virtual TObject * TrackInOut(const StMuTrack &track, Bool_t in, Color_t col=Color_t(-1), Style_t sty=Style_t(-1), Size_t siz=Size_t(-1))
Add the in point of the given track to the display list with the col color, sty style, and siz size if provided.
virtual TObject * Track(const StMuTrack &track, Color_t col, Style_t sty=Style_t(-1), Size_t siz=Size_t(-1))
Add track to the display list with the col color, sty style, and siz size if provided.
virtual void Tracks(StTrackType type=global)
Add all tracks of the given type from the current event to the display list.
virtual TObject * EmcHit(Int_t emcHitsSoftId, Color_t col, Style_t sty, Size_t siz, const char *detIdt="bemc")
Add EMC hit defined emcHitsSoftId to the display list with the col color sty and size if provided...
static StuDraw3DMuEvent * Display()
virtual void Endcaps(Style_t sty=0)
Add the endcap towers to the list to display.