Changeset 2141 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 05/26/03 14:52:33 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPadSchweizer.cc
r2129 r2141 268 268 //*fLog << "Entry MPadSchweizer::Process();" << endl; 269 269 270 //------------------------------------------------ 271 // add pixels to MCerPhotEvt which are not yet in; 272 // set their numnber of photons equal to zero 273 274 UInt_t imaxnumpix = fCam->GetNumPixels(); 275 276 for (UInt_t i=0; i<imaxnumpix; i++) 277 { 278 Bool_t alreadythere = kFALSE; 279 UInt_t npix = fEvt->GetNumPixels(); 280 for (UInt_t j=0; j<npix; j++) 281 { 282 MCerPhotPix &pix = (*fEvt)[j]; 283 UInt_t id = pix.GetPixId(); 284 if (i==id) 285 { 286 alreadythere = kTRUE; 287 break; 288 } 289 } 290 if (alreadythere) 291 continue; 292 293 fEvt->AddPixel(i, 0.0, (*fPed)[i].GetMeanRms()); 294 } 295 296 297 298 //----------------------------------------- 270 299 Int_t rc=0; 271 300
Note:
See TracChangeset
for help on using the changeset viewer.