27 |
|
#pragma comment (lib,"glut32.lib") |
28 |
|
#include <hash_map> |
29 |
|
using namespace stdext; |
30 |
< |
typedef hash_map<unsigned int, char*, hash_compare<unsigned int, std::less<unsigned int> >> HASH_Map; |
30 |
> |
typedef hash_map<unsigned int, char*, hash_compare<unsigned int, std::less<unsigned int> > > HASH_Map; |
31 |
|
#endif |
32 |
|
|
33 |
|
HASH_Map test; |
65 |
|
float CAM_R = 700; |
66 |
|
float CAM_tx = 0.0; |
67 |
|
float CAM_ty = 0.0; |
68 |
+ |
int TRANS_tx = 0.0; |
69 |
+ |
int TRANS_ty = 0.0; |
70 |
|
|
71 |
|
int CMS_TRACKER_RADIUS = 129; |
72 |
|
int CMS_TRACKER_LENGTH = 300; |
121 |
|
|
122 |
|
bool mHelpScreen= false; |
123 |
|
bool mRotate = true; |
124 |
+ |
|
125 |
+ |
bool mTranslation = false; |
126 |
+ |
bool stateChanged = false; |
127 |
|
float mDt = 0.005f; |
128 |
|
|
129 |
|
|
156 |
|
void initGeomEcalInEvent(); |
157 |
|
void initGeomHcal(); |
158 |
|
void initGeomHcalInEvent(); |
159 |
< |
void defineColorForSimTrack(unsigned int i); |
159 |
> |
void defineColorForSimTrack(int i); |
160 |
|
|
161 |
|
void initSimTrack(); |
162 |
|
void init(); |
166 |
|
void gl_select(int x, int y); |
167 |
|
void list_hits(GLint hits, GLuint *names); |
168 |
|
|
164 |
– |
|
169 |
|
#endif |
170 |
|
|