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.2 by querten, Tue Apr 15 16:16:49 2008 UTC vs.
Revision 1.7 by querten, Sun Apr 20 07:58:58 2008 UTC

# Line 47 | Line 47 | int WINDOW_WIDTH = 800;
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];
# Line 73 | Line 79 | GLuint LogoTexture;
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;
# Line 106 | Line 111 | float mDt               = 0.005f;
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;
# Line 121 | Line 127 | WidthAndColor WaC_Selected_SimTrack = {2
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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines