#include <EventDisplay3DUtils.h>
Definition at line 18 of file EventDisplay3DUtils.h.
gar::evd3d::EventDisplay3DUtils::EventDisplay3DUtils |
( |
| ) |
|
|
explicit |
Definition at line 19 of file EventDisplay3DUtils.cxx.
23 Double_t
s[] = { 0.00, 0.20, 0.35, 0.43, 0.45, 0.50, 1.00};
24 Double_t
r[] = { 0.00, 0.90, 1.00, 1.00, 1.00, 1.00, 0.00};
25 Double_t
g[] = { 0.50, 0.10, 0.75, 0.90, 1.00, 1.00, 0.00};
26 Double_t
b[] = { 0.30, 0.00, 0.00, 0.00, 0.00, 1.00, 0.00};
28 unsigned int abc =
sizeof(
s)/
sizeof(s[0]);
30 fColorBase = TColor::CreateGradientColorTable(abc, s, r, g, b,
static constexpr double g
void gar::evd3d::EventDisplay3DUtils::GotoEvent |
( |
| ) |
|
Definition at line 44 of file EventDisplay3DUtils.cxx.
47 int event = std::stoi(
fTbEvt->GetString());
48 evdb::NavState::SetTarget(run,
event);
constexpr BitMask< Storage > Set(Flag_t< Storage > flag)
Returns a bit mask which sets the specified flag.
Event finding and building.
int gar::evd3d::EventDisplay3DUtils::LogColor |
( |
double |
val, |
|
|
double |
minVal, |
|
|
double |
maxVal, |
|
|
double |
magScale = 5.0 |
|
) |
| |
Definition at line 52 of file EventDisplay3DUtils.cxx.
55 double scale =
std::pow(10.0,magScale);
57 double lValue = std::log10(1.0+scale*nvalue)/magScale;
58 int iValue = nCol*lValue;
static int max(int a, int b)
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
void gar::evd3d::EventDisplay3DUtils::NextEvent |
( |
| ) |
|
Definition at line 39 of file EventDisplay3DUtils.cxx.
constexpr BitMask< Storage > Set(Flag_t< Storage > flag)
Returns a bit mask which sets the specified flag.
void gar::evd3d::EventDisplay3DUtils::PrevEvent |
( |
| ) |
|
Definition at line 34 of file EventDisplay3DUtils.cxx.
constexpr BitMask< Storage > Set(Flag_t< Storage > flag)
Returns a bit mask which sets the specified flag.
int gar::evd3d::EventDisplay3DUtils::fColorBase |
int gar::evd3d::EventDisplay3DUtils::fColorCount |
TGTextBuffer* gar::evd3d::EventDisplay3DUtils::fTbEvt |
TGTextBuffer* gar::evd3d::EventDisplay3DUtils::fTbRun |
The documentation for this class was generated from the following files: