Changeset 3734 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 04/14/04 16:35:59 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
r3541 r3734 96 96 void MCerPhotEvt::Reset() 97 97 { 98 fNumPixels = 0;99 fMaxIndex = 0;98 fNumPixels = 0; 99 fMaxIndex = -1; 100 100 fLut.Set(0); 101 101 // fPixels->Delete(); … … 104 104 void MCerPhotEvt::FixSize() 105 105 { 106 fLut.Set(fMaxIndex );106 fLut.Set(fMaxIndex+1); 107 107 108 108 if (fPixels->GetEntriesFast() == (Int_t)fNumPixels) … … 401 401 402 402 fLut[idx] = fNumPixels; 403 if ( (UInt_t)idx>fMaxIndex)404 fMaxIndex= (UInt_t)idx;403 if (idx>fMaxIndex) 404 fMaxIndex=idx; 405 405 406 406 return new ((*fPixels)[fNumPixels++]) MCerPhotPix(idx, nph, er); -
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h
r3541 r3734 24 24 private: 25 25 UInt_t fNumPixels; 26 UInt_t fMaxIndex;26 Int_t fMaxIndex; 27 27 TArrayI fLut; // Lookup tabel to lookup pixel by index 28 28 TClonesArray *fPixels; //-> FIXME: Change TClonesArray away from a pointer? -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r3466 r3734 73 73 gLog << (fRing>0?" Used ":" Unused "); 74 74 gLog << (fIsCore?" Core ":" "); 75 gLog << "High gain " << (fIsHGSaturated?" ":"not") << " saturated";76 gLog << (fIsSaturated?" ":"Not") << " saturated";77 gLog << " 75 gLog << (fIsSaturated?" ":"not") << " saturated "; 76 gLog << "High gain " << (fIsHGSaturated?" ":"not") << " saturated "; 77 gLog << "Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl; 78 78 }
Note:
See TracChangeset
for help on using the changeset viewer.