- Timestamp:
- 03/15/04 13:59:40 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3498 r3500 19 19 -*-*- END OF LINE -*-*- 20 20 21 22 23 21 2004/03/15: Wolfgang Wittek 24 22 25 23 * mastro/MObservatory.[h,cc] 26 24 - remove bugs in RotationAngle(theta, phi, sin, cos) 25 27 26 28 27 … … 47 46 - added fLut.Set to FixSize and resize fLut by a factor of 2 48 47 instead of +1 which acelerates creation of all pixels a lot 48 49 * mbadpixels/MBadPixelsPix.cc: 50 - fixed a typo 51 52 * mfilter/MFSoftwareTrigger.cc: 53 - made statistics output meaning independant of usage of filter! 54 55 * mhbase/MFill.[h,cc]: 56 - added possibility to give tab a different name 57 58 * mhist/MHCamera.cc: 59 - fixed a bug when determin scale for same-option 60 61 * mjobs/MJCalibration.cc: 62 - changed tab names for MFillH 49 63 50 64 -
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 } -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc
r3472 r3500 49 49 { 50 50 fName = name ? name : "MBadPixelsPix"; 51 fTitle = title ? title : "Container stor eing bad pixel information for a single pixel";51 fTitle = title ? title : "Container storing bad pixel information for a single pixel"; 52 52 53 53 fInfo[1] = 0; -
trunk/MagicSoft/Mars/mfilter/MFSoftwareTrigger.cc
r3454 r3500 162 162 *fLog << dec << setfill(' '); 163 163 164 *fLog << " " << setw(7) << fCut[0] << " (" << setw(3) ; 165 *fLog << (int)(fCut[0]*100/GetNumExecutions()); 166 *fLog << "%) Evts fullfilled software trigger"; 167 *fLog << " (NumPhotons>=" << fNumMinPhotons << ", NumNeighbors>="; 168 *fLog << (int)fNumNeighbors << ")" << endl; 164 169 *fLog << " " << setw(7) << fCut[1] << " (" << setw(3) ; 165 *fLog << (int)(fCut[1]*100/GetNumExecutions()) ; 166 *fLog << "%) Evts skipped due to: Software trigger not fullfilled" ; 167 *fLog << " (NumPhotons>=" << fNumMinPhotons << ", NumNeighbors>="; 168 *fLog << fNumNeighbors << ")" << endl; 169 170 *fLog << " " << fCut[0] << " (" << (int)(fCut[0]*100/GetNumExecutions()) ; 171 *fLog << "%) Evts survived software trigger!" << endl; 172 *fLog << endl; 170 *fLog << (int)(fCut[1]*100/GetNumExecutions()); 171 *fLog << "%) Evts didn't fullfill software trigger." << endl; 173 172 174 173 return kTRUE; -
trunk/MagicSoft/Mars/mhbase/MFillH.cc
r3226 r3500 356 356 return kTRUE; 357 357 358 fCanvas = &fDisplay->AddTab(f H->GetName());358 fCanvas = &fDisplay->AddTab(fNameTab.IsNull() ? fH->GetName() : fNameTab.Data()); 359 359 fH->Draw(); 360 360 -
trunk/MagicSoft/Mars/mhbase/MFillH.h
r3144 r3500 28 28 MH* fH; // Pointer to the MH container to get filled 29 29 TString fHName; // Name to a MH container to get filled 30 TString fNameTab; 30 31 31 32 MWeight *fWeight; // Pointer to the container storing a weight … … 54 55 ~MFillH(); 55 56 57 void SetNameTab(const char *n="") { fNameTab = n; } 58 56 59 void SetRuleForIdx(const TString rule); 57 60 void SetRuleForIdx(MData *rule); -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r3471 r3500 626 626 // necessary for 'same' option and allows distorted images of the camera! 627 627 const Float_t maxr = (1-fGeomCam->GetConvMm2Deg())*fGeomCam->GetMaxRadius()/2; 628 const Float_t conv = issame ||628 const Float_t conv = !issame || 629 629 gPad->GetX1()<-maxr || gPad->GetY1()<-maxr || 630 630 gPad->GetX2()> maxr || gPad->GetY2()>maxr ? 1 : fGeomCam->GetConvMm2Deg(); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3485 r3500 543 543 MCalibrationChargeCalc calcalc; 544 544 545 MFillH fillpin ("MHCalibrationChargePINDiode", "MExtractedSignalPINDiode"); 546 MFillH fillblind("MHCalibrationChargeBlindPix", "MExtractedSignalBlindPixel"); 547 MFillH fillcam ("MHCalibrationChargeCam", "MExtractedSignalCam"); 545 MFillH fillpin("MHCalibrationChargePINDiode", "MExtractedSignalPINDiode"); 546 MFillH fillbnd("MHCalibrationChargeBlindPix", "MExtractedSignalBlindPixel"); 547 MFillH fillcam("MHCalibrationChargeCam", "MExtractedSignalCam"); 548 fillpin.SetNameTab("PINDiode"); 549 fillbnd.SetNameTab("BlindPix"); 550 fillcam.SetNameTab("Charge"); 551 548 552 // 549 553 // Apply a filter against cosmics … … 565 569 tlist.AddToList(&fillcam); 566 570 tlist.AddToList(&fillpin); 567 tlist.AddToList(&fillb lind);571 tlist.AddToList(&fillbnd); 568 572 tlist.AddToList(&calcalc); 569 573
Note:
See TracChangeset
for help on using the changeset viewer.