Ignore:
Timestamp:
03/21/05 13:32:33 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r6858 r6870  
    178178const Int_t MJCalibration::gkThirdBlindPixelInstallation   = 43308;
    179179const TString MJCalibration::fgReferenceFile = "mjobs/calibrationref.rc";
    180 const TString MJCalibration::fgHiLoCalibFile = "mjobs/hilocalib_df4.root";
     180const TString MJCalibration::fgHiLoCalibFile = "mjobs/hilocalib_df46.root";
    181181
    182182// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r6858 r6870  
    3333#include "MJPedestal.h"
    3434
     35// C/C++ includes
     36#include <fstream>
     37
    3538// root classes
    3639#include <TF1.h>
     
    8689#include "MFTriggerPattern.h"
    8790
    88 #include <fstream>
    89 
    9091ClassImp(MJPedestal);
    9192
     
    9495const TString  MJPedestal::fgReferenceFile   = "mjobs/pedestalref.rc";
    9596const TString  MJPedestal::fgBadPixelsFile   = "mjobs/badpixels_0_559.rc";
    96 const Float_t  MJPedestal::fgExtractWinLeft  = 2.5;
    97 const Float_t  MJPedestal::fgExtractWinRight = 5.0;
     97const Float_t  MJPedestal::fgExtractWinLeft  = 3.5;
     98const Float_t  MJPedestal::fgExtractWinRight = 4.5;
     99
    98100// --------------------------------------------------------------------------
    99101//
     
    12911293        // Get the ranges for the new extractor setting
    12921294        //
    1293         const Int_t newfirst = (Int_t)(meanpulsetime-fExtractWinLeft);
     1295        const Int_t newfirst = TMath::Nint(meanpulsetime-fExtractWinLeft);
    12941296        Int_t wshigain = fExtractor->InheritsFrom("MExtractTimeAndCharge")
    12951297          ?  ((MExtractTimeAndCharge*)fExtractor)->GetWindowSizeHiGain()
     
    13021304          ? ((MExtractTimeAndCharge*)fExtractor)->GetWindowSizeLoGain()
    13031305          : 6;
    1304         if (wslogain > 6)
    1305           wslogain = 6;
    1306 
    1307         const Int_t newlast  = (Int_t)(meanpulsetime+fExtractWinRight);
     1306        if (wslogain > 4)
     1307          wslogain = 4;
     1308
     1309        const Int_t newlast  = TMath::Nint(meanpulsetime+fExtractWinRight);
    13081310
    13091311        *fLog << all << underline
     
    13311333            *fLog << "Try to use a different extractor (e.g. with a window size of only 4 sl.) or:" << endl;
    13321334            *fLog << "Set the limit to a lower value (callisto.rc: line 329): " << endl;
    1333             *fLog << "    MJPedestalY2:ExtractWinRight: 5.0           " << endl;
     1335            *fLog << "    MJPedestalY2:ExtractWinRight: 4.5           " << endl;
    13341336            *fLog << "(ATTENTION, you will lose late cosmics pulses!)" << endl;
    13351337            *fLog << endl;
Note: See TracChangeset for help on using the changeset viewer.