Changeset 4658 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 08/17/04 16:26:31 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r4609 r4658 1005 1005 const Int_t aidx = (*fGeom)[i].GetAidx(); 1006 1006 1007 camphes.Fill(i,nphe);1008 camphes.SetUsed(i);1009 1007 1010 1008 areaphes [aidx] += nphe; -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc
r4603 r4658 158 158 } 159 159 160 // -------------------------------------------------------------------161 //162 // Calls:163 // - MCalibrationCam::Init()164 //165 void MCalibrationChargeCam::Init(const MGeomCam &geom)166 {167 MCalibrationCam::Init(geom);168 }169 170 160 // ----------------------------------------------- 171 161 // -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h
r4338 r4658 46 46 Bool_t IsFFactorMethodValid () const; 47 47 48 // Inits49 void Init ( const MGeomCam &geom );50 51 48 // Prints 52 49 void Print(Option_t *o="") const; -
trunk/MagicSoft/Mars/mcalib/MCalibrationTestCalc.cc
r4649 r4658 121 121 } 122 122 123 fCam = (MCalibrationTestCam*)pList->FindCreateObj( AddSerialNumber("MCalibrationTestCam"));123 fCam = (MCalibrationTestCam*)pList->FindCreateObj("MCalibrationTestCam"); 124 124 if (!fCam) 125 125 { … … 411 411 bad.SetUncalibrated( MBadPixelsPix::kDeviatingNumPhots ); 412 412 bad.SetUnsuitable ( MBadPixelsPix::kUnsuitableRun ); 413 pix.SetExcluded();414 413 continue; 415 414 } … … 561 560 { 562 561 563 const TArrayI &arr = fTestCam->GetNotInterpolateablePixels(); 564 const Int_t size = arr.GetSize(); 562 TArrayI arr(0); 563 564 for (Int_t i=0; i<fCam->GetSize(); i++) 565 if ((*fCam)[i].IsExcluded()) 566 { 567 const Int_t s = arr.GetSize(); 568 arr.Set(s+1); 569 arr[s] = i; 570 } 571 572 const Int_t size = arr.GetSize(); 565 573 566 574 if (size == 0) -
trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.h
r4649 r4658 64 64 void SetNumUninterpolated ( const UInt_t i, const Int_t aidx ); 65 65 void SetNumUninterpolatedInMaxCluster( const UInt_t i ) { fNumUninterpolatedInMaxCluster = i; } 66 67 // Draw 68 void DrawPixelContent( Int_t num) const {} 66 69 67 70 ClassDef(MCalibrationTestCam, 1) // Container Test Calibration Results Camera -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc
r4636 r4658 243 243 { 244 244 245 MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject( "MExtractedSignalCam");245 MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 246 246 if (!signal) 247 247 { … … 250 250 } 251 251 252 fCam = (MCalibrationCam*)pList->FindObject( "MCalibrationChargeCam");252 fCam = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam")); 253 253 if (!fCam) 254 254 { -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.cc
r4572 r4658 90 90 #include "MParList.h" 91 91 92 #include "MCalibrationTestCam.h" 93 92 94 #include "MCalibrationCam.h" 93 95 #include "MCalibrationPix.h" … … 117 119 SetAverageNbins(5000); 118 120 119 fNotInterpolateablePixels.Set(0);120 121 } 121 122 … … 157 158 } 158 159 160 159 161 const Int_t npixels = fGeom->GetNumPixels(); 160 162 const Int_t nsectors = fGeom->GetNumSectors(); … … 378 380 379 381 if (hist.IsEmpty()) 380 { 381 const Int_t size = fNotInterpolateablePixels.GetSize(); 382 fNotInterpolateablePixels.Set(size+1); 383 fNotInterpolateablePixels[size] = i; 384 continue; 385 } 382 continue; 386 383 387 384 if (!hist.FitGaus()) -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.h
r4542 r4658 12 12 #endif 13 13 14 14 15 class MGeomCam; 15 16 class MHCalibrationTestCam : public MHCalibrationCam … … 23 24 TArrayF fRmsSigmaPhotPerArea ; 24 25 25 TArrayI fNotInterpolateablePixels;26 27 26 Bool_t ReInitHists(MParList *pList); 28 27 Bool_t FillHists(const MParContainer *par, const Stat_t w=1); … … 42 41 const Float_t GetRmsSigmaPhotPerArea ( const Int_t aidx ) const { return fRmsSigmaPhotPerArea [aidx]; } 43 42 44 const TArrayI &GetNotInterpolateablePixels () const { return fNotInterpolateablePixels; }45 46 43 void CalcAverageSigma(); 47 44
Note:
See TracChangeset
for help on using the changeset viewer.