Changeset 8279 for trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
- Timestamp:
- 01/30/07 14:16:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r8165 r8279 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.48 2007-01-30 14:16:44 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 17 19 ! 18 20 ! Author(s): Thomas Bretz 1/2004 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! 21 ! Author(s): Markus Gaug 3/2004 <mailto:markus@ifae.es> 20 22 ! 21 23 ! Copyright: MAGIC Software Development, 2000-2004 … … 36 38 #include <iostream> 37 39 40 #include <TArrayC.h> 38 41 #include <TClonesArray.h> 39 42 … … 525 528 PrintBadPixels(MBadPixelsPix::kRelTimeOscillating ,"Relative Arr. Times Oscillation"); 526 529 PrintBadPixels(MBadPixelsPix::kDeviatingFFactor ,"Deviating global F-Factor"); 530 } 531 532 TArrayC MBadPixelsCam::GetUnsuitable(MBadPixelsPix::UnsuitableType_t typ) const 533 { 534 TArrayC rc(GetSize()); 535 536 for (Int_t i=0; i<rc.GetSize(); i++) 537 rc[i] = (*this)[i].IsUnsuitable(typ) ? 0 : 1; 538 539 return rc; 540 } 541 542 TArrayC MBadPixelsCam::GetUncalibrated(MBadPixelsPix::UncalibratedType_t typ) const 543 { 544 TArrayC rc(GetSize()); 545 546 for (Int_t i=0; i<rc.GetSize(); i++) 547 rc[i] = (*this)[i].IsUncalibrated(typ) ? 0 : 1; 548 549 return rc; 527 550 } 528 551
Note:
See TracChangeset
for help on using the changeset viewer.