Changeset 7903 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 08/22/06 08:43:27 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r7864 r7903 237 237 rc++; 238 238 } 239 return rc; 240 } 241 242 // -------------------------------------------------------------------------- 243 // 244 // Count the number of unsuitable pixels. 245 // 246 Short_t MBadPixelsCam::GetNumUnsuitable() const 247 { 248 const UInt_t n = GetSize(); 249 250 Short_t rc = 0; 251 for (UInt_t i=0; i<n; i++) 252 if ((*this)[i].IsUnsuitable()) 253 rc++; 254 239 255 return rc; 240 256 } -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h
r7189 r7903 42 42 Short_t GetNumUnsuitable(MBadPixelsPix::UnsuitableType_t type, const MGeomCam *geom, Int_t aidx=-1) const; 43 43 Short_t GetNumUnsuitable(MBadPixelsPix::UnsuitableType_t type) const { return GetNumUnsuitable(type, 0); } 44 Short_t GetNumUnsuitable() const; 44 45 Short_t GetNumSuitable(MBadPixelsPix::UnsuitableType_t type, const MGeomCam *geom, Int_t aidx=-1) const; 45 46 Short_t GetNumSuitable(MBadPixelsPix::UnsuitableType_t type) const { return GetNumSuitable(type, 0); }
Note:
See TracChangeset
for help on using the changeset viewer.