Changeset 2141 for trunk/MagicSoft/Mars
- Timestamp:
- 05/26/03 14:52:33 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2140 r2141 1 1 -*-*- END OF LINE -*-*- 2 3 2003/05/26: Wolfgang Wittek 4 5 * mfileio/MCT1ReadPreProc.cc 6 - put back : if (event.spixsig_10thphot[i]==0) 7 continue; 8 9 * Manalysis/MPadSchweizer.cc 10 - add pixels to MCerPhotEvt which are not yet in; 11 set their number of photons equal to zero 12 13 14 2 15 2003/05/23: Abelardo Moralejo 3 16 … … 75 88 seem to work well. Any other kind of ordering might be harmful 76 89 as well (in theta, phi or whatever). 90 91 92 77 93 78 94 -
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 -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r2136 r2141 920 920 for (Int_t i=0; i<iMAXNUMPIX; i++) 921 921 { 922 // next 2 statements commented out by WW 923 //if (event.spixsig_10thphot[i]==0) 924 // continue; 922 //*fLog << event.spixsig_10thphot[i] << " "; 923 924 if (event.spixsig_10thphot[i]==0) 925 continue; 925 926 926 927 fNphot->AddPixel(i, 0.1*event.spixsig_10thphot[i],
Note:
See TracChangeset
for help on using the changeset viewer.