![]() |
|
|||
File indexing completed on 2025-08-06 08:14:10
0001 // Tell emacs that this is a C++ source 0002 // -*- C++ -*-. 0003 /// =========================================================================== 0004 /*! \file TestPHFlags.h 0005 * \authors Derek Anderson 0006 * \date 11.22.2024 0007 * 0008 * A small F4A module to test if certain 0009 * flags exist. 0010 */ 0011 /// =========================================================================== 0012 0013 #ifndef TESTPHFLAGS_H 0014 #define TESTPHFLAGS_H 0015 0016 // f4a libraries 0017 #include <fun4all/SubsysReco.h> 0018 0019 // phparameter libraries 0020 #include <phparameter/PHParameters.h> 0021 0022 // c++ utilities 0023 #include <string> 0024 0025 // forward declarations 0026 class PHCompositeNode; 0027 0028 0029 0030 // ============================================================================ 0031 //! Test certain PHFlags 0032 // ============================================================================ 0033 /*! A small F4A module to test if certain 0034 * flags exist. 0035 */ 0036 class TestPHFlags : public SubsysReco 0037 { 0038 0039 public: 0040 0041 // ctor/dtor 0042 TestPHFlags(const std::string& name = "TestPHFlags", const std::string& flags = "HasBeamBackground", const bool debug = false); 0043 ~TestPHFlags() override; 0044 0045 // f4a methods 0046 int process_event(PHCompositeNode *topNode) override; 0047 0048 private: 0049 0050 ///! to retrieve flags 0051 PHParameters m_flags; 0052 0053 ///! turn on/off extra debugging messages 0054 bool m_doDebug; 0055 0056 ///! name of node where flags are stored 0057 std::string m_flagNode; 0058 0059 }; // end TestPHFlags 0060 0061 #endif 0062 0063 // end ========================================================================
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |