Changeset 11752 for trunk/FACT++
- Timestamp:
- 08/03/11 10:18:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataCalib.cc
r11751 r11752 172 172 fNumOffset = fNumEntries; 173 173 174 // 0.5: Scale from ADC to Millivolt175 GetSampleStats(fStats.data()+3, 0.5);174 // Scale ADC data from 12bit to 2000mV 175 GetSampleStats(fStats.data()+3, 2000./4096); 176 176 reinterpret_cast<uint32_t*>(fStats.data())[0] = GetRunId();; 177 177 } … … 190 190 fGain[i] *= 1024; 191 191 192 // 0.5: Scale from ADC to Millivolt193 GetSampleStats(fStats.data()+1024*1440*2+3, 0.5/fNumOffset);//0.5);192 // Scale ADC data from 12bit to 2000mV 193 GetSampleStats(fStats.data()+1024*1440*2+3, 2000./4096/fNumOffset);//0.5); 194 194 reinterpret_cast<uint32_t*>(fStats.data())[1] = GetRunId();; 195 195 } … … 199 199 fNumTrgOff = fNumEntries*fNumOffset; 200 200 201 // 0.5: Scale from ADC to Millivolt202 GetSampleStats(fStats.data()+1024*1440*4+3, 0.5/fNumOffset);//0.5);201 // Scale ADC data from 12bit to 2000mV 202 GetSampleStats(fStats.data()+1024*1440*4+3, 2000./4096/fNumOffset);//0.5); 203 203 reinterpret_cast<uint32_t*>(fStats.data())[2] = GetRunId();; 204 204 }
Note:
See TracChangeset
for help on using the changeset viewer.