Changeset 5887 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/18/05 22:41:24 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5885 r5887  
    2626     - fixed the remaining day of data without colour in project name
    2727       neither in digital modules bits.
     28
     29   * mpedestal/MPedCalcPedRun.[h,cc]
     30     - catch the continuous light runs with MRawRunHeader::fRunType
     31       == kRTCalibration to be recognized as effective pedestal runs.
    2832
    2933
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc

    r5848 r5887  
    250250    }
    251251 
     252  if (fRunHeader->GetRunType()==MRawRunHeader::kRTCalibration)
     253    {
     254      TString proj(fRunHeader->GetProjectName());
     255      proj.ToLower();
     256     
     257      // test if a continuous light run has been declared as calibration...
     258      if (proj.Contains("cl"))
     259        {
     260          fIsFirstPedRun = kFALSE;
     261          fIsNotPedRun   = kFALSE;
     262          return kTRUE;
     263        }
     264    }
     265 
     266
     267
    252268  fIsNotPedRun = kTRUE;
    253269  //
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.h

    r5848 r5887  
    2121    Bool_t  fIsFirstPedRun;    //! Flag to tell if the first run out of many is used
    2222    Bool_t  fIsNotPedRun;      //! Flag to tell if the current run is a pedestal run
    23     ULong_t fUsedEvents;       // Number of used (not skipped) events
     23    UInt_t fUsedEvents;       // Number of used (not skipped) events
    2424
    2525    MTriggerPattern *fTrigPattern;  //! Trigger pattern decoded
     
    4444    Int_t Finalize();
    4545
    46     ClassDef(MPedCalcPedRun, 1)   // Task to calculate pedestals from pedestal runs
     46    ClassDef(MPedCalcPedRun, 2)   // Task to calculate pedestals from pedestal runs
    4747};
    4848
Note: See TracChangeset for help on using the changeset viewer.