Changeset 5398 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/12/04 11:25:10 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.