Changeset 2010


Ignore:
Timestamp:
04/25/03 09:55:58 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2007 r2010  
    11                                                 -*-*- END OF LINE -*-*-
    22
     3 2003/04/25: Thomas Bretz
     4
     5   * mfilter/MFEnergySlope.cc:
     6     - removed obsolete PostProcess
     7
     8   * mdatacheck/MGDisplayAdc.cc:
     9     - fixed a bug which caused nothing to beeing displayed if only
     10       the Hi gains where existing (Exists->HasHi)
     11
     12   * mhist/MH.cc:
     13     - small change to GetNewPad
     14
     15   * mhistmc/MHMcEnergyMigration.h:
     16     - fixed the includes
     17
     18
     19
    320 2003/04/24: Abelardo Moralejo
    421
    522   * macros/rootlogon.C
    6      - added  gInterpreter->AddIncludePath(dir+"mhistmc");
     23     - added gInterpreter->AddIncludePath(dir+"mhistmc");
     24
     25
    726
    827 2003/04/24: Thomas Bretz
    9    
     28
     29   * macros/rootlogon.C:
     30     - added mimage
     31
     32   * macros/dohtml.C:
     33     - added mhistmc
     34     - added mimage
     35     - added status.C
     36
    1037   * mfilter/MFCT1Supercuts.[h,cc]:
    1138     - removed
    12    
     39
    1340   * manalysis/MPadSchweizer.[h,cc]:
    1441     - renamed arguments of SetHistograms to Mars style
     
    2249   * manalysis/MSigmabarParam.h:
    2350     - added const qualifiers to getters
    24      
     51
    2552   * mfileio/MWriteRootFile.[h,cc]:
    2653     - fixed support for UPDATE
    27      
     54
    2855   * mfilter/MFEnergySlope.cc:
    2956     - cleaned
     
    3865   * mimage/MHillasSrc.[h,cc], mimage/MHHillasSrc.[h,cc]:
    3966     - like suggested by Wolfgang: removed Head-Tail
     67
     68   * mbase/MEvtLoop.cc:
     69     - fixed a bug in the progress bar update at the end of the loop
    4070
    4171
  • trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc

    r1916 r2010  
    304304
    305305    for (Int_t i=0; i<nhi; i++)
    306         if (fHists->Exists(i))
     306        if (fHists->HasHi(i))
    307307            fHistoList->AddEntry(fHists->GetHistHi(i)->GetName(), i+1);
    308308
     
    327327    fCanvas->Clear();
    328328
    329     if (!fHists->Exists(selected-1))
     329    const Int_t idx = selected-1;
     330
     331    if (!fHists->HasHi(idx))
    330332        return;
    331333
    332     const Int_t type = fHists->HasLo(selected-1) ? fHistoType : M_RADIO_HI;
     334    const Int_t type = fHists->HasLo(idx) ? fHistoType : M_RADIO_HI;
    333335
    334336    switch (type)
     
    340342        fCanvas->cd();
    341343        if (type==M_RADIO_HI)
    342             fHists->DrawHi(selected-1);
     344            fHists->DrawHi(idx);
    343345        else
    344             fHists->DrawLo(selected-1);
     346            fHists->DrawLo(idx);
    345347        break;
    346348
     
    349351
    350352        fCanvas->cd(1);
    351         fHists->DrawHi(selected-1);
     353        fHists->DrawHi(idx);
    352354
    353355        fCanvas->cd(2);
    354         fHists->DrawLo(selected-1);
     356        fHists->DrawLo(idx);
    355357        break;
    356358    }
  • trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc

    r2008 r2010  
    178178}
    179179
    180 // --------------------------------------------------------------------------
    181 //
    182 //  Postprocess all filters.
    183 //
    184 Bool_t MFEnergySlope::PostProcess()
    185 {
    186     return kTRUE;
    187 }
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.cc

    r1966 r2010  
    486486        max = event.GetNumPhotonsMax(fGeomCam);
    487487
    488         if (max < 1.)
    489             max = 1.;
     488        if (max==min)
     489            max = min +1;
    490490
    491491        UpdateLegend(min, max);
     
    531531        max = event.GetMeanMax(fGeomCam);
    532532
    533         if (max < 20.)
    534             max = 20.;
     533        if (max==min)
     534            max = min +1;
    535535
    536536        UpdateLegend(min, max);
     
    569569        max = event.GetErrorPhotMax(fGeomCam);
    570570
    571         if (max < 20.)
    572             max = 20.;
     571        if (max==min)
     572            max = min +1;
    573573
    574574        UpdateLegend(min, max);
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r1992 r2010  
    725725    TString str(opt);
    726726
    727     if (!str.Contains("nonew", TString::kIgnoreCase) || !gPad)
     727    if (!str.Contains("nonew", TString::kIgnoreCase))
    728728        return NULL;
    729729
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h

    r1992 r2010  
    77
    88#ifndef ROOT_TH3
    9 #include "TH3.h"
    10 #endif
    11 
    12 #ifndef ROOT_TH2
    13 #include "TH2.h"
     9#include <TH3.h>
    1410#endif
    1511
Note: See TracChangeset for help on using the changeset viewer.