Changeset 14020 for trunk/FACT++/src/EventBuilderWrapper.h
- Timestamp:
- 06/01/12 14:16:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r13937 r14020 926 926 927 927 // FIXME: Only send events if the have newer run-numbers 928 if (newt<oldt+boost::posix_time::milliseconds(skip>0 ? 200 : 1000))928 if (newt<oldt+boost::posix_time::milliseconds(skip>0 ? 100 : 1000)) 929 929 return; 930 930 oldt = newt; … … 938 938 for (; ptr!=end; ptr++) 939 939 { 940 if (ptr->fStartDelimiter ==0)941 continue;942 } 943 if (ptr==end || ptr->fStartDelimiter==0)940 if (ptr->fStartDelimiter!=0) 941 break; 942 } 943 if (ptr==end) 944 944 return; 945 945 … … 957 957 958 958 // Maximum above roughly 5pe 959 if (ptr->IsTriggerPhys() && max< 50 && skip<5)959 if (ptr->IsTriggerPhys() && max<100 && skip<10) 960 960 { 961 961 skip++; … … 986 986 for (; ptr<end; ptr++) 987 987 { 988 if (ptr->fStartDelimiter ==0)989 continue;990 991 if (!ptr->HasTriggerLPext() && !ptr->HasTriggerLPint()) 992 return;993 }994 995 if ( ptr==end || ptr->fStartDelimiter==0)988 if (ptr->fStartDelimiter!=0) 989 break; 990 } 991 992 if (ptr==end) 993 return; 994 995 if (!ptr->HasTriggerLPext() && !ptr->HasTriggerLPint()) 996 996 return; 997 997
Note:
See TracChangeset
for help on using the changeset viewer.