StRoot
1
|
Go to the source code of this file.
Functions | |
void | rd (int hits=0, bool clear=false) |
This function redraws all hits and/or tracks from the current event. More... | |
void | skipe (int nEvents=1) |
void | ae (int tracks=-1, int hits=-1) |
This function is to search for the next non-empty event and draw it by looping over StBFChain (reading the next events from the file) More... | |
void | Ed (const char *file="/star/institutions/bnl/fine/testfiles/st_physics_10169042_raw_4030001.event.root", unsigned int nEvent=1, const char *detectorNames="TPC") |
Main entry point to initialize the primitive "Event Display" and the STAR bfc chain. More... | |
Variables | |
StEvent * | event = 0 |
void ae | ( | int | tracks = -1 , |
int | hits = -1 |
||
) |
This function is to search for the next non-empty event and draw it by looping over StBFChain (reading the next events from the file)
tracks | - flag to mark whether the tracks from the event should be rendered = 0 - no track = -1 - use the "default" value, != -1 - use the value provided and change the default. |
hits | - flag to mark whether the hits to be drawn = 0 - no hit = -1 - use the "default" value, != -1 - use the value provided and change the default. |
Definition at line 102 of file Ed.C.
References StDraw3D::Clear(), and rd().
Referenced by Ed().
void Ed | ( | const char * | file = "/star/institutions/bnl/fine/testfiles/st_physics_10169042_raw_4030001.event.root" , |
unsigned int | nEvent = 1 , |
||
const char * | detectorNames = "TPC" |
||
) |
Main entry point to initialize the primitive "Event Display" and the STAR bfc chain.
file | - the ROOT file with StEvent |
detectorNames | - the list of the detector names or "0" to draw none |
Ed
just invoke: Definition at line 135 of file Ed.C.
References ae(), and StDraw3D::SetBkColor().
void rd | ( | int | hits = 0 , |
bool | clear = false |
||
) |
This function redraws all hits and/or tracks from the current
event.
hits | - flag to mark whether the hits from the event should be rendered if the hits = 1 - the TPC hits is to be drawn,2 - the EMC barrel hits to be drawn 3 - The TPC + EMC hits 0 - no hit to be rendered. It is to render the tracks |
clear | - flag to mark whether the screen has to be cleaned first (before any new component is added) |
Definition at line 69 of file Ed.C.
References StDraw3D::Clear(), StuDraw3DEvent::EmcHits(), and StuDraw3DEvent::Tracks().
Referenced by ae().