Changeset 1797


Ignore:
Timestamp:
02/27/03 10:57:00 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1795 r1797  
    11                                                 -*-*- END OF LINE -*-*-
     2 2003/02/27: Abelardo Moralejo
     3
     4    * mmontecarlo/MMcTriggerRateCalc.cc:
     5      - Fixed: MMCTrigHeader could not be found in the case of camera
     6        files containing single trigger condition. To be fixed: selection of
     7        one condition within a file with several.
     8    * macros/trigrate.C
     9      - no plot is made in the case of single trigger condition.
     10
    211 2003/02/25: Thomas Bretz
    312
  • trunk/MagicSoft/Mars/macros/trigrate.C

    r1790 r1797  
    183183    hists.Print();
    184184
    185     gStyle->SetOptStat(0);
    186     rate->Draw();
     185    if (num > 1)
     186      {
     187        gStyle->SetOptStat(0);
     188        rate->Draw();
     189      }
    187190}
    188191
  • trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc

    r1791 r1797  
    142142        GetRate(i)->SetEnergyMax(fMcCorRunHeader->GetEUppLim()/1000.);
    143143
    144         TString th("MMcTrigHeader;");
    145         th += i+1;
     144        TString th("MMcTrigHeader");
     145        if (fNum > 1)
     146          {
     147            th += ";";
     148            th += i+1;
     149          }
    146150
    147151        MMcTrigHeader* trighead = (MMcTrigHeader*) pList->FindObject(th);
Note: See TracChangeset for help on using the changeset viewer.