47 |
|
int WINDOW_HEIGHT = 600; |
48 |
|
int SCREENSHOT = 0; |
49 |
|
|
50 |
+ |
int TEMP_I = 0; |
51 |
+ |
|
52 |
|
float CAM_R = 700; |
53 |
|
float CAM_tx = 0.0; |
54 |
|
float CAM_ty = 0.0; |
55 |
|
|
56 |
|
int CMS_TRACKER_RADIUS = 129; |
57 |
< |
int CMS_TRACKER_LENGTH = 280; |
57 |
> |
int CMS_TRACKER_LENGTH = 300; |
58 |
|
|
59 |
|
int TRACKING_RADIUS = 129;//295; |
60 |
< |
int TRACKING_LENGTH = 280;//645; |
60 |
> |
int TRACKING_LENGTH = 300;//645; |
61 |
|
|
62 |
|
float PT_CUTOFF = 1.0; |
63 |
+ |
double EECAL_CUTOFF[3] = {0.2,0.6,0.0001}; |
64 |
+ |
double EHCAL_CUTOFF[4] = {1.5,1.5,0.5,5.0}; |
65 |
|
|
66 |
|
bool MouseStates[3]; |
67 |
|
|
68 |
|
std::vector<GLuint> theSimTracks; |
69 |
+ |
GLuint theGeomMuon[3]; |
70 |
+ |
GLuint theGeomMuonInEvent; |
71 |
|
GLuint theGeomTracker[6]; |
72 |
|
GLuint theGeomTrackerInEvent; |
73 |
|
GLuint theGeomEcal[3]; |
79 |
|
|
80 |
|
double t = 0; |
81 |
|
|
82 |
< |
std::string inputVisFile = "MinBias.vis"; |
82 |
> |
std::string inputVisFile; |
83 |
> |
std::string inputTrackerGeom; |
84 |
> |
std::string inputEcalGeom; |
85 |
> |
std::string inputHcalGeom; |
86 |
> |
std::string inputMuonGeom; |
87 |
|
|
88 |
|
MySimEvent* event; |
89 |
|
MySimEvents* events; |
90 |
|
|
91 |
|
Geometry* geom; |
92 |
|
|
83 |
– |
|
84 |
– |
bool mPSimHit = false; |
85 |
– |
bool mSimTrack = true; |
86 |
– |
bool mSimVertex = true; |
87 |
– |
bool mRecoTrack = true; |
88 |
– |
bool mRecoEcalHit = true; |
89 |
– |
bool mRecoHcalHit = true; |
90 |
– |
|
93 |
|
char gTracker = 0; |
94 |
|
char gEcal = 0; |
95 |
|
char gHcal = 0; |
96 |
+ |
char gMuon = 0; |
97 |
+ |
char gSim = 2; |
98 |
+ |
char gReco = 15; |
99 |
|
|
100 |
|
int mTrackI = -1; |
101 |
|
bool mLoading = true; |
111 |
|
GLint Menu_Geom_Tracker = 0; |
112 |
|
GLint Menu_Geom_Ecal = 0; |
113 |
|
GLint Menu_Geom_Hcal = 0; |
114 |
+ |
GLint Menu_Geom_Muon = 0; |
115 |
|
GLint Menu_Geom = 0; |
116 |
|
GLint Menu_SimEvent = 0; |
117 |
|
GLint Menu_RecoEvent = 0; |
127 |
|
void DrawTrack(MySimTrack* track, MySimVertex* vertex1, MySimVertex* vertex2); |
128 |
|
void reshape (int w, int h); |
129 |
|
void display(); |
130 |
+ |
void initGeomMuon(); |
131 |
+ |
void initGeomMuonInEvent(); |
132 |
|
void initGeomTracker(); |
133 |
|
void initGeomTrackerInEvent(); |
134 |
|
void initGeomEcal(); |
135 |
|
void initGeomEcalInEvent(); |
136 |
|
void initGeomHcal(); |
137 |
|
void initGeomHcalInEvent(); |
138 |
+ |
|
139 |
|
void initSimTrack(); |
140 |
|
void init(); |
141 |
|
void menu_callback(int value); |