Ignore:
Timestamp:
02/24/03 12:26:32 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc

    r1786 r1789  
    3939#include "MMcTrig.hxx"
    4040#include "MMcRunHeader.hxx"
     41#include "MMcTrigHeader.hxx"
    4142#include "MMcCorsikaRunHeader.h"
    4243
     
    122123      "(5 degrees) for the original showers" << endl;
    123124
     125
    124126    for (UInt_t i=0; i<fNum; i++)
    125127      {
     
    136138        GetRate(i)->SetEnergyMin(fMcCorRunHeader->GetELowLim()/1000.);
    137139        GetRate(i)->SetEnergyMax(fMcCorRunHeader->GetEUppLim()/1000.);
     140
     141        TString th("MMcTrigHeader;");
     142        th += i+1;
     143
     144        MMcTrigHeader* trighead = (MMcTrigHeader*) pList->FindObject(th);
     145        GetRate(i)->SetMeanThreshold(trighead->GetMeanThreshold());
     146        GetRate(i)->SetMultiplicity(trighead->GetMultiplicity());
    138147
    139148      }
Note: See TracChangeset for help on using the changeset viewer.