Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CaloGeomMapping.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CaloGeomMapping.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef CALOGEOMMAPPING_H
4 #define CALOGEOMMAPPING_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 
10 class PHCompositeNode;
12 
14 {
15  public:
16 
17  CaloGeomMapping(const std::string &name = "CaloGeomMapping");
18 
19  ~CaloGeomMapping() override;
20 
26  int Init(PHCompositeNode *topNode) override;
27 
33  /* int InitRun(PHCompositeNode *topNode) override; */
34 
38  /* int process_event(PHCompositeNode *topNode) override; */
39 
41  /* int ResetEvent(PHCompositeNode *topNode) override; */
42 
44  /* int EndRun(const int runnumber) override; */
45 
47  /* int End(PHCompositeNode *topNode) override; */
48 
50  /* int Reset(PHCompositeNode * topNode) override; */
51 
52  /* void Print(const std::string &what = "ALL") const override; */
53 
54  // Create tower geometry mapping node
55  void CreateGeomNode(PHCompositeNode* topNode);
56 
57  void set_detector_name(const std::string &name);
59 
60  protected:
61  std::string m_Detector; // CEMC, HCALIN or HCALOUT
64 };
65 
66 #endif // CALOGEOMMAPPING_H