Changeset 7430 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 11/25/05 14:47:57 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r7288 r7430 102 102 #include "MHCalibrationCam.h" 103 103 104 #include "MLog.h"105 #include "MLogManip.h"106 107 #include "MParList.h"108 109 #include "MHCalibrationPix.h"110 111 #include "MCalibrationIntensityCam.h"112 #include "MCalibrationChargeCam.h"113 #include "MCalibrationChargePix.h"114 115 #include "MGeomCam.h"116 #include "MGeomPix.h"117 118 #include "MBadPixelsIntensityCam.h"119 #include "MBadPixelsCam.h"120 #include "MBadPixelsPix.h"121 122 #include "MRawEvtData.h"123 #include "MRawRunHeader.h"124 #include "MRawEvtPixelIter.h"125 126 #include "MExtractedSignalCam.h"127 #include "MExtractedSignalPix.h"128 129 #include "MArrayI.h"130 #include "MArrayD.h"131 132 104 #include <TOrdCollection.h> 133 105 #include <TPad.h> … … 140 112 #include <TGraph.h> 141 113 #include <TEnv.h> 114 115 #include "MLog.h" 116 #include "MLogManip.h" 117 118 #include "MParList.h" 119 120 #include "MHCalibrationPix.h" 121 122 #include "MCalibrationIntensityCam.h" 123 #include "MCalibrationChargeCam.h" 124 #include "MCalibrationChargePix.h" 125 126 #include "MGeomCam.h" 127 #include "MGeomPix.h" 128 129 #include "MBadPixelsIntensityCam.h" 130 #include "MBadPixelsCam.h" 131 #include "MBadPixelsPix.h" 132 133 #include "MRawEvtData.h" 134 #include "MRawRunHeader.h" 135 #include "MRawEvtPixelIter.h" 136 137 #include "MExtractedSignalCam.h" 138 #include "MExtractedSignalPix.h" 139 140 #include "MArrayI.h" 141 #include "MArrayD.h" 142 142 143 143 ClassImp(MHCalibrationPulseTimeCam); … … 512 512 *fLog << endl; 513 513 514 MCalibrationCam *calcam = fIntensCam ? fIntensCam->GetCam() : fCam;514 MCalibrationCam &calcam = *(fIntensCam ? fIntensCam->GetCam() : fCam); 515 515 // 516 516 // Perform the fitting for the High Gain (done in MHCalibrationCam) … … 524 524 continue; 525 525 526 MCalibrationPix &pix = (*calcam)[i];526 MCalibrationPix &pix = calcam[i]; 527 527 CalcHists(hist,pix); 528 528 } … … 534 534 { 535 535 536 MHCalibrationPix &hist = GetAverageHiGainArea(j); 537 MCalibrationPix &pix = calcam ->GetAverageArea(j);536 MHCalibrationPix &hist = GetAverageHiGainArea(j); 537 MCalibrationPix &pix = calcam.GetAverageArea(j); 538 538 CalcHists(hist,pix); 539 539 } … … 541 541 for (Int_t j=0; j<fAverageHiGainSectors->GetSize(); j++) 542 542 { 543 MHCalibrationPix &hist = GetAverageHiGainSector(j); 544 MCalibrationPix &pix = calcam ->GetAverageSector(j);543 MHCalibrationPix &hist = GetAverageHiGainSector(j); 544 MCalibrationPix &pix = calcam.GetAverageSector(j); 545 545 CalcHists(hist,pix); 546 546 } … … 549 549 } 550 550 551 void MHCalibrationPulseTimeCam::CalcHists(MHCalibrationPix &hist, MCalibrationPix &pix) 551 void MHCalibrationPulseTimeCam::CalcHists(MHCalibrationPix &hist, MCalibrationPix &pix) const 552 552 { 553 553 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.h
r6729 r7430 61 61 void DrawDataCheckPixel(MHCalibrationPix &pix, const Float_t refline); 62 62 void DisplayRefLines ( const TH1F *hist, const Float_t refline) const; 63 void CalcHists (MHCalibrationPix &hist, MCalibrationPix &pix) ;63 void CalcHists (MHCalibrationPix &hist, MCalibrationPix &pix) const; 64 64 65 65 Int_t ReadEnv ( const TEnv &env, TString prefix, Bool_t print);
Note:
See TracChangeset
for help on using the changeset viewer.