Changeset 9313 for trunk/MagicSoft/Mars/msimreflector
- Timestamp:
- 02/11/09 10:48:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimreflector/MReflector.cc
r9277 r9313 37 37 #include <TClass.h> 38 38 #include <TSystem.h> 39 #include <TEllipse.h> 39 40 40 41 #include "MQuaternion.h" … … 43 44 #include "MLog.h" 44 45 #include "MLogManip.h" 46 47 #include "MH.h" 45 48 46 49 ClassImp(MReflector); … … 254 257 // -------------------------------------------------------------------------- 255 258 // 259 // Print the collection of mirrors 260 // 261 void MReflector::Print(Option_t *o) const 262 { 263 *fLog << all << GetDescriptor() << " (" << GetNumMirrors() << "): " << endl; 264 265 fMirrors.Print(o); 266 } 267 268 // -------------------------------------------------------------------------- 269 // 256 270 // Paint the collection of mirrors 257 271 // 258 272 void MReflector::Paint(Option_t *o) 259 273 { 274 if (!TString(o).Contains("same", TString::kIgnoreCase)) 275 MH::SetPadRange(-fMaxR*1.01, -fMaxR*1.01, fMaxR*1.01, fMaxR*1.01); 276 260 277 fMirrors.Paint(o); 261 /* 262 TIter Next(&fMirrors); 263 MMirror *m = 0; 264 265 while ((m=static_cast<MMirror*>(Next()))) 266 m->Paint(o);*/ 278 279 TEllipse e; 280 e.SetFillStyle(0); 281 e.SetLineColor(17); 282 e.PaintEllipse(0, 0, fMaxR, fMaxR, 0, 360, 0); 267 283 } 268 284
Note:
See TracChangeset
for help on using the changeset viewer.