Ignore:
Timestamp:
04/23/16 21:25:48 (9 years ago)
Author:
tbretz
Message:
Removed the scaling in partially broken patches... this would not increase the trigger rate in a correct way
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/manalysis/MSoftwareTrigger.cc

    r18477 r18478  
    9090Bool_t MSoftwareTrigger::ReInit(MParList *pList)
    9191{
     92    // FIXME: Check number of samples!
    9293    return kTRUE;
    9394}
     
    133134    // apply correction factor for patches
    134135    // 927/9, 80/9, 873/9, 863/9, 297/9, 868/9
    135 
     136/*
    136137    const int excl[] = { 8, 33, 95, 96, 97, 103, -1};
    137138    for (const int *e=excl; *e>=0; e++)
     
    151152            *ptr *= 2.25;  // 9/4 // 4 channels left
    152153    }
    153 
     154*/
    154155
    155156    Float_t max = 0;
     
    157158
    158159    const UInt_t nsum = buf.GetSize();
    159     for (Float_t *sum=buf.GetArray(); sum<sum+nsum; sum+=num)
     160    for (Float_t *sum=buf.GetArray(); sum<buf.GetArray()+nsum; sum+=num)
    160161    {
    161162        int idx = 0;
Note: See TracChangeset for help on using the changeset viewer.