Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:16:40

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef FFAMODULES_FLAGHANDLER_H
0004 #define FFAMODULES_FLAGHANDLER_H
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <string>
0009 
0010 class PHCompositeNode;
0011 
0012 class FlagHandler : public SubsysReco
0013 {
0014  public:
0015   FlagHandler(const std::string &name = "FlagHandler");
0016 
0017   ~FlagHandler() override {}
0018 
0019   /** Create the Flag Node if it does not exist,
0020       if it exists, read back flags and copy them into recoConsts
0021    */
0022   int InitRun(PHCompositeNode *topNode) override;
0023 
0024   /// Called at the end of all processing.
0025   int End(PHCompositeNode *topNode) override;
0026 
0027   void Print(const std::string &what = "ALL") const override;
0028 
0029  private:
0030 };
0031 
0032 #endif  // FFAMODULES_FLAGHANDLER_H