ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FastOpenGlDisplayer/soft/main.h
(Generate patch)

Comparing UserCode/FastOpenGlDisplayer/soft/main.h (file contents):
Revision 1.5 by querten, Fri Apr 18 11:31:21 2008 UTC vs.
Revision 1.9 by roberfro, Wed Apr 23 21:31:02 2008 UTC

# Line 36 | Line 36
36   #include "Texture.h"
37   #include "ReadCards.h"
38   #include "FROG_Struct.h"
39 + #include "ObjectInfo.h"
40  
41   int SAVE_WINDOW_W = 800;
42   int SAVE_WINDOW_H = 600;
# Line 47 | Line 48 | int WINDOW_WIDTH = 800;
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;
56  
57   int CMS_TRACKER_RADIUS = 129;
58 < int CMS_TRACKER_LENGTH = 280;
58 > int CMS_TRACKER_LENGTH = 300;
59  
60   int TRACKING_RADIUS = 129;//295;
61 < int TRACKING_LENGTH = 280;//645;
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  
69   std::vector<GLuint> theSimTracks;
70   GLuint theGeomMuon[3];
71 + GLuint theGeomMuonInEvent;
72   GLuint theGeomTracker[6];
73   GLuint theGeomTrackerInEvent;
74   GLuint theGeomEcal[3];
# Line 92 | Line 96 | char gEcal      = 0;
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;
# Line 121 | Line 125 | WidthAndColor WaC_LHC_Axis          = {3
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 + std::vector<ObjectInfo> objInfos;
131 + int kObjName = 0;
132 +
133   void DrawTrack(MySimTrack* track, MySimVertex* vertex1, MySimVertex* vertex2);
134   void reshape (int w, int h);
135   void display();
136   void initGeomMuon();
137 + void initGeomMuonInEvent();
138   void initGeomTracker();
139   void initGeomTrackerInEvent();
140   void initGeomEcal();
# Line 137 | Line 147 | void init();
147   void menu_callback(int value);
148   void menu_create();
149   void LoadCard(const char* inputCard );
150 + void gl_select(int x, int y);
151 + void list_hits(GLint hits, GLuint *names);
152  
153   #endif
154  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines