Changeset 5398
- Timestamp:
- 11/12/04 11:25:10 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5395 r5398 20 20 21 21 -*-*- END OF LINE -*-*- 22 2004/11/12: Thomas Bretz 23 24 * mraw/MRawEvtData.cc: 25 - fixed a bug in the initialisation of the arrays (in both 26 cases - hi- and lo-gain - the number of hi gain samples were 27 used 28 - do not try to read lo gains if poslo==NULL 29 30 * mraw/MRawRunHeader.cc: 31 - updated Print() 32 33 34 22 35 2004/11/11: Markus Gaug 23 36 -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r4754 r5398 187 187 *fLog << dec << all; 188 188 *fLog << GetDescriptor() << ": " << endl; 189 *fLog << "HiGain: " << nHiPix << " Pixels with " << (Int_t)nHiSamp << " Samples ";189 *fLog << "HiGain: " << nHiPix << " Pixels with " << (Int_t)nHiSamp << " Samples" << endl; 190 190 *fLog << "LoGain: " << nLoPix << " Pixels with " << (Int_t)nLoSamp << " Samples"; 191 191 … … 368 368 void MRawEvtData::InitArrays(UShort_t numconnected, UShort_t maxid) 369 369 { 370 const Int_t numlo = fRunHeader ? fRunHeader->GetNumSamplesHiGain() : 0;371 370 const Int_t numhi = fRunHeader ? fRunHeader->GetNumSamplesHiGain() : 0; 371 const Int_t numlo = fRunHeader ? fRunHeader->GetNumSamplesLoGain() : 0; 372 372 373 373 fHiGainPixId = new MArrayS(numconnected); … … 464 464 // Read data for one pixel 465 465 fin.read((char*)poshi, fRunHeader->GetNumSamplesHiGain()); 466 fin.read((char*)poslo, fRunHeader->GetNumSamplesLoGain());467 468 //469 // This is to fill the data of one pixel to the MRawEvtHeader Class.470 // The parameters are the pixelnumber and the FADC_SLICES values of ADCs471 // Add to lo gains if lflag = 1472 //473 466 fHiGainPixId->AddAt(npix, fConnectedPixels); 474 467 475 // FIXME: Not implemented in the raw files yet 476 //if (IsLoGainOn(i, j)) 477 //{ 478 fLoGainPixId->AddAt(npix, fConnectedPixels); 479 //} 468 if (poslo) 469 { 470 fin.read((char*)poslo, fRunHeader->GetNumSamplesLoGain()); 471 // FIXME: Not implemented in the raw files yet 472 //if (IsLoGainOn(i, j)) 473 //{ 474 fLoGainPixId->AddAt(npix, fConnectedPixels); 475 //} 476 } 480 477 481 478 if (ab) -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r4875 r5398 234 234 *fLog << "Run Stop: " << fRunStop << endl; 235 235 *fLog << "Crates: " << fNumCrates << " x " << fNumPixInCrate << " Pixel/Crate = " << fNumCrates*fNumPixInCrate << " Pixel/Evt" << endl; 236 *fLog << "Samples: " << fNumSamplesLoGain << "/" << fNumSamplesHiGain << " (lo/hi) = " << (fNumSamplesLoGain+fNumSamplesHiGain) * fNumCrates * fNumPixInCrate /1024 << "kB/Evt" << endl; 236 *fLog << "Num Pixels: " << GetNumNormalPixels() << " (normal) + " << GetNumSpecialPixels() << " (special) = " << GetNumConnectedPixels() << " (total)" << endl; 237 *fLog << "Samples: " << fNumSamplesHiGain << "/" << fNumSamplesLoGain << " (hi/lo) = " << (fNumSamplesLoGain+fNumSamplesHiGain) * fNumCrates * fNumPixInCrate /1024 << "kB/Evt" << endl; 237 238 *fLog << "Evt Counter: " << fNumEvents << endl; 238 239
Note:
See TracChangeset
for help on using the changeset viewer.