Changeset 9369 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 03/01/09 21:54:27 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r8601 r9369 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.5 2 2007-06-24 16:31:57tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.53 2009-03-01 21:48:13 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 185 185 // Calculate the number of pixels without the given type-flags. 186 186 // 187 // The second argument aidx is the area index (see MGeomCam, MGeom Pix)187 // The second argument aidx is the area index (see MGeomCam, MGeom) 188 188 // The default (or any value less than 0) means: all 189 189 // … … 216 216 // Calculate the number of pixels with the given type-flags. 217 217 // 218 // The second argument aidx is the area index (see MGeomCam, MGeom Pix)218 // The second argument aidx is the area index (see MGeomCam, MGeom) 219 219 // The default (or any value less than 0) means: all 220 220 // … … 263 263 // Counts the number of neighbors matching NOT UnsuitableType type 264 264 // 265 Short_t MBadPixelsCam::GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeom Pix&pix) const265 Short_t MBadPixelsCam::GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeom &pix) const 266 266 { 267 267 const Int_t n2 = pix.GetNumNeighbors(); … … 284 284 // doesn't matter) has less than two reliable neighbor pixels. 285 285 // 286 // The second argument aidx is the area index (see MGeomCam, MGeom Pix)286 // The second argument aidx is the area index (see MGeomCam, MGeom) 287 287 // The default (or any value less than 0) means: all 288 288 // … … 302 302 for (int i=0; i<n; i++) 303 303 { 304 const MGeom Pix&pix = geom[i];304 const MGeom &pix = geom[i]; 305 305 if (aidx>=0 && pix.GetAidx()!=aidx) 306 306 continue; … … 320 320 // the function is called for all its neighbors. If 321 321 // 322 // The second argument aidx is the area index (see MGeomCam, MGeom Pix)322 // The second argument aidx is the area index (see MGeomCam, MGeom) 323 323 // The default (or any value less than 0) means: all 324 324 // … … 327 327 Short_t MBadPixelsCam::GetNumMaxCluster(MBadPixelsPix::UnsuitableType_t type, TObjArray &list, Int_t idx, Int_t aidx) const 328 328 { 329 const MGeom Pix *pix = (MGeomPix*)list[idx];329 const MGeom *pix = (MGeom*)list[idx]; 330 330 if (!pix) 331 331 return 0; … … 358 358 // type and the given area index. 359 359 // 360 // The second argument aidx is the area index (see MGeomCam, MGeom Pix)360 // The second argument aidx is the area index (see MGeomCam, MGeom) 361 361 // The default (or any value less than 0) means: all 362 362 // -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h
r8788 r9369 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.h,v 1.1 2 2007-12-14 09:56:01tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.h,v 1.13 2009-03-01 21:48:13 tbretz Exp $ 3 3 \* ======================================================================== */ 4 4 #ifndef MARS_MBadPixelsCam … … 15 15 class TClonesArray; 16 16 17 class MGeom Pix;17 class MGeom; 18 18 19 19 class MBadPixelsCam : public MParContainer, public MCamEvent … … 22 22 TClonesArray *fArray; //-> 23 23 24 Short_t GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeom Pix&pix) const;24 Short_t GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeom &pix) const; 25 25 Short_t GetNumMaxCluster(MBadPixelsPix::UnsuitableType_t type, TObjArray &list, Int_t idx, Int_t aidx) const; 26 26 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r8801 r9369 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.4 1 2008-01-09 11:30:24tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.42 2009-03-01 21:48:13 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 257 257 // Get the corresponding geometry and pedestal 258 258 // 259 MSignalPix 260 const MGeom Pix&gpix = (*fGeomCam)[i];259 MSignalPix &pix = (*fEvt)[i]; 260 const MGeom &gpix = (*fGeomCam)[i]; 261 261 262 262 // Do Not-Use-Central-Pixel … … 346 346 // Get the corresponding geometry and pedestal 347 347 // 348 const MGeom Pix&gpix = (*fGeomCam)[i];348 const MGeom &gpix = (*fGeomCam)[i]; 349 349 const MPedPhotPix &ppix = pedphot[i]; 350 350 … … 442 442 443 443 // Geometry of bad pixel 444 const MGeom Pix&gpix = (*fGeomCam)[i];444 const MGeom &gpix = (*fGeomCam)[i]; 445 445 446 446 // Number of neighbor pixels
Note:
See TracChangeset
for help on using the changeset viewer.