Changeset 3415
- Timestamp:
- 03/05/04 21:29:08 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/MagicSoft/Mars/Changelog ¶
r3414 r3415 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/03/05: Nadia Tonello 8 9 * manalysis/MBlindPixelsCalc2.[h,cc] 10 * manalysis/AnalysisLinkDef.h 11 * manalysis/Makefile 12 - Temporary class added (will be included in mbadpixels/ soon) 13 - All the functions of MBlindPixelCalc are kept(with small improvements) 14 - New function added: SetCheckPedestalRms 15 16 * manalysis/MCerPhotPix.h 17 - Status Unmapped added (not include the pixel in the cleaned image) 18 19 * mimage/MImgCleanStd.cc 20 - Checks for Unmapped status added 21 22 * mastro/MAstroCatalog.cc 23 * msql/MSQLServer.cc 24 - include <stdlib.h> to solve compilation error 25 26 6 27 2004/03/05: Sebastian Raducci 7 28 * msignal/MArrivalTimeCalc.cc -
TabularUnified trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h ¶
r3306 r3415 16 16 #pragma link C++ class MBlindPixels+; 17 17 #pragma link C++ class MBlindPixelCalc+; 18 #pragma link C++ class MBlindPixelsCalc2+; 18 19 19 20 #pragma link C++ class MPedestalPix+; -
TabularUnified trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h ¶
r2856 r3415 12 12 Int_t fPixId; // the pixel Id 13 13 14 UShort_t fRing; // NT: number of analyzed rings around the core pixels (fRing>0 means: used)14 Short_t fRing; // NT: number of analyzed rings around the core pixels, fRing>0 means: used, fRing= 0 means: unused, fRing= -1 means: unmapped (no possible to use in the calculation of the image parameters) 15 15 Bool_t fIsCore; // the pixel is a Core pixel -> kTRUE 16 16 … … 30 30 31 31 Bool_t IsPixelUsed() const { return fRing>0; } 32 Bool_t IsPixelUnmapped() const { return fRing==-1; } 32 33 void SetPixelUnused() { fRing=0; } 33 34 void SetPixelUsed() { fRing=1; } 35 void SetPixelUnmapped() { fRing=-1;} 34 36 35 37 void SetRing(UShort_t r) { fRing = r; } … … 52 54 void Print(Option_t *opt = NULL) const; 53 55 54 ClassDef(MCerPhotPix, 2) // class containing information about the Cerenkov Photons in a pixel56 ClassDef(MCerPhotPix, 3) // class containing information about the Cerenkov Photons in a pixel 55 57 }; 56 58 … … 58 60 59 61 62 -
TabularUnified trunk/MagicSoft/Mars/manalysis/Makefile ¶
r3331 r3415 60 60 MBlindPixels.cc \ 61 61 MBlindPixelCalc.cc \ 62 MBlindPixelsCalc2.cc \ 62 63 MEventRate.cc \ 63 64 MEventRateCalc.cc \ -
TabularUnified trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc ¶
r3402 r3415 42 42 #include <TVirtualPad.h> 43 43 44 #include <stdlib.h> 45 44 46 #include "MLog.h" 45 47 #include "MLogManip.h" -
TabularUnified trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc ¶
r3183 r3415 340 340 MCerPhotEvtIter Next(fEvt, kFALSE); 341 341 while ((pix=static_cast<MCerPhotPix*>(Next()))) 342 if ( data[pix->GetPixId()] <= fCleanLvl1)342 if (!pix->IsPixelUnmapped() && data[pix->GetPixId()] <= fCleanLvl1) 343 343 pix->SetPixelUnused(); 344 344 } … … 356 356 // Loop over used pixels only 357 357 TIter Next(*fEvt); 358 358 359 while ((pix=static_cast<MCerPhotPix*>(Next()))) 359 {360 { 360 361 // get pixel id of this entry 361 362 const Int_t idx = pix->GetPixId(); … … 387 388 // now we declare all pixels that survive as CorePixels 388 389 // 390 389 391 Next.Reset(); 390 392 while ((pix=static_cast<MCerPhotPix*>(Next()))) 391 pix->SetPixelCore(); 393 { 394 if ( pix->IsPixelUsed()) 395 pix->SetPixelCore();} 392 396 } 393 397 … … 430 434 // 431 435 if (pix.GetRing() != 0) 432 return; 436 { 437 return; 438 } 433 439 434 440 // … … 471 477 472 478 // Loop over all pixels 479 473 480 MCerPhotEvtIter NextAll(fEvt, kFALSE); 474 481 while ((pix=static_cast<MCerPhotPix*>(NextAll()))) 475 482 { 476 483 // 477 // if pixel is a core pixelgo to the next pixel484 // if pixel is a core pixel or unmapped, go to the next pixel 478 485 // 479 if (pix->IsPixelCore()) 480 continue; 481 482 if (data[pix->GetPixId()] <= fCleanLvl2) 483 continue; 484 485 if (r==1) 486 CleanStep3b(*pix); 487 else 488 CleanStep4(r, *pix); 486 if (pix->IsPixelCore()) 487 { 488 continue;} 489 if (pix->IsPixelUnmapped()) 490 { 491 continue;} 492 493 if (data[pix->GetPixId()] <= fCleanLvl2) 494 { 495 continue;} 496 497 if (r==1) 498 { 499 CleanStep3b(*pix);} 500 else 501 { 502 CleanStep4(r, *pix);} 503 489 504 } 490 505 } … … 553 568 #endif 554 569 CleanStep1(); 570 555 571 #ifdef DEBUG 556 572 *fLog << all << "CleanStep 2" << endl; -
TabularUnified trunk/MagicSoft/Mars/msql/MSQLServer.cc ¶
r3328 r3415 36 36 #include <iostream> 37 37 #include <iomanip> 38 #include <stdlib.h> 38 39 39 40 #include <TROOT.h>
Note:
See TracChangeset
for help on using the changeset viewer.