36 |
|
#include "Texture.h" |
37 |
|
#include "ReadCards.h" |
38 |
|
#include "FROG_Struct.h" |
39 |
+ |
#include "ObjectsInfo.h" |
40 |
|
|
41 |
|
int SAVE_WINDOW_W = 800; |
42 |
|
int SAVE_WINDOW_H = 600; |
48 |
|
int WINDOW_HEIGHT = 600; |
49 |
|
int SCREENSHOT = 0; |
50 |
|
|
51 |
+ |
int TEMP_I = 0; |
52 |
+ |
|
53 |
|
float CAM_R = 700; |
54 |
|
float CAM_tx = 0.0; |
55 |
|
float CAM_ty = 0.0; |
61 |
|
int TRACKING_LENGTH = 300;//645; |
62 |
|
|
63 |
|
float PT_CUTOFF = 1.0; |
64 |
< |
float EHCAL_CUTOFF = 4.0; |
65 |
< |
float EECAL_CUTOFF = 4.0; |
64 |
> |
double EECAL_CUTOFF[3] = {0.2,0.6,0.0001}; |
65 |
> |
double EHCAL_CUTOFF[4] = {1.5,1.5,0.5,5.0}; |
66 |
|
|
67 |
|
bool MouseStates[3]; |
68 |
|
|
96 |
|
char gHcal = 0; |
97 |
|
char gMuon = 0; |
98 |
|
char gSim = 2; |
99 |
< |
char gReco = 7; |
99 |
> |
char gReco = 15; |
100 |
|
|
101 |
|
int mTrackI = -1; |
102 |
|
bool mLoading = true; |
125 |
|
WidthAndColor WaC_Default_SimTrack = {2.0 , 0.0 , 1.0 , 1.0 , 1.0}; |
126 |
|
WidthAndColor WaC_Selected_SimTrack = {2.0 , 1.0 , 1.0 , 0.0 , 1.0}; |
127 |
|
|
128 |
+ |
std::vector<IdAndWidthAndColor*> WaC_SimTracks; |
129 |
+ |
|
130 |
+ |
ObjectsInfo objInfos; |
131 |
+ |
|
132 |
|
void DrawTrack(MySimTrack* track, MySimVertex* vertex1, MySimVertex* vertex2); |
133 |
|
void reshape (int w, int h); |
134 |
|
void display(); |
146 |
|
void menu_callback(int value); |
147 |
|
void menu_create(); |
148 |
|
void LoadCard(const char* inputCard ); |
149 |
+ |
void gl_select(int x, int y); |
150 |
+ |
void list_hits(GLint hits, GLuint *names); |
151 |
|
|
152 |
|
#endif |
153 |
|
|