--- PamCut/MiscCuts/EvRateS11Cut/EvRateS11Cut.cpp 2009/05/29 10:08:39 1.1 +++ PamCut/MiscCuts/EvRateS11Cut/EvRateS11Cut.cpp 2009/06/08 10:38:17 1.2 @@ -11,7 +11,11 @@ int EvRateS11Cut::Check(PamLevel2 *event) { - if (event->GetTrigLevel2()->pmtcount1[10] > _maxRate) + float rate = 0.; + for (int i = 0; i < 16; i++) + rate += (float)event->GetTrigLevel2()->pmtcount1[i]; + rate /= 16.; + if (rate > _maxRate || rate < _minRate) return 0; return CUTOK;