PandaRoot
PndFTSCADisplay Class Reference

#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 PndFTSCAGBTrackerGetGB ()
 
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 &param)
 
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 PndFTSCADisplayInstance ()
 

Protected Attributes

TCanvas * fCanvas
 
TPad * fYX
 
TPad * fZX
 
TPad * fZR
 
bool fAsk
 
const PndFTSCAGBTrackerfGB
 
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
 

Detailed Description

Definition at line 51 of file PndFTSCADisplay.h.

Constructor & Destructor Documentation

◆ PndFTSCADisplay()

PndFTSCADisplay::PndFTSCADisplay ( )

◆ ~PndFTSCADisplay()

virtual PndFTSCADisplay::~PndFTSCADisplay ( )
virtual

Member Function Documentation

◆ Ask()

void PndFTSCADisplay::Ask ( )

◆ CanvasYX()

TPad* PndFTSCADisplay::CanvasYX ( )
inline

Definition at line 128 of file PndFTSCADisplay.h.

References fYX.

128 { return fYX; }

◆ CanvasZX()

TPad* PndFTSCADisplay::CanvasZX ( )
inline

Definition at line 129 of file PndFTSCADisplay.h.

References fZX.

129 { return fZX; }

◆ ClearView()

void PndFTSCADisplay::ClearView ( )

◆ DrawArc()

void PndFTSCADisplay::DrawArc ( float  x,
float  y,
float  r,
int  Start = 1,
Size_t  width = 1 
)

Referenced by GetGB().

◆ DrawGBHit()

void PndFTSCADisplay::DrawGBHit ( const PndFTSCAGBTracker tracker,
int  iHit,
int  color = -1,
Size_t  width = -1 
)

Referenced by GetGB().

◆ DrawGBHits() [1/3]

void PndFTSCADisplay::DrawGBHits ( const FTSCAHitsV all)

Referenced by GetGB().

◆ DrawGBHits() [2/3]

void PndFTSCADisplay::DrawGBHits ( const FTSCAHits all)

◆ DrawGBHits() [3/3]

void PndFTSCADisplay::DrawGBHits ( const PndFTSCAGBTracker tracker,
int  color = -1,
Size_t  width = -1,
int  hitsType = -1 
)

◆ DrawGBLine()

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().

◆ DrawGBNPlets() [1/2]

void PndFTSCADisplay::DrawGBNPlets ( const FTSCANPletsV all)

Referenced by GetGB().

◆ DrawGBNPlets() [2/2]

void PndFTSCADisplay::DrawGBNPlets ( const FTSCAElementsOnStation< FTSCANPletV > &  s)

◆ DrawGBPoint() [1/2]

void PndFTSCADisplay::DrawGBPoint ( float  x,
float  y,
float  z,
int  Start = 1,
Size_t  width = 1 
)

Referenced by GetGB().

◆ DrawGBPoint() [2/2]

void PndFTSCADisplay::DrawGBPoint ( float  x,
float  y,
float  z,
float  angle = 0,
int  Start = 1,
Size_t  width = 1 
)

◆ DrawGBPoints()

void PndFTSCADisplay::DrawGBPoints ( )

Referenced by GetGB().

◆ DrawGBTrack()

void PndFTSCADisplay::DrawGBTrack ( int  itr,
int  color = -1,
int  width = -1 
)

Referenced by GetGB().

◆ DrawGBTrackFast()

void PndFTSCADisplay::DrawGBTrackFast ( const PndFTSCAGBTracker tracker,
int  itr,
int  color = -1 
)

Referenced by GetGB().

◆ DrawGBTracks()

void PndFTSCADisplay::DrawGBTracks ( const FTSCATracks all)

Referenced by GetGB().

◆ DrawHelix()

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().

◆ DrawMCTrack()

void PndFTSCADisplay::DrawMCTrack ( int  itr,
int  color = -1,
int  width = -1 
)

