Changeset 2781 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 01/13/04 13:22:38 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
r2670 r2781 274 274 #include "MCerPhotEvt.h" 275 275 276 #include "MPedestalPix.h"277 #include "MPedestalCam.h"278 279 276 #include "MGGroupFrame.h" // MGGroupFrame 280 277 … … 559 556 else 560 557 { 561 fPed = (MPed estalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));558 fPed = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam")); 562 559 if (!fPed) 563 560 { 564 *fLog << dbginf << "MPed estalCam not found... aborting." << endl;561 *fLog << dbginf << "MPedPhotCam not found... aborting." << endl; 565 562 return kFALSE; 566 563 } … … 581 578 { 582 579 if (fSgb) 583 fData->Calc (*fEvt, *fSgb, *fCam);580 fData->CalcCleaningLevel(*fEvt, *fSgb, *fCam); 584 581 else 585 fData->Calc (*fEvt, *fPed, *fCam);582 fData->CalcCleaningLevel(*fEvt, *fPed, *fCam); 586 583 587 584 #ifdef DEBUG -
trunk/MagicSoft/Mars/mimage/MImgCleanStd.h
r2488 r2781 10 10 class MCerPhotPix; 11 11 class MCerPhotEvt; 12 class MPed estalCam;12 class MPedPhotCam; 13 13 class MCameraData; 14 14 … … 24 24 25 25 private: 26 const MGeomCam 27 MCerPhotEvt 28 MSigmabar 29 MPed estalCam *fPed; //!30 MCameraData 26 const MGeomCam *fCam; //! 27 MCerPhotEvt *fEvt; //! 28 MSigmabar *fSgb; //! 29 MPedPhotCam *fPed; //! 30 MCameraData *fData; //! 31 31 32 32 CleaningMethod_t fCleaningMethod; -
trunk/MagicSoft/Mars/mimage/MImgCleanTGB.cc
r2465 r2781 59 59 #include "MCerPhotEvt.h" 60 60 61 #include "MPed estalPix.h"62 #include "MPed estalCam.h"61 #include "MPedPhotPix.h" 62 #include "MPedPhotCam.h" 63 63 64 64 #include "MGGroupFrame.h" // MGGroupFrame … … 223 223 else 224 224 { 225 fPed = (MPed estalCam*)pList->FindObject("MPedestalCam");225 fPed = (MPedPhotCam*)pList->FindObject("MPedPhotCam"); 226 226 if (!fPed) 227 227 { 228 *fLog << dbginf << "MPed estalCam not found... aborting." << endl;228 *fLog << dbginf << "MPedPhotCam not found... aborting." << endl; 229 229 return kFALSE; 230 230 } … … 257 257 const Double_t factor = fCam->GetPixRatio(idx); 258 258 const Double_t factorsqrt = fCam->GetPixRatioSqrt(idx); 259 const Float_t noise = (*fPed)[idx].Get PedestalRms();259 const Float_t noise = (*fPed)[idx].GetRms(); 260 260 261 261 if (entry * factorsqrt <= fCleanLvl2 * noise) -
trunk/MagicSoft/Mars/mimage/MImgCleanTGB.h
r2296 r2781 10 10 class MCerPhotPix; 11 11 class MCerPhotEvt; 12 class MPed estalCam;12 class MPedPhotCam; 13 13 14 14 class MGGroupFrame; … … 23 23 24 24 private: 25 const MGeomCam 26 MCerPhotEvt 27 MSigmabar 28 MPed estalCam *fPed; //!25 const MGeomCam *fCam; //! 26 MCerPhotEvt *fEvt; //! 27 MSigmabar *fSgb; //! 28 MPedPhotCam *fPed; //! 29 29 30 30 CleaningMethod_t fCleaningMethod;
Note:
See TracChangeset
for help on using the changeset viewer.