![]() |
PandaRoot
|
#include <PndFTSCADisplay.h>
Public Member Functions | |
PndFTSCADisplay () | |
virtual | ~PndFTSCADisplay () |
void | Init () |
void | Update () |
void | ClearView () |
void | Ask () |
void | SetTPC (const PndFTSCAParam &tpcParam) |
void | SetGB (const PndFTSCAGBTracker *GBTracker) |
const PndFTSCAGBTracker * | GetGB () |
int | GetColor (int i) const |
int | GetColorZ (double z) const |
int | GetColorY (double y) const |
int | GetColorK (double k) const |
int | GetTrackMC (const PndFTSCADisplayTmpHit *vHits, int NHits) |
void | DrawTPC () |
void | DrawSlice (PndFTSCATracker *slice, bool DrawRows=0, bool DrawGrid=1) |
void | DrawArc (float x, float y, float r, int Start=1, Size_t width=1) |
void | DrawPoint (float x, float y, float z, int Start=1, Size_t width=1) |
void | DrawGBPoint (float x, float y, float z, int Start=1, Size_t width=1) |
void | DrawGBPoint (float x, float y, float z, float angle=0, int Start=1, Size_t width=1) |
void | DrawSliceOutTrackParam (int itr, int color, Size_t width) |
void | DrawSliceOutTrack1 (int itr, int color, Size_t width) |
void | DrawHelix (float p0, float c, float z, float zStart, float z0, float xc, float yc, float r, float b, int color, Size_t width) |
void | DrawParticleGlobal (float *param, float q, float tStart, float tEnd, float b, int color=kOrange, Size_t width=1) |
void | DrawParticleGlobal (float *param, float q, float n[4], float b, int color=kOrange, Size_t width=1) |
void | DrawGBLine (float x, float y, float z, float x2, float y2, float z2, int Start=1, Size_t width=1, int projection=-1) |
bool | DrawTrack (PndFTSCATrackParam t, double Alpha, const PndFTSCADisplayTmpHit *vHits, int NHits, int color=-1, Size_t width=-1, bool pPoint=0) |
void | DrawGBTrack (int itr, int color=-1, int width=-1) |
void | DrawRecoTrack (int itr, int color=-1, int width=-1) |
void | DrawMCTrack (int itr, int color=-1, int width=-1) |
void | HitToGlobal (const FTSCAHit &hit, float &x, float &y, float &z) |
void | HitToGlobal (const FTSCAHitV &hit, int iV, float &x, float &y, float &z) |
void | DrawGBHits (const FTSCAHitsV &all) |
void | DrawGBHits (const FTSCAHits &all) |
void | DrawGBPoints () |
void | DrawPVHisto (const vector< float > &pvHist, const PndFTSCAParam ¶m) |
void | DrawGBNPlets (const FTSCANPletsV &all) |
void | DrawGBNPlets (const FTSCAElementsOnStation< FTSCANPletV > &s) |
void | DrawGBTracks (const FTSCATracks &all) |
void | DrawGBTrackFast (const PndFTSCAGBTracker &tracker, int itr, int color=-1) |
bool | DrawTracklet (PndFTSCATrackParam &track, const int *hitstore, int color=-1, int width=-1, bool pPoint=0) |
void | DrawGBHit (const PndFTSCAGBTracker &tracker, int iHit, int color=-1, Size_t width=-1) |
void | DrawGBHits (const PndFTSCAGBTracker &tracker, int color=-1, Size_t width=-1, int hitsType=-1) |
void | DrawTrackParam (PndFTSCATrackParam t, int color=1) |
void | SaveCanvasToFile (TString fileName) |
TPad * | CanvasYX () |
TPad * | CanvasZX () |
Static Public Member Functions | |
static PndFTSCADisplay & | Instance () |
Protected Attributes | |
TCanvas * | fCanvas |
TPad * | fYX |
TPad * | fZX |
TPad * | fZR |
bool | fAsk |
const PndFTSCAGBTracker * | fGB |
PndFTSCAPerformance * | fPerf |
double | fZMin |
double | fZMax |
double | fYMin |
double | fYMax |
double | fRInnerMin |
double | fRInnerMax |
double | fROuterMin |
double | fROuterMax |
double | fTPCZMin |
double | fTPCZMax |
TArc | fArc |
TLine | fLine |
TPolyLine | fPLine |
TMarker | fMarker |
TBox | fBox |
TCrown | fCrown |
TLatex | fLatex |
TArrow | fArrow |
bool | fDrawOnlyRef |
Definition at line 51 of file PndFTSCADisplay.h.
PndFTSCADisplay::PndFTSCADisplay | ( | ) |
|
virtual |
void PndFTSCADisplay::Ask | ( | ) |
|
inline |
|
inline |
void PndFTSCADisplay::ClearView | ( | ) |
void PndFTSCADisplay::DrawArc | ( | float | x, |
float | y, | ||
float | r, | ||
int | Start = 1 , |
||
Size_t | width = 1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBHit | ( | const PndFTSCAGBTracker & | tracker, |
int | iHit, | ||
int | color = -1 , |
||
Size_t | width = -1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBHits | ( | const FTSCAHitsV & | all | ) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBHits | ( | const FTSCAHits & | all | ) |
void PndFTSCADisplay::DrawGBHits | ( | const PndFTSCAGBTracker & | tracker, |
int | color = -1 , |
||
Size_t | width = -1 , |
||
int | hitsType = -1 |
||
) |
void PndFTSCADisplay::DrawGBLine | ( | float | x, |
float | y, | ||
float | z, | ||
float | x2, | ||
float | y2, | ||
float | z2, | ||
int | Start = 1 , |
||
Size_t | width = 1 , |
||
int | projection = -1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBNPlets | ( | const FTSCANPletsV & | all | ) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBNPlets | ( | const FTSCAElementsOnStation< FTSCANPletV > & | s | ) |
void PndFTSCADisplay::DrawGBPoint | ( | float | x, |
float | y, | ||
float | z, | ||
int | Start = 1 , |
||
Size_t | width = 1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBPoint | ( | float | x, |
float | y, | ||
float | z, | ||
float | angle = 0 , |
||
int | Start = 1 , |
||
Size_t | width = 1 |
||
) |
void PndFTSCADisplay::DrawGBPoints | ( | ) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBTrack | ( | int | itr, |
int | color = -1 , |
||
int | width = -1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBTrackFast | ( | const PndFTSCAGBTracker & | tracker, |
int | itr, | ||
int | color = -1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawGBTracks | ( | const FTSCATracks & | all | ) |
Referenced by GetGB().
void PndFTSCADisplay::DrawHelix | ( | float | p0, |
float | c, | ||
float | z, | ||
float | zStart, | ||
float | z0, | ||
float | xc, | ||
float | yc, | ||
float | r, | ||
float | b, | ||
int | color, | ||
Size_t | width | ||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawMCTrack | ( | int | itr, |
int | color = -1 , |
||
int | width = -1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawParticleGlobal | ( | float * | param, |
float | q, | ||
float | tStart, | ||
float | tEnd, | ||
float | b, | ||
int | color = kOrange , |
||
Size_t | width = 1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawParticleGlobal | ( | float * | param, |
float | q, | ||
float | n[4], | ||
float | b, | ||
int | color = kOrange , |
||
Size_t | width = 1 |
||
) |
void PndFTSCADisplay::DrawPoint | ( | float | x, |
float | y, | ||
float | z, | ||
int | Start = 1 , |
||
Size_t | width = 1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawPVHisto | ( | const vector< float > & | pvHist, |
const PndFTSCAParam & | param | ||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawRecoTrack | ( | int | itr, |
int | color = -1 , |
||
int | width = -1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawSlice | ( | PndFTSCATracker * | slice, |
bool | DrawRows = 0 , |
||
bool | DrawGrid = 1 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawSliceOutTrack1 | ( | int | itr, |
int | color, | ||
Size_t | width | ||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawSliceOutTrackParam | ( | int | itr, |
int | color, | ||
Size_t | width | ||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawTPC | ( | ) |
Referenced by GetGB().
bool PndFTSCADisplay::DrawTrack | ( | PndFTSCATrackParam | t, |
double | Alpha, | ||
const PndFTSCADisplayTmpHit * | vHits, | ||
int | NHits, | ||
int | color = -1 , |
||
Size_t | width = -1 , |
||
bool | pPoint = 0 |
||
) |
Referenced by GetGB().
bool PndFTSCADisplay::DrawTracklet | ( | PndFTSCATrackParam & | track, |
const int * | hitstore, | ||
int | color = -1 , |
||
int | width = -1 , |
||
bool | pPoint = 0 |
||
) |
Referenced by GetGB().
void PndFTSCADisplay::DrawTrackParam | ( | PndFTSCATrackParam | t, |
int | color = 1 |
||
) |
Referenced by GetGB().
int PndFTSCADisplay::GetColor | ( | int | i | ) | const |
Referenced by GetGB().
int PndFTSCADisplay::GetColorK | ( | double | k | ) | const |
Referenced by GetGB().
int PndFTSCADisplay::GetColorY | ( | double | y | ) | const |
Referenced by GetGB().
int PndFTSCADisplay::GetColorZ | ( | double | z | ) | const |
Referenced by GetGB().
|
inline |
Definition at line 69 of file PndFTSCADisplay.h.
References all, DrawArc(), DrawGBHit(), DrawGBHits(), DrawGBLine(), DrawGBNPlets(), DrawGBPoint(), DrawGBPoints(), DrawGBTrack(), DrawGBTrackFast(), DrawGBTracks(), DrawHelix(), DrawMCTrack(), DrawParticleGlobal(), DrawPoint(), DrawPVHisto(), DrawRecoTrack(), DrawSlice(), DrawSliceOutTrack1(), DrawSliceOutTrackParam(), DrawTPC(), DrawTrack(), DrawTracklet(), DrawTrackParam(), fGB, GetColor(), GetColorK(), GetColorY(), GetColorZ(), GetTrackMC(), HitToGlobal(), i, and SaveCanvasToFile().
int PndFTSCADisplay::GetTrackMC | ( | const PndFTSCADisplayTmpHit * | vHits, |
int | NHits | ||
) |
Referenced by GetGB().
void PndFTSCADisplay::HitToGlobal | ( | const FTSCAHit & | hit, |
float & | x, | ||
float & | y, | ||
float & | z | ||
) |
Referenced by GetGB().
void PndFTSCADisplay::HitToGlobal | ( | const FTSCAHitV & | hit, |
int | iV, | ||
float & | x, | ||
float & | y, | ||
float & | z | ||
) |
void PndFTSCADisplay::Init | ( | ) |
|
static |
void PndFTSCADisplay::SaveCanvasToFile | ( | TString | fileName | ) |
Referenced by GetGB().
void PndFTSCADisplay::SetGB | ( | const PndFTSCAGBTracker * | GBTracker | ) |
void PndFTSCADisplay::SetTPC | ( | const PndFTSCAParam & | tpcParam | ) |
void PndFTSCADisplay::Update | ( | ) |
|
protected |
Definition at line 145 of file PndFTSCADisplay.h.
|
protected |
Definition at line 152 of file PndFTSCADisplay.h.
|
protected |
Definition at line 135 of file PndFTSCADisplay.h.
|
protected |
Definition at line 149 of file PndFTSCADisplay.h.
|
protected |
Definition at line 132 of file PndFTSCADisplay.h.
|
protected |
Definition at line 150 of file PndFTSCADisplay.h.
|
protected |
Definition at line 154 of file PndFTSCADisplay.h.
|
protected |
Definition at line 136 of file PndFTSCADisplay.h.
Referenced by GetGB().
|
protected |
Definition at line 151 of file PndFTSCADisplay.h.
|
protected |
Definition at line 146 of file PndFTSCADisplay.h.
|
protected |
Definition at line 148 of file PndFTSCADisplay.h.
|
protected |
Definition at line 137 of file PndFTSCADisplay.h.
|
protected |
Definition at line 147 of file PndFTSCADisplay.h.
|
protected |
Definition at line 142 of file PndFTSCADisplay.h.
|
protected |
Definition at line 142 of file PndFTSCADisplay.h.
|
protected |
Definition at line 142 of file PndFTSCADisplay.h.
|
protected |
Definition at line 142 of file PndFTSCADisplay.h.
|
protected |
Definition at line 142 of file PndFTSCADisplay.h.
|
protected |
Definition at line 142 of file PndFTSCADisplay.h.
|
protected |
Definition at line 138 of file PndFTSCADisplay.h.
|
protected |
Definition at line 138 of file PndFTSCADisplay.h.
|
protected |
Definition at line 133 of file PndFTSCADisplay.h.
Referenced by CanvasYX().
|
protected |
Definition at line 138 of file PndFTSCADisplay.h.
|
protected |
Definition at line 138 of file PndFTSCADisplay.h.
|
protected |
Definition at line 133 of file PndFTSCADisplay.h.
|
protected |
Definition at line 133 of file PndFTSCADisplay.h.
Referenced by CanvasZX().