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/include-Classes/MMcFormat/MMcTrigHeader.hxx

    r1261 r1789  
    9090  }
    9191
     92
     93
     94  Short_t GetMultiplicity() { return fMultiplicity; }
     95
     96  Float_t GetMeanThreshold()
     97  {
     98    int i;
     99    Float_t sum = 0., trigpix = 0.;
     100    for(i=0;i<CAMERA_PIXELS;i++)
     101    {
     102      if (fThreshold[i] < 1.e6)
     103      {
     104        sum += fThreshold[i];
     105        trigpix += 1.;
     106      }
     107    }
     108
     109    return (sum / trigpix);
     110  }
     111
     112
    92113  ClassDef(MMcTrigHeader, 2)  //Stores Montecarlo Information which describes the used trigger
    93114
Note: See TracChangeset for help on using the changeset viewer.