Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnalyzeSimpleTree.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AnalyzeSimpleTree.h
1 #ifndef ANALYZESIMPLETREE_H__
2 #define ANALYZESIMPLETREE_H__
3 
4 #include <fun4all/SubsysReco.h>
5 
7 class TH1;
8 class TH2;
9 
11 {
12  public:
13 
14  AnalyzeSimpleTree(const std::string &name = "ANALYZETREE");
15  ~AnalyzeSimpleTree() override {}
16 
17  int Init(PHCompositeNode * /*topNode*/) override;
18 
19  int process_event(PHCompositeNode *topNode) override;
20 
21  int End(PHCompositeNode * /*topNode*/) override;
22  private:
23 
24  Fun4AllHistoManager *hm = nullptr;
25  TH1 *myfloats = nullptr;
26  TH2 *my2dfloats = nullptr;
27 };
28 
29 #endif /* ANALYZESIMPLETREE_H__ */
30