Changeset 17874 for trunk/Mars


Ignore:
Timestamp:
05/21/14 16:56:17 (10 years ago)
Author:
tbretz
Message:
Made spike removal an optional variable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/callisto.C

    r17873 r17874  
    2525
    2626    bool use_delays=false;
     27
     28    int spike_removal=3;
    2729
    2830    // ------------------------------------------------------
     
    251253
    252254    MDrsCalibApply drsapply0;
    253     drsapply0.SetRemoveSpikes(4);
     255    drsapply0.SetRemoveSpikes(spike_removal);
    254256
    255257    MFillH fill0("MHDrsCalibrationTime");
     
    302304
    303305    MDrsCalibApply drsapply1;
    304     drsapply1.SetRemoveSpikes(4);
     306    drsapply1.SetRemoveSpikes(spike_removal);
    305307
    306308    /*
     
    545547
    546548    MDrsCalibApply drsapply3;
    547     drsapply3.SetRemoveSpikes(4);
     549    drsapply3.SetRemoveSpikes(spike_removal);
    548550
    549551    //---
     
    635637
    636638    MDrsCalibApply drsapply4;
    637     drsapply4.SetRemoveSpikes(4);
     639    drsapply4.SetRemoveSpikes(spike_removal);
    638640
    639641    MExtractTimeAndChargeSpline extractor4;
     
    720722
    721723    MDrsCalibApply drsapply5;
    722     drsapply5.SetRemoveSpikes(4);
     724    drsapply5.SetRemoveSpikes(spike_removal);
    723725
    724726    MFDataPhrase filterdat("(MRawEvtHeader.GetTriggerID&0xff00)==0",     "SelectDat");
Note: See TracChangeset for help on using the changeset viewer.