A singleton class for an event display based on EVE. More...
#include <TEventDisplay.hxx>
Public Member Functions | |
virtual | ~TEventDisplay () |
Deconstruct the event display. More... | |
EDep::TGUIManager & | GUI () |
Return a reference to the gui manager. More... | |
EDep::TEventChangeManager & | EventChange () |
Return a reference to the event change manager. More... | |
int | LinearColor (double val, double minVal, double maxVal) |
Get a color from the palette using a linear value scale. More... | |
int | LogColor (double val, double minVal, double maxVal, double magScale=5.0) |
Get a color from the palette using a logarithmic value scale. More... | |
double | CrudeEnergy (double charge) |
Convert an charge into a crude energy. More... | |
Static Public Member Functions | |
static TEventDisplay & | Get (void) |
Private Member Functions | |
TEventDisplay () | |
void | Init () |
Private Attributes | |
TGUIManager * | fGUIManager |
TEventChangeManager * | fEventChangeManager |
TPlotDigitsHits * | fPlotDigitsHits |
TPlotTimeCharge * | fPlotTimeCharge |
int | fColorBase |
int | fColorCount |
double | fEnergyPerCharge |
Static Private Attributes | |
static EDep::TEventDisplay * | fEventDisplay = NULL |
A singleton class for an event display based on EVE.
Definition at line 13 of file TEventDisplay.hxx.
|
virtual |
|
private |
Definition at line 26 of file TEventDisplay.cxx.
|
inline |
|
inline |
Return a reference to the event change manager.
Definition at line 27 of file TEventDisplay.hxx.
|
static |
Get a pointer to the singleton instance of the event display. This creates the event display the first time it is called.
Definition at line 18 of file TEventDisplay.cxx.
|
inline |
|
private |
Definition at line 28 of file TEventDisplay.cxx.
int EDep::TEventDisplay::LinearColor | ( | double | val, |
double | minVal, | ||
double | maxVal | ||
) |
Get a color from the palette using a linear value scale.
Definition at line 71 of file TEventDisplay.cxx.
int EDep::TEventDisplay::LogColor | ( | double | val, |
double | minVal, | ||
double | maxVal, | ||
double | magScale = 5.0 |
||
) |
Get a color from the palette using a logarithmic value scale.
Definition at line 78 of file TEventDisplay.cxx.
|
private |
Definition at line 62 of file TEventDisplay.hxx.
|
private |
Definition at line 65 of file TEventDisplay.hxx.
|
private |
Definition at line 68 of file TEventDisplay.hxx.
|
private |
Definition at line 52 of file TEventDisplay.hxx.
|
staticprivate |
Definition at line 46 of file TEventDisplay.hxx.
|
private |
Definition at line 49 of file TEventDisplay.hxx.
|
private |
Definition at line 55 of file TEventDisplay.hxx.
|
private |
Definition at line 59 of file TEventDisplay.hxx.