ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubsysReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SubsysReco.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FUN4ALL_SUBSYSRECO_H
4 #define FUN4ALL_SUBSYSRECO_H
5 
6 #include "Fun4AllBase.h"
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 
23 class SubsysReco : public Fun4AllBase
24 {
25  public:
29  ~SubsysReco() override {}
30 
32  virtual int End(PHCompositeNode * /*topNode*/) { return 0; }
33 
35  virtual int EndRun(const int /*runnumber*/) { return 0; }
36 
42  virtual int Init(PHCompositeNode * /*topNode*/) { return 0; }
43 
48  virtual int InitRun(PHCompositeNode * /*topNode*/) { return 0; }
49 
53  virtual int process_event(PHCompositeNode * /*topNode*/) { return 0; }
54 
56  virtual int Reset(PHCompositeNode * /*topNode*/) { return 0; }
57 
59  virtual int ResetEvent(PHCompositeNode * /*topNode*/) { return 0; }
60 
61  void Print(const std::string & /*what*/ = "ALL") const override {}
62 
63  protected:
67  SubsysReco(const std::string &name = "NONAME")
68  : Fun4AllBase(name)
69  {
70  }
71 };
72 
73 #endif