Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MbdReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MbdReco.h
1 #ifndef __MBDRECO_H__
2 #define __MBDRECO_H__
3 
4 #include <fun4all/SubsysReco.h>
5 
6 #include <memory>
7 #include <string>
8 
9 class PHCompositeNode;
10 class MbdEvent;
11 class MbdPmtContainer;
12 class MbdVertexMap;
13 class MbdOut;
14 class MbdGeom;
15 class Event;
16 class TF1;
17 class TH1;
18 
19 class MbdReco : public SubsysReco
20 {
21  public:
22  MbdReco(const std::string &name = "MbdReco");
23 
24  ~MbdReco() override;
25 
26  int Init(PHCompositeNode *topNode) override;
27  int InitRun(PHCompositeNode *topNode) override;
28  int process_event(PHCompositeNode *topNode) override;
29  int End(PHCompositeNode *topNode) override;
30 
31  private:
32  int createNodes(PHCompositeNode *topNode);
33  int getNodes(PHCompositeNode *topNode);
34  int _simflag{0};
35 
36  float m_tres = 0.05;
37  std::unique_ptr<TF1> m_gaussian = nullptr;
38 
39  std::unique_ptr<MbdEvent> m_mbdevent{nullptr};
40  Event *m_event{nullptr};
41  MbdOut *m_mbdout{nullptr};
43  MbdGeom *m_mbdgeom{nullptr};
45 };
46 
47 #endif // __MBDRECO_H__