Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
odd_filter.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file odd_filter.cc
1 #include "dpipe_filter.h"
2 #include <iostream>
3 
4 
5 class odd_filter : public DpipeFilter {
6 
7 public:
8 
9 
10  int select( Event *e)
11  {
12  if ( e->getEvtSequence() &1) return 1;
13  return 0;
14  };
15 
16  const char * idString() const
17  {
18  return "odd events dpipe filter";
19  };
20 
21 };
22 
24