Changeset 6393 for trunk


Ignore:
Timestamp:
02/12/05 11:36:50 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6392 r6393  
    2929   * callisto.rc
    3030     - made intitializations of extractors more explicit
     31
     32   * mpedestal/MExtractPedestal.cc
     33     - make check for even number of slices in the case of "fundamental"
     34       pedestal calc.
    3135
    3236
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r6296 r6393  
    565565{
    566566
    567   /*
    568   if (IsInterlaced())
    569     {
    570       if (!(fTrigPattern->GetPrescaled() & MTriggerPattern::kCalibration))
    571         {
    572           if (IsDebug())
    573             {
    574             for (Int_t i=16; i>= 0; i--)
    575               *fLog << err << (fTrigPattern->GetPrescaled() >> i & 1);
    576             *fLog  << endl;
    577             }
    578           return kTRUE;
    579         }
    580       else
    581         {
    582           if (IsDebug())
    583             {
    584               for (Int_t i=16; i>= 0; i--)
    585                 *fLog << inf << (fTrigPattern->GetPrescaled() >> i & 1);
    586               *fLog  << endl;
    587             }
    588         }
    589     }
    590   */
    591 
    592567  const MCalibrationCam::PulserColor_t col = fCalibPattern->GetPulserColor();
    593568  const Float_t strength = fCalibPattern->GetPulserStrength();
  • trunk/MagicSoft/Mars/mhcalib/MHPedestalCam.cc

    r6335 r6393  
    119119using namespace std;
    120120
    121 const Int_t   MHPedestalCam::fgNbins      = 100;
    122 const Axis_t  MHPedestalCam::fgFirst      = -49.;
    123 const Axis_t  MHPedestalCam::fgLast       = 151.;
     121const Int_t   MHPedestalCam::fgNbins      = 200;
     122const Axis_t  MHPedestalCam::fgFirst      = -49.5;
     123const Axis_t  MHPedestalCam::fgLast       = 150.5;
    124124const TString MHPedestalCam::gsHistName   = "Pedestal";
    125125const TString MHPedestalCam::gsHistTitle  = "Pedestal";
  • trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc

    r6321 r6393  
    267267  const Int_t odd  = windows & 0x1;
    268268 
    269   if (odd)
     269  if (odd && !fExtractor)
    270270  {
    271271      *fLog << warn << GetDescriptor();
    272       *fLog << " - WARNING: Window size in SetExtraxtWindow has to be even... ";
     272      *fLog << " - WARNING: Window size in SetExtractWindow has to be even... ";
    273273      *fLog << " raising from " << windows << " to ";
    274274      windows += 1;
     
    280280  {
    281281      *fLog << warn << GetDescriptor();
    282       *fLog << " - WARNING: Window size in SetExtraxtWindow has to be > 0... adjusting to 2!" << endl;
     282      *fLog << " - WARNING: Window size in SetExtractWindow has to be > 0... adjusting to 2!" << endl;
    283283      windows = 2;
    284284      rc = kFALSE;
Note: See TracChangeset for help on using the changeset viewer.