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.6 by querten, Sat Apr 19 14:34:58 2008 UTC

# Line 52 | Line 52 | float CAM_tx = 0.0;
52   float CAM_ty = 0.0;
53  
54   int CMS_TRACKER_RADIUS = 129;
55 < int CMS_TRACKER_LENGTH = 280;
55 > int CMS_TRACKER_LENGTH = 300;
56  
57   int TRACKING_RADIUS = 129;//295;
58 < int TRACKING_LENGTH = 280;//645;
58 > int TRACKING_LENGTH = 300;//645;
59  
60   float PT_CUTOFF = 1.0;
61 + float EHCAL_CUTOFF = 4.0;
62 + float EECAL_CUTOFF = 4.0;
63  
64   bool MouseStates[3];
65  
66   std::vector<GLuint> theSimTracks;
67 + GLuint theGeomMuon[3];
68 + GLuint theGeomMuonInEvent;
69   GLuint theGeomTracker[6];
70   GLuint theGeomTrackerInEvent;
71   GLuint theGeomEcal[3];
# Line 73 | Line 77 | GLuint LogoTexture;
77  
78   double t = 0;
79  
80 < std::string inputVisFile = "MinBias.vis";
80 > std::string inputVisFile;
81 > std::string inputTrackerGeom;
82 > std::string inputEcalGeom;
83 > std::string inputHcalGeom;
84 > std::string inputMuonGeom;
85  
86   MySimEvent*  event;
87   MySimEvents* events;
88  
89   Geometry* geom;
90  
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
91   char gTracker   = 0;
92   char gEcal      = 0;
93   char gHcal      = 0;
94 + char gMuon      = 0;
95 + char gSim       = 2;
96 + char gReco      = 7;
97  
98   int   mTrackI   = -1;
99   bool mLoading   = true;
# Line 106 | Line 109 | float mDt               = 0.005f;
109   GLint Menu_Geom_Tracker = 0;
110   GLint Menu_Geom_Ecal    = 0;
111   GLint Menu_Geom_Hcal    = 0;
112 + GLint Menu_Geom_Muon    = 0;
113   GLint Menu_Geom         = 0;
114   GLint Menu_SimEvent     = 0;
115   GLint Menu_RecoEvent    = 0;
# Line 121 | Line 125 | WidthAndColor WaC_Selected_SimTrack = {2
125   void DrawTrack(MySimTrack* track, MySimVertex* vertex1, MySimVertex* vertex2);
126   void reshape (int w, int h);
127   void display();
128 + void initGeomMuon();
129 + void initGeomMuonInEvent();
130   void initGeomTracker();
131   void initGeomTrackerInEvent();
132   void initGeomEcal();
133   void initGeomEcalInEvent();
134   void initGeomHcal();
135   void initGeomHcalInEvent();
136 +
137   void initSimTrack();
138   void init();
139   void menu_callback(int value);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines