Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EvtDispFilter.h
Go to the documentation of this file.
1 #ifndef _OUTPUT_EVT_DISP_FILE_H_
2 #define _OUTPUT_EVT_DISP_FILE_H_
3 #include <fun4all/SubsysReco.h>
4 class SQEvent;
5 class SQHitVector;
6 
7 class EvtDispFilter: public SubsysReco {
8  int m_n_step; // N of skipped events per one saved event
9  int m_n_max; // N of max events saved per spill
10  SQEvent* m_sq_evt;
11  SQHitVector* m_sq_hv;
12 
13  public:
14  EvtDispFilter(const int n_step=1000, const int n_max=3);
15  virtual ~EvtDispFilter();
16  int Init(PHCompositeNode *topNode);
17  int InitRun(PHCompositeNode *topNode);
18  int process_event(PHCompositeNode *topNode);
19  int End(PHCompositeNode *topNode);
20 };
21 
22 #endif /* _OUTPUT_EVT_DISP_FILE_H_ */
virtual ~EvtDispFilter()
int process_event(PHCompositeNode *topNode)
int End(PHCompositeNode *topNode)
Called at the end of all processing.
EvtDispFilter(const int n_step=1000, const int n_max=3)
int InitRun(PHCompositeNode *topNode)
An SQ interface class to hold a list of SQHit objects.
Definition: SQHitVector.h:32
An SQ interface class to hold one event header.
Definition: SQEvent.h:17
int Init(PHCompositeNode *topNode)