Quiver.h¶
-
class
Quiver¶ - #include <Quiver.h>
Public Functions
-
Quiver(int nx, double xlo, double xhi, int ny, double ylo, double yhi)¶
-
~Quiver()¶
-
void
Fill(double x, double y, double vx, double vy)¶
-
void
Calculate()¶
-
void
Draw(TCanvas *c = gPad->GetCanvas(), int pad = gPad->GetNumber())¶
-
void
Reset()¶
-
void
SetLevels(double min, double max)¶
-
void
SetDrawOptions(bool drawMarkers, bool drawText)¶
-
void
SetArrowParams(double arrowAngle, double arrowHead, int arrowWidth, double padding)¶
-
void
SetTitle(const char *title)¶
-
void
SaveAs(const char *filename)¶
Private Functions
-
double
min(double x, double y)¶
-
double
minSet(vector<double> x, int N)¶
-
double
maxSet(vector<double> x, int N)¶
Private Members
-
int
N¶
-
int
k¶
-
int
nx¶
-
double
xlo¶
-
double
xhi¶
-
int
ny¶
-
double
ylo¶
-
double
yhi¶
-
bool
canvasCreated¶
-
TCanvas *
cQuiver¶
-
TH2D *
h¶
-
TH2I *
hCount¶
-
TH2D *
hvx¶
-
TH2D *
hvy¶
-
vector<double>
x1¶
-
vector<double>
y1¶
-
vector<double>
vxk¶
-
vector<double>
vyk¶
-
int
nElements¶
-
vector<double>
norm¶
-
double
minWidth¶
-
double
arrowLen¶
-
double
factor¶
-
double
minVal¶
-
double
maxVal¶
-
bool
drawMarkers¶
-
bool
drawText¶
-
double
arrowAngle¶
-
double
arrowHead¶
-
int
arrowWidth¶
-
double
padding¶
-
bool
setLevels¶
-
int
nLevels¶
-
double *
levels¶
-
int
color¶
-
stringstream
normStream¶
-
string
normString¶
-
TArrow **
a¶
-
TText **
l¶
-
TMarker **
m¶
-
double
xLen¶
-
double
yLen¶
-