Ignore:
Timestamp:
03/27/01 16:18:09 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r707 r708  
    4545Bool_t MCollAreaTrigger::Process ()
    4646{
     47    const Float_t energy = log10(fMcEvt->GetEnergy());
     48    const Float_t impact = fMcEvt->GetImpact()/100.;
    4749
    48   fCollArea->FillAll( log10( fMcEvt->GetEnergy()) ,
    49                              fMcEvt->GetImpact()/100. ) ;
    50  
    51   if ( fMcTrig->GetFirstLevel() > 0 )
    52     fCollArea->FillSel( log10( fMcEvt->GetEnergy()) ,
    53                         fMcEvt->GetImpact()/100. ) ;
    54  
    55   return kTRUE ;
    56 }
     50    fCollArea->FillAll(energy, impact);
     51
     52
     53    if (fMcTrig->GetFirstLevel() <= 0)
     54        return kTRUE;
     55
     56    fCollArea->FillSel(energy, impact);
     57
     58    return kTRUE ;
     59}
    5760
    5861Bool_t MCollAreaTrigger::PostProcess ()
Note: See TracChangeset for help on using the changeset viewer.