- Timestamp:
- 05/14/07 14:29:12 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8502 r8504 20 20 2007/05/14 Thomas Bretz 21 21 22 * callisto_mux.rc: 23 - cleanup of some comments 24 22 25 * mjobs/MJCalibration.cc: 23 26 - fixed the unintentionally removed setting of pedestal … … 30 33 - according to the last changes the version number has been 31 34 increased to 9 35 36 * mcalib/MCalibrationCam.cc: 37 - added code to GetPixelContent from MCalibrationPedCam 38 39 * mcalib/Makefile, mcalib/CalibLinkDef.h: 40 - removed obsolete MCalibrationPedCam 41 42 * mhcalib/MHPedestalCam.cc: 43 - Removed references to MCalibrationPedCam use a MCalibrationCam 44 with the name MCalibrationPedCam instead 45 46 * mjobs/MJCalibration.cc: 47 - changed background color in Defects to be able to read 48 the yellow text color 49 50 * mjobs/MJPedestal.cc: 51 - removed obsolete include of MCalibrationPedCam 32 52 33 53 -
trunk/MagicSoft/Mars/mcalib/CalibLinkDef.h
r8452 r8504 23 23 #pragma link C++ class MCalibrationRelTimePix+; 24 24 #pragma link C++ class MCalibrationPulseTimeCam+; 25 #pragma link C++ class MCalibrationPedCam+;26 25 #pragma link C++ class MCalibrationQECamMagic+; 27 26 #pragma link C++ class MCalibrationQECam+; -
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc
r7804 r8504 538 538 // -------------------------------------------------------------------------- 539 539 // 540 // Dummy needed for compilation with MCamEvent541 //542 540 Bool_t MCalibrationCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const 543 541 { 544 return kTRUE; 545 } 546 547 542 if (idx > GetSize()) 543 return kFALSE; 544 545 const Float_t area = cam[idx].GetA(); 546 547 if (area == 0) 548 return kFALSE; 549 550 if ((*this)[idx].IsExcluded()) 551 return kFALSE; 552 553 switch (type) 554 { 555 case 0: 556 val = (*this)[idx].GetHiGainMean(); 557 break; 558 case 1: 559 val = (*this)[idx].GetHiGainMeanErr(); 560 break; 561 case 2: 562 val = (*this)[idx].GetHiGainSigma(); 563 break; 564 case 3: 565 val = (*this)[idx].GetHiGainSigmaErr(); 566 break; 567 case 4: 568 val = (*this)[idx].GetHiGainProb(); 569 break; 570 case 5: 571 val = (*this)[idx].GetLoGainMean(); 572 break; 573 case 6: 574 val = (*this)[idx].GetLoGainMeanErr(); 575 break; 576 case 7: 577 val = (*this)[idx].GetLoGainSigma(); 578 break; 579 case 8: 580 val = (*this)[idx].GetLoGainSigmaErr(); 581 break; 582 default: 583 return kFALSE; 584 } 585 586 return val!=-1.; 587 } 548 588 549 589 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mcalib/Makefile
r8452 r8504 48 48 MCalibrationQECam.cc \ 49 49 MCalibrationQEPix.cc \ 50 MCalibrationPedCam.cc \51 50 MCalibrationTestCalc.cc \ 52 51 MCalibrationTestCam.cc \ -
trunk/MagicSoft/Mars/mhcalib/MHPedestalCam.cc
r8490 r8504 108 108 #include "MGeomPix.h" 109 109 110 #include "MCalibrationPedCam.h"111 112 110 #include <TH1F.h> 113 111 #include <TOrdCollection.h> … … 291 289 const Int_t nareas = fGeom->GetNumAreas(); 292 290 293 fCam = (MCalibrationCam*)pList->FindObject("MCalibrationPedCam" );291 fCam = (MCalibrationCam*)pList->FindObject("MCalibrationPedCam", "MCalibrationCam"); 294 292 if (!fCam) 295 293 { 296 fCam = (MCalibrationCam*)pList->FindCreateObj( AddSerialNumber("MCalibrationPedCam"));294 fCam = (MCalibrationCam*)pList->FindCreateObj("MCalibrationCam", AddSerialNumber("MCalibrationPedCam")); 297 295 if (!fCam) 298 296 return kFALSE; -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8502 r8504 845 845 pave->ConvertNDCtoPad(); 846 846 pave->SetTextSize(0.045); 847 pave->SetFillColor(14); 847 848 pave->AddText(" "); 848 849 DrawBadPixel(*pave, disp24, 1, f, "Signal smaller 4.5 Pedestal RMS: "); … … 888 889 pave2->ConvertNDCtoPad(); 889 890 pave2->SetTextSize(0.05); 891 pave2->SetFillColor(14); 890 892 pave2->AddText(" "); 891 893 DrawBadPixel(*pave2, disp25, 1, f2, "Signal Sigma smaller Pedestal RMS: "); -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r8498 r8504 71 71 #include "MPedestalPix.h" 72 72 73 #include "MCalibrationPedCam.h"74 73 #include "MCalibrationPix.h" 75 74 #include "MHPedestalPix.h" … … 1055 1054 plist.AddToList(&fPedestalCamOut); 1056 1055 plist.AddToList(&fBadPixels); 1057 1056 1058 1057 MGeomApply geomapl; 1059 1058 MBadPixelsMerge merge(&fBadPixels);
Note:
See TracChangeset
for help on using the changeset viewer.