Changeset 3500 for trunk/MagicSoft/Mars/mastro
- Timestamp:
- 03/15/04 13:59:40 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCamera.cc
r3499 r3500 129 129 */ 130 130 131 v.Set(spot( 1), -spot(0));131 v.Set(spot(0), spot(1)); 132 132 133 133 const Float_t max = fGeom->GetMaxRadius()*0.70; … … 235 235 rot.RotateZ(-zdaz0.Phi()); 236 236 rot.RotateY(-zdaz0.Theta()); 237 rot.RotateZ(-TMath::Pi()/2); // align coordinate system 237 238 238 239 DrawNet(rot); … … 267 268 if (hasdot) 268 269 { 269 TMarker *m=new TMarker(spot( 1), -spot(0), 1);270 TMarker *m=new TMarker(spot(0), spot(1), 1); 270 271 m->SetBit(kCannotPick); 271 272 m->SetBit(kCanDelete); … … 275 276 } 276 277 if (h) 277 h->Fill(spot( 1), -spot(0), pow(10, -mag/2.5));278 h->Fill(spot(0), spot(1), pow(10, -mag/2.5)); 278 279 279 280 if (usecam) 280 camera->Fill(spot( 1), -spot(0), pow(10, -mag/2.5));281 camera->Fill(spot(0), spot(1), pow(10, -mag/2.5)); 281 282 282 283 num++; … … 286 287 mean *= 1./num; 287 288 288 DrawStar(mean( 1), -mean(0), *radec, !hasmean, Form("x=%.1fmm y=%.1fmm", mean(1), -mean(0)));289 DrawStar(mean(0), mean(1), *radec, !hasmean, Form("x=%.1fmm y=%.1fmm", mean(0), mean(1))); 289 290 } 290 291 }
Note:
See TracChangeset
for help on using the changeset viewer.