Ignore:
Timestamp:
10/11/13 14:11:19 (11 years ago)
Author:
ftemme
Message:
changed values for baselineMean and gainMean according to a simulated 12 bit ADC
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/macros/fact/fake_drs_calibration.C

    r17148 r17208  
    99{
    1010    DrsCalibration drscalib;
    11     uint16_t fRoi = 1024;
    12     const string filename = "/fhgfs/groups/app/fact/mc_test/testingdrsfile/test1024samples.drs.fits";
     11    uint16_t fRoi = 300;
     12    const string filename = "/fhgfs/groups/app/fact/mc_test/testingdrsfile/12bitADC/offsetMinus1850/test300samples.drs.fits";
    1313    uint16_t fNumTm = 0;
    14     float baselineMean = 3720 * 2000.0/4096.0;
     14    float baselineMean = -1850.0 * 2000.0/4096.0;
    1515    float baselineRms = 0;
    16     float gainMean = 1907.35 * 16;
     16    float gainMean = 1907.35;
    1717    float gainRms = 0;
    1818    float triggerOffsetMean = 0;
Note: See TracChangeset for help on using the changeset viewer.