Changeset 6887


Ignore:
Timestamp:
03/24/05 11:14:13 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6883 r6887  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23
     24 2005/03/23 Markus Gaug
     25
     26   * msignal/MExtractTimeAndChargeDigitalFilter.cc
     27     - fix a bug in the time fine adjustment
     28
     29   * mjobs/hilocalib_*_mc.root
     30     - high-gain low-gain intercalibration constants for the MC.
     31
     32   * mjobs/MJCalibration.cc
     33     - use the MC- intercalibration files for MC.
     34
     35
     36
     37 2005/03/23 Thomas Bretz
     38
     39   * mhcalib/MHCalibrationChargeCam.cc:
     40     - fixed a possible crash in DrawDataCheckPixel() if
     41       pix.GetGraphEvents() returns NULL
     42
     43
     44
    2345 2005/03/23 Thomas Bretz
    2446
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r6874 r6887  
    14771477{
    14781478
    1479   if (!fIsHiLoCalibration || IsUseMC())
     1479  if (!fIsHiLoCalibration)
    14801480    return kTRUE;
    14811481
     
    15821582
    15831583    fHiLoCalibFile = GetEnv("HiLoCalibFile",fHiLoCalibFile.Data());
     1584
     1585    if (IsUseMC() && !fHiLoCalibFile.EndsWith("_mc.root"))
     1586    {
     1587        if (!fHiLoCalibFile.EndsWith(".root"))
     1588        {
     1589            *fLog << warn << "WARNING - Hi-/Lo-Gain intercalibration file ";
     1590            *fLog << fHiLoCalibFile << " has not .root as extension..." << endl;
     1591        }
     1592        else
     1593            fHiLoCalibFile.Insert(fHiLoCalibFile.Length()-5, "_mc");
     1594    }
    15841595
    15851596    return ReadHiLoCalibFile();
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc

    r6840 r6887  
    406406  const Float_t timefineadjust = time_sum/sum;
    407407 
    408   if (timefineadjust < 2./fBinningResolutionHiGain)
     408  if (TMath::Abs(timefineadjust) < 4./fBinningResolutionHiGain)
    409409    time -= timefineadjust;
    410410
     
    542542  const Float_t timefineadjust = time_sum/sum;
    543543 
    544   if (timefineadjust < 2./fBinningResolutionLoGain)
     544  if (TMath::Abs(timefineadjust) < 4./fBinningResolutionLoGain)
    545545    time -= timefineadjust;
    546546
Note: See TracChangeset for help on using the changeset viewer.