Changeset 8504 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 05/14/07 14:29:12 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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 \
Note:
See TracChangeset
for help on using the changeset viewer.