Referenced by GetGB().

◆ DrawParticleGlobal() [1/2]

void PndFTSCADisplay::DrawParticleGlobal ( float *  param,
float  q,
float  tStart,
float  tEnd,
float  b,
int  color = kOrange,
Size_t  width = 1 
)

Referenced by GetGB().

◆ DrawParticleGlobal() [2/2]

void PndFTSCADisplay::DrawParticleGlobal ( float *  param,
float  q,
float  n[4],
float  b,
int  color = kOrange,
Size_t  width = 1 
)

◆ DrawPoint()

void PndFTSCADisplay::DrawPoint ( float  x,
float  y,
float  z,
int  Start = 1,
Size_t  width = 1 
)

Referenced by GetGB().

◆ DrawPVHisto()

void PndFTSCADisplay::DrawPVHisto ( const vector< float > &  pvHist,
const PndFTSCAParam param 
)

Referenced by GetGB().

◆ DrawRecoTrack()

void PndFTSCADisplay::DrawRecoTrack ( int  itr,
int  color = -1,
int  width = -1 
)

Referenced by GetGB().

◆ DrawSlice()

void PndFTSCADisplay::DrawSlice ( PndFTSCATracker *  slice,
bool  DrawRows = 0,
bool  DrawGrid = 1 
)

Referenced by GetGB().

◆ DrawSliceOutTrack1()

void PndFTSCADisplay::DrawSliceOutTrack1 ( int  itr,
int  color,
Size_t  width 
)

Referenced by GetGB().

◆ DrawSliceOutTrackParam()

void PndFTSCADisplay::DrawSliceOutTrackParam ( int  itr,
int  color,
Size_t  width 
)

Referenced by GetGB().

◆ DrawTPC()

void PndFTSCADisplay::DrawTPC ( )

Referenced by GetGB().

◆ DrawTrack()

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().

◆ DrawTracklet()

bool PndFTSCADisplay::DrawTracklet ( PndFTSCATrackParam track,
const int *  hitstore,
int  color = -1,
int  width = -1,
bool  pPoint = 0 
)

Referenced by GetGB().

◆ DrawTrackParam()

void PndFTSCADisplay::DrawTrackParam ( PndFTSCATrackParam  t,
int  color = 1 
)

Referenced by GetGB().

◆ GetColor()

int PndFTSCADisplay::GetColor ( int  i) const

Referenced by GetGB().

◆ GetColorK()

int PndFTSCADisplay::GetColorK ( double  k) const

Referenced by GetGB().

◆ GetColorY()

int PndFTSCADisplay::GetColorY ( double  y) const

Referenced by GetGB().

◆ GetColorZ()

int PndFTSCADisplay::GetColorZ ( double  z) const

Referenced by GetGB().

◆ GetGB()

◆ GetTrackMC()

int PndFTSCADisplay::GetTrackMC ( const PndFTSCADisplayTmpHit *  vHits,
int  NHits 
)

Referenced by GetGB().

◆ HitToGlobal() [1/2]

void PndFTSCADisplay::HitToGlobal ( const FTSCAHit hit,
float &  x,
float &  y,
float &  z 
)

Referenced by GetGB().

◆ HitToGlobal() [2/2]

void PndFTSCADisplay::HitToGlobal ( const FTSCAHitV hit,
int  iV,
float &  x,
float &  y,
float &  z 
)

◆ Init()

void PndFTSCADisplay::Init ( )

◆ Instance()

static PndFTSCADisplay& PndFTSCADisplay::Instance ( )
static

◆ SaveCanvasToFile()

void PndFTSCADisplay::SaveCanvasToFile ( TString  fileName)

Referenced by GetGB().

◆ SetGB()

void PndFTSCADisplay::SetGB ( const PndFTSCAGBTracker GBTracker)

◆ SetTPC()

void PndFTSCADisplay::SetTPC ( const PndFTSCAParam tpcParam)

