#ifndef _EVENTDISPLAY_H_ #define _EVENTDISPLAY_H_ #include #include #include #include #include #include #include #include #include #include #include #include "eventInterface.h" #include "fileManager.h" class eventDisplay { public: eventDisplay(); // default constructor void readAndDraw(void); void doZoomIn(); void doZoomOut(); void doPanXP(); void doPanXM(); void doPanYP(); void doPanYM(); void doPanZP(); void doPanZM(); private: TCanvas *universe; TGeoMaterial *mat; TGeoMedium *med; TGeoVolume *top; TGeoSphere *sphere, *bead; TGeoVolume *sphereVacRaw, *sphereVacCorr, *beadVacCDC, *beadVacFDC; fileManager fm; void createResidualsCDC(residInfoCDC_t* residsCDC, int nresidsCDC, double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax); void createResidualsFDC(residInfoFDC_t* residsFDC, int nresidsFDC, double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax); void createCDCHits(); void createFDCHits(); TView* viewPtr; int trackTypeColors[4]; }; #endif // _EVENTDISPLAY_H_