Changeset 4261


Ignore:
Timestamp:
06/01/04 23:35:51 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r4260 r4261  
    144144// pixel in the MArrivalTimeCam container.
    145145// Calculate the integral of the FADC time slices and store them as a new
    146 // pixel in the MExtractedSignalCam container.
     146// pixel in the MExtractedSignalCam container.
     147// The functions FindTimeAndChargeHiGain() and FindTimeAndChargeLoGain are
     148// supposed to extract the signal themselves.
    147149//
    148150Int_t MExtractTimeAndCharge::Process()
     
    182184      MArrivalTimePix     &tix = (*fArrTime)[pixid];     
    183185
    184       const Float_t pedes  = ped.GetPedestal();
    185       const Float_t pedrms = ped.GetPedestalRms();
    186      
    187       pix.SetExtractedSignal(sumhi - pedes*fNumHiGainSamples, pedrms*fSqrtHiGainSamples,
    188                              sumlo - pedes*fNumLoGainSamples, pedrms*fSqrtLoGainSamples);
    189      
     186      pix.SetExtractedSignal(sumhi, deltasumhi,sumlo, deltasumlo);
    190187      pix.SetGainSaturation(sathi, sathi, satlo);
    191188     
Note: See TracChangeset for help on using the changeset viewer.