- Timestamp:
- 09/06/13 15:21:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Mars_MC/macros/fact/fake_drs_calibration.C
r17051 r17085 9 9 { 10 10 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"; 13 13 uint16_t fNumTm = 0; 14 float baselineMean = 3 280 * 2000.0/4096.0;14 float baselineMean = 3720 * 2000.0/4096.0; 15 15 float baselineRms = 0; 16 16 float gainMean = 1907.35 * 16; … … 52 52 drscalib.fStep = 2; 53 53 54 drscalib.fNumOffset = 1000; 55 drscalib.fNumGain = 1000*1953125; 56 drscalib.fNumTrgOff = 1000; 57 54 58 drscalib.WriteFitsImp(filename,vec); 55 59
Note:
See TracChangeset
for help on using the changeset viewer.