Ignore:
Timestamp:
02/27/03 14:56:53 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc

    r1783 r1800  
    330330
    331331    //
    332     // Add the histograms to the paramater list.
     332    // Set for each MHMcRate object the trigger condition number in the
     333    // camera file (for the case of camera files with several conditions,
     334    // produced with the trigger_loop option.
     335    //
     336
     337    if (dim < 0)
     338      ((MHMcRate*)(hists[0]))->SetTriggerCondNum((Short_t)(-dim));
     339    else if (dim > 0)
     340      for (Short_t i = from ; i <= to; i++)
     341        ((MHMcRate*)(hists[i-1]))->SetTriggerCondNum(i);
     342
     343    //
     344    // Add the histograms to the parameter list.
    333345    //
    334346    plist.AddToList(&hists);
     
    353365
    354366    // We calculate only shower rate (not including NSB-only triggers)
    355     Float_t* BgR = new Float_t[dim];
     367    Float_t* BgR = new Float_t[num];
    356368    memset(BgR, 0, num*sizeof(Float_t));
    357369
Note: See TracChangeset for help on using the changeset viewer.