Changeset 17085 for branches/Mars_MC


Ignore:
Timestamp:
09/06/13 15:21:52 (11 years ago)
Author:
ftemme
Message:
Added writing of the correct variables for fNumOffset, fNumGain and fNumTrgOff, changed the baselineMean to the new DefaultOffset
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Mars_MC/macros/fact/fake_drs_calibration.C

    r17051 r17085  
    99{
    1010    DrsCalibration drscalib;
    11     const string filename = "/fhgfs/groups/app/testingdrsfile/test150samples_2.drs.fits";
    12     uint16_t fRoi = 150;
     11    uint16_t fRoi = 1024;
     12    const string filename = "/fhgfs/groups/app/fact/mc_test/testingdrsfile/test1024samples.drs.fits";
    1313    uint16_t fNumTm = 0;
    14     float baselineMean = 3280 * 2000.0/4096.0;
     14    float baselineMean = 3720 * 2000.0/4096.0;
    1515    float baselineRms = 0;
    1616    float gainMean = 1907.35 * 16;
     
    5252    drscalib.fStep  = 2;
    5353
     54    drscalib.fNumOffset = 1000;
     55    drscalib.fNumGain   = 1000*1953125;
     56    drscalib.fNumTrgOff = 1000;
     57
    5458    drscalib.WriteFitsImp(filename,vec);
    5559
Note: See TracChangeset for help on using the changeset viewer.