Changeset 6242


Ignore:
Timestamp:
02/03/05 14:55:40 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6240 r6242  
    4343     - intialize fTimeShiftHiGain and fTimeShiftLoGain by default.
    4444 
     45   * mjobs/MJPedestal.cc
     46     - in case, extractor is used, put the extractor into the tasklist,
     47       otherwise ranges do not get initialized correctly (wrong memory
     48       usage!). Use an event selector, however to not skip the Process.
     49       This is as fast as before and now safe for any kind of extractor
    4550
    4651
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r6182 r6242  
    339339
    340340    SetPulserColor ( MCalibrationCam::kNONE );
    341    
     341
     342    fStrength    = 0.;
    342343    fBlindPixelFlags.Set(0);
    343344    fPINDiodeFlags  .Set(0);
     
    13891390      *fLog << inf << GetDescriptor()
    13901391            << ": Average total phes for area idx " << aidx << ": "
    1391             << Form("%7.2f +- 6.2f",areaphes[aidx],TMath::Sqrt(areaweights[aidx])) << endl;
     1392            << Form("%7.2f +- %6.2f",areaphes[aidx],TMath::Sqrt(areaweights[aidx])) << endl;
    13921393                   
    13931394      apix.SetPheFFactorMethod   ( areaphes[aidx] );
     
    14611462          pix.SetPheFFactorMethod   ( apix.GetPheFFactorMethod()    );
    14621463          pix.SetPheFFactorMethodVar( apix.GetPheFFactorMethodVar() );
     1464
    14631465          if (!pix.CalcConvFFactor())
    14641466            {
     
    14711473                bad.SetUnsuitable  ( MBadPixelsPix::kUnsuitableRun    );
    14721474            }
     1475
    14731476        }
    14741477    }
  • trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc

    r5679 r6242  
    9292//
    9393MCalibrationRelTimeCalc::MCalibrationRelTimeCalc(const char *name, const char *title)
    94     : fGeom(NULL)
     94    : fGeom(NULL), fFlags(0)
    9595{
    9696       
  • trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.h

    r5047 r6242  
    3434                                                    const MGeomCam &cam, Int_t type=0) const;
    3535 
     36  void  InitAverageAreas       ( const UInt_t i);
     37
    3638  // Prints
    3739  void  Print (Option_t *o="") const;
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6211 r6242  
    199199    {
    200200      TString dat = GetEnv("DataType", "");
     201      dat = dat.Strip(TString::kBoth);
    201202      if (dat.BeginsWith("raw", TString::kIgnoreCase))
    202203        {
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r6234 r6242  
    6262#include "MExtractor.h"
    6363#include "MExtractTimeAndCharge.h"
     64#include "MFEventSelector.h"
    6465
    6566// parameter containers
     
    955956    }
    956957
     958    MFEventSelector sel;
     959    sel.SetNumSelectEvts(0);
     960
     961    if (fExtractionType!=kFundamental)
     962      {
     963        fExtractor->SetFilter(&sel);
     964        tlist.AddToList(&sel);
     965        tlist.AddToList(fExtractor);
     966      }
     967
    957968    // ----------------------------------------------------------------------
    958969    //   Now we make sure, that in all cases the ranges are setup correctly
     
    11081119        DisplayResult(plist);
    11091120
     1121    if (fExtractionType!=kFundamental)
     1122      fExtractor->SetFilter(0);
     1123
    11101124    if (!WriteResult())
    11111125        return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.