Changeset 3798
- Timestamp:
- 04/22/04 18:48:33 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3796 r3798 18 18 19 19 -*-*- END OF LINE -*-*- 20 2004/04/22: Thomas Bretz 21 22 * mhist/MHCamera.[h,cc]: 23 - implemented SetUsed 24 25 26 20 27 2004/04/22: Markus Gaug 21 28 … … 32 39 * mjobs/MJCalibration.cc 33 40 - added MRawFileRead for option SetDataCheck() 41 42 34 43 35 44 2004/04/21: Thomas Bretz -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r3667 r3798 268 268 // ------------------------------------------------------------------------ 269 269 // 270 // Call this if you want to change the display status (displayed or not) 271 // for all pixels. val==0 means that the pixel is not displayed. 272 // 273 void MHCamera::SetUsed(const TArrayC &arr) 274 { 275 if (fNcells-2 != arr.GetSize()) 276 { 277 gLog << warn << "WARNING - MHCamera::SetUsed: array size mismatch... ignored." << endl; 278 return; 279 } 280 281 for (Int_t idx=0; idx<fNcells-2; idx++) 282 arr[idx] ? SetUsed(idx) : ResetUsed(idx); 283 } 284 285 // ------------------------------------------------------------------------ 286 // 270 287 // Return the mean value of all entries which are used if all=kFALSE and 271 288 // of all entries if all=kTRUE if sector<0. If sector>=0 only -
trunk/MagicSoft/Mars/mhist/MHCamera.h
r3551 r3798 143 143 144 144 virtual void SetCamError(const MCamEvent &evt, Int_t type=0); 145 virtual void SetUsed(const TArrayC &arr); 145 146 146 147 virtual void CntCamContent(const MCamEvent &evt, Double_t threshold, Int_t type=0);
Note:
See TracChangeset
for help on using the changeset viewer.