Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:46

0001 #include "dpipe_filter.h"
0002 #include <iostream>
0003 
0004 
0005 class odd_filter : public DpipeFilter {
0006 
0007 public:
0008 
0009 
0010   int  select( Event *e) 
0011   {
0012     if ( e->getEvtSequence() &1)  return 1;
0013     return 0;
0014   };
0015 
0016  const char * idString() const 
0017   {
0018     return "odd events dpipe filter";
0019   };
0020 
0021 };
0022 
0023 odd_filter of;
0024