EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHFieldUtility.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHFieldUtility.h
1 #ifndef PHFIELD_PHFIELDUTILITY_H
2 #define PHFIELD_PHFIELDUTILITY_H
3 
4 #include <string>
5 
6 class PHCompositeNode;
7 class PHField;
8 class PHFieldConfig;
9 
12 {
13  public:
19 
23  static PHField *
24  GetFieldMapNode(const PHFieldConfig *default_config = nullptr, PHCompositeNode *topNode = nullptr, const int verbosity = 0);
25 
29  static PHFieldConfig *
30  GetFieldConfigNode(const PHFieldConfig *default_config = nullptr, PHCompositeNode *topNode = nullptr, const int verbosity = 0);
31 
33  static PHField *
34  BuildFieldMap(const PHFieldConfig *field_config, const int verbosity = 0);
35 
37  static std::string
39  {
40  return std::string("FIELD_MAP");
41  }
42 
44  static std::string
46  {
47  return std::string("FIELD_CONFIG");
48  }
49 
50  private:
51  // static tool sets only
52  PHFieldUtility() = delete;
53  ~PHFieldUtility() = delete;
54 };
55 
56 #endif