13 #ifndef PNDFTSCADISPLAY_H
14 #define PNDFTSCADISPLAY_H
22 class PndFTSCATracker;
26 class PndFTSCAPerformance;
38 #include "TPolyLine.h"
77 int GetTrackMC(
const PndFTSCADisplayTmpHit *vHits,
int NHits );
81 void DrawSlice( PndFTSCATracker *slice,
bool DrawRows = 0,
bool DrawGrid = 1 );
83 void DrawArc(
float x,
float y,
float r,
int Start = 1, Size_t width = 1 );
90 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);
91 void DrawParticleGlobal(
float *param,
float q,
float tStart,
float tEnd,
float b,
int color=kOrange, Size_t width = 1);
92 void DrawParticleGlobal(
float *param,
float q,
float n[4],
float b,
int color=kOrange, Size_t width = 1);
93 void DrawGBLine(
float x,
float y,
float z,
float x2,
float y2,
float z2,
int Start=1, Size_t width=1,
int projection = -1 );
96 int NHits,
int color = -1, Size_t width = -1,
bool pPoint = 0 );
98 void DrawGBTrack(
int itr,
int color = -1,
int width = -1 );
99 void DrawRecoTrack(
int itr,
int color = -1,
int width = -1 );
100 void DrawMCTrack(
int itr,
int color = -1,
int width = -1 );
117 #if !defined(PANDA_FTS)
127 #if !defined(PANDA_FTS)
void HitToGlobal(const FTSCAHit &hit, float &x, float &y, float &z)
void SetTPC(const PndFTSCAParam &tpcParam)
void DrawRecoTrack(int itr, int color=-1, int width=-1)
void DrawPVHisto(const vector< float > &pvHist, const PndFTSCAParam ¶m)
bool DrawTracklet(PndFTSCATrackParam &track, const int *hitstore, int color=-1, int width=-1, bool pPoint=0)
void DrawGBPoint(float x, float y, float z, int Start=1, Size_t width=1)
int GetColorK(double k) const
int GetTrackMC(const PndFTSCADisplayTmpHit *vHits, int NHits)
void DrawGBHit(const PndFTSCAGBTracker &tracker, int iHit, int color=-1, Size_t width=-1)
static PndFTSCADisplay & Instance()
const PndFTSCAGBTracker * fGB
void DrawGBLine(float x, float y, float z, float x2, float y2, float z2, int Start=1, Size_t width=1, int projection=-1)
int GetColorY(double y) const
const PndFTSCAGBTracker * GetGB()
void DrawGBTrackFast(const PndFTSCAGBTracker &tracker, int itr, int color=-1)
void DrawMCTrack(int itr, int color=-1, int width=-1)
PndFTSCAPerformance * fPerf
void DrawSlice(PndFTSCATracker *slice, bool DrawRows=0, bool DrawGrid=1)
void SetGB(const PndFTSCAGBTracker *GBTracker)
void DrawGBTracks(const FTSCATracks &all)
int GetColor(int i) const
void DrawGBTrack(int itr, int color=-1, int width=-1)
void SaveCanvasToFile(TString fileName)
bool DrawTrack(PndFTSCATrackParam t, double Alpha, const PndFTSCADisplayTmpHit *vHits, int NHits, int color=-1, Size_t width=-1, bool pPoint=0)
void DrawGBNPlets(const FTSCANPletsV &all)
PndFTSCADisplay & operator=(const PndFTSCADisplay &)
virtual ~PndFTSCADisplay()
void DrawPoint(float x, float y, float z, int Start=1, Size_t width=1)
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
void DrawSliceOutTrackParam(int itr, int color, Size_t width)
void DrawTrackParam(PndFTSCATrackParam t, int color=1)
void DrawArc(float x, float y, float r, int Start=1, Size_t width=1)
void DrawSliceOutTrack1(int itr, 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 DrawGBHits(const FTSCAHitsV &all)
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)
int GetColorZ(double z) const