Changeset 11554 for trunk/Mars/mraw
- Timestamp:
- 07/24/11 11:02:33 (13 years ago)
- Location:
- trunk/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawRunHeader.cc
r11448 r11554 32 32 // RAW DATA FORMAT VERSION 33 33 // ======================= 34 // 35 // Format Version 12: 36 // ----------------- 37 // * fIsSigned 34 38 // 35 39 // Format Version 11: … … 202 206 fNumEventsRead=0; 203 207 fNumBytesPerSample=1; 208 fIsSigned = kFALSE; 204 209 fSamplingFrequency=300; 205 210 fFadcResolution=8; … … 1293 1298 fNumSamplesLoGain = 0; 1294 1299 fNumBytesPerSample = 2; // number of bytes per sample 1300 fIsSigned = kTRUE; 1295 1301 fSamplingFrequency = 2000; // Sampling Frequency [MHz] 1296 1302 fFadcResolution = 12; // number of significant bits -
trunk/Mars/mraw/MRawRunHeader.h
r11452 r11554 65 65 UShort_t fNumSamplesHiGain; // number of higain samples stored 66 66 UShort_t fNumBytesPerSample; // number of bytes per sample 67 Bool_t fIsSigned; 67 68 UInt_t fNumEvents; // number of events stored 68 69 UInt_t fNumEventsRead; // number of events read by the electronics … … 147 148 UInt_t GetNumSamples() const { return fNumSamplesHiGain+fNumSamplesLoGain; } 148 149 UShort_t GetNumBytesPerSample() const { return fNumBytesPerSample; } 150 Bool_t IsSigned() const { return fIsSigned; } 149 151 UInt_t GetNumEvents() const { return fNumEvents; } 150 152 UInt_t GetNumEventsRead() const { return fNumEventsRead; } … … 186 188 //Bool_t WriteEvt(ostream& fout) const; 187 189 188 ClassDef(MRawRunHeader, 1 0) // storage container for general info190 ClassDef(MRawRunHeader, 12) // storage container for general info 189 191 }; 190 192 #endif
Note:
See TracChangeset
for help on using the changeset viewer.