Changeset 11448 for trunk/Mars/mraw/MRawRunHeader.cc
- Timestamp:
- 07/18/11 16:50:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawRunHeader.cc
r9542 r11448 1278 1278 } 1279 1279 1280 void MRawRunHeader::InitFact(UShort_t num, UShort_t pix, UShort_t samples) 1281 { 1282 fNumCrates = num; 1283 fNumPixInCrate = pix; 1284 fCameraVersion = 0xfac7; 1285 fFadcType = 0xfac7; 1286 1287 fPixAssignment->Set(num*pix); 1288 1289 for (int i=0; i<num*pix; i++) 1290 (*fPixAssignment)[i] = i+1; 1291 1292 fNumSamplesHiGain = samples; 1293 fNumSamplesLoGain = 0; 1294 fNumBytesPerSample = 2; // number of bytes per sample 1295 fSamplingFrequency = 2000; // Sampling Frequency [MHz] 1296 fFadcResolution = 12; // number of significant bits 1297 } 1298 1280 1299 // -------------------------------------------------------------------------- 1281 1300 //
Note:
See TracChangeset
for help on using the changeset viewer.