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.3 by roberfro, Wed Apr 16 08:20:57 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 < float EHCAL_CUTOFF = 4.0;
64 < float EECAL_CUTOFF = 4.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 75 | 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;
# Line 85 | Line 93 | Geometry* geom;
93   char gTracker   = 0;
94   char gEcal      = 0;
95   char gHcal      = 0;
96 + char gMuon      = 0;
97   char gSim       = 2;
98 < char gReco      = 7;
98 > char gReco      = 15;
99  
100   int   mTrackI   = -1;
101   bool mLoading   = true;
# Line 102 | 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 117 | 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