◆ Update()

void PndFTSCADisplay::Update ( )

Member Data Documentation

◆ fArc

TArc PndFTSCADisplay::fArc
protected

Definition at line 145 of file PndFTSCADisplay.h.

◆ fArrow

TArrow PndFTSCADisplay::fArrow
protected

Definition at line 152 of file PndFTSCADisplay.h.

◆ fAsk

bool PndFTSCADisplay::fAsk
protected

Definition at line 135 of file PndFTSCADisplay.h.

◆ fBox

TBox PndFTSCADisplay::fBox
protected

Definition at line 149 of file PndFTSCADisplay.h.

◆ fCanvas

TCanvas* PndFTSCADisplay::fCanvas
protected

Definition at line 132 of file PndFTSCADisplay.h.

◆ fCrown

TCrown PndFTSCADisplay::fCrown
protected

Definition at line 150 of file PndFTSCADisplay.h.

◆ fDrawOnlyRef

bool PndFTSCADisplay::fDrawOnlyRef
protected

Definition at line 154 of file PndFTSCADisplay.h.

◆ fGB

const PndFTSCAGBTracker* PndFTSCADisplay::fGB
protected

Definition at line 136 of file PndFTSCADisplay.h.

Referenced by GetGB().

◆ fLatex

TLatex PndFTSCADisplay::fLatex
protected

Definition at line 151 of file PndFTSCADisplay.h.

◆ fLine

TLine PndFTSCADisplay::fLine
protected

Definition at line 146 of file PndFTSCADisplay.h.

◆ fMarker

TMarker PndFTSCADisplay::fMarker
protected

Definition at line 148 of file PndFTSCADisplay.h.

◆ fPerf

PndFTSCAPerformance* PndFTSCADisplay::fPerf
protected

Definition at line 137 of file PndFTSCADisplay.h.

◆ fPLine

TPolyLine PndFTSCADisplay::fPLine
protected

Definition at line 147 of file PndFTSCADisplay.h.

◆ fRInnerMax

double PndFTSCADisplay::fRInnerMax
protected

Definition at line 142 of file PndFTSCADisplay.h.

◆ fRInnerMin

double PndFTSCADisplay::fRInnerMin
protected

Definition at line 142 of file PndFTSCADisplay.h.

◆ fROuterMax

double PndFTSCADisplay::fROuterMax
protected

Definition at line 142 of file PndFTSCADisplay.h.

◆ fROuterMin

double PndFTSCADisplay::fROuterMin
protected

Definition at line 142 of file PndFTSCADisplay.h.

◆ fTPCZMax

double PndFTSCADisplay::fTPCZMax
protected

Definition at line 142 of file PndFTSCADisplay.h.

◆ fTPCZMin

double PndFTSCADisplay::fTPCZMin
protected

Definition at line 142 of file PndFTSCADisplay.h.

◆ fYMax

double PndFTSCADisplay::fYMax
protected

Definition at line 138 of file PndFTSCADisplay.h.

◆ fYMin

double PndFTSCADisplay::fYMin
protected

Definition at line 138 of file PndFTSCADisplay.h.

◆ fYX

TPad* PndFTSCADisplay::fYX
protected

Definition at line 133 of file PndFTSCADisplay.h.

Referenced by CanvasYX().

◆ fZMax

double PndFTSCADisplay::fZMax
protected

Definition at line 138 of file PndFTSCADisplay.h.

◆ fZMin

double PndFTSCADisplay::fZMin
protected

Definition at line 138 of file PndFTSCADisplay.h.

◆ fZR

TPad * PndFTSCADisplay::fZR
protected

Definition at line 133 of file PndFTSCADisplay.h.

◆ fZX

TPad * PndFTSCADisplay::fZX
protected

Definition at line 133 of file PndFTSCADisplay.h.

Referenced by CanvasZX().


The documentation for this class was generated from the following file: