Changeset 2152 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 06/03/03 08:21:45 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r2141 r2152 234 234 235 235 // Boolean bdontusepix[iMAXNUMPIX]; // bdontusepix is set true if the pixel should not be used in image analysis, otherwise it is true; 236 236 237 fBlinds->Clear(); 237 238 *fLog << "Don't use pixels: "; … … 245 246 246 247 *fLog << "Exclude pixels: "; 247 248 248 // Boolean bexcludepix[iMAXNUMPIX]; 249 249 for (int i=0; i<iMAXNUMPIX; i++) … … 254 254 } 255 255 *fLog << endl; 256 257 // save blind pixels for all events of this run 258 fBlnd.Set(iMAXNUMPIX); 259 for (int i=0; i<iMAXNUMPIX; i++) 260 { 261 if ( fBlinds->IsBlind(i) ) 262 { 263 fBlnd[i] = 1; 264 } 265 else 266 { 267 fBlnd[i] = 0; 268 } 269 } 256 270 257 271 fBlinds->SetReadyToSave(); … … 881 895 */ 882 896 897 // reset blind pixels for this event 898 fBlinds->Clear(); 899 for (int i=0; i<iMAXNUMPIX; i++) 900 if ( fBlnd[i]==1 ) 901 { 902 fBlinds->SetPixelBlind(i); 903 } 904 905 // reset pedestal RMS for this event 883 906 for (Int_t i=0; i<iMAXNUMPIX; i++) 884 907 (*fPedest)[i].SetMeanRms(fPedRMS[i]); … … 1108 1131 struct eventrecord event; 1109 1132 1133 1134 1110 1135 // read the eventrecord from the file 1111 1136 fIn->read((Byte_t*)&event, sizeof(struct eventrecord)); -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.h
r2132 r2152 4 4 #ifndef ROOT_TArrayF 5 5 #include <TArrayF.h> 6 #endif 7 8 #ifndef ROOT_TArrayI 9 #include <TArrayI.h> 6 10 #endif 7 11 … … 58 62 59 63 TArrayF fPedRMS; 64 TArrayI fBlnd; 60 65 61 66 Bool_t OpenNextFile();
Note:
See TracChangeset
for help on using the changeset viewer.