File indexing completed on 2026-07-16 08:12:45
0001 #ifndef EVENTDISPLAY_H
0002 #define EVENTDISPLAY_H
0003
0004 #include <vector>
0005 #include <TCanvas.h>
0006 #include <TH1F.h>
0007 #include <TArc.h>
0008 #include <TArrow.h>
0009 #include <TBox.h>
0010
0011 void EventSelection(int& ievent);
0012 void EventDisplay(int iframe);
0013
0014
0015
0016 static int iframe=-1;
0017 static TH1F *frame1 = nullptr;
0018 static TH1F *frame2 = nullptr;
0019 static TH1F *frame3 = nullptr;
0020 static TH1F *frame4 = nullptr;
0021 static TCanvas *c1=nullptr;
0022 static TCanvas *c2=nullptr;
0023 static TCanvas *c3=nullptr;
0024 static TCanvas *c4=nullptr;
0025
0026 static TArc *Circle2 = nullptr;
0027 static TArc *Circle4 = nullptr;
0028 static TArc *Circle8 = nullptr;
0029 static TArc *Circle10 = nullptr;
0030
0031
0032 const int nMax=5000;
0033 float x[nMax], y[nMax];
0034 TBox *hits[nMax];
0035 TBox *hitsRZ[nMax];
0036 static int nhits = 0;
0037 static int nhitsRZ = 0;
0038
0039
0040 TArrow *ZvtxMarker = nullptr;
0041
0042
0043 const int nMaxTrk=300;
0044 TArrow *seedtrk[nMaxTrk];
0045 TArrow *seedtrkRZ[nMaxTrk];
0046
0047 static int ntrks = 0;
0048 static int ntrksRZ = 0;
0049
0050
0051 vector<TArc*> vEmcINTTorbit;
0052 vector<TArrow*> vEmcINTT_RZ;
0053
0054
0055 const float pt0min=0.3;
0056 const float EMScale=0.14;
0057
0058
0059 static float phiSlice = 3.141592/2;
0060 const float DphiSlice = 0.5;
0061 static float Rmax = 12.0;
0062 static TArc *dphiArc = nullptr;
0063
0064 #endif