Changeset 2840


Ignore:
Timestamp:
01/19/04 11:36:40 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2839 r2840  
    77 2004/01/19: Markus Gaug
    88
     9   * mcalib/MCalibrationCalc.cc
    910   * mcalib/MCalibrationPix.[h,cc]
    1011     - new Flag fExcluded to indicate if pixel has been excluded from
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc

    r2832 r2840  
    1  /* ======================================================================== *\
     1/* ======================================================================== *\
    22!
    33! *
     
    107107//
    108108MCalibrationCalc::MCalibrationCalc(const char *name, const char *title)
    109     : fColor(kEBlue)
     109    : fPedestals(NULL), fCalibrations(NULL), fSignals(NULL),
     110      fRawEvt(NULL), fRunHeader(NULL), fEvtTime(NULL),
     111      fEvents(0), fHistOverFlow(0), fCosmics(0),
     112      fNumHiGainSamples(0), fNumLoGainSamples(0), fConversionHiLo(0.),
     113      fColor(kEBlue)
    110114{
    111115
     
    139143Int_t MCalibrationCalc::PreProcess(MParList *pList)
    140144{
    141 
    142     fHistOverFlow = 0;
    143     fEvents       = 0;
    144     fCosmics      = 0;
    145145
    146146    fRawEvt = (MRawEvtData*)pList->FindObject("MRawEvtData");
     
    253253 
    254254}
    255 
    256255
    257256// --------------------------------------------------------------------------
     
    475474      pix.SetPedestal(ped,prms);
    476475
     476
     477      //
     478      // Check if the pixel has been excluded from the fits
     479      //
     480      if (pix.IsExcluded())
     481        continue;
     482
    477483      //
    478484      // perform the Gauss fits to the charges
     
    505511  return kTRUE;
    506512}
     513
Note: See TracChangeset for help on using the changeset viewer.