Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcClusterQA.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcClusterQA.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef TPCCLUSTERQA_H
4 #define TPCCLUSTERQA_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <map>
9 #include <set>
10 #include <string>
11 
12 class PHCompositeNode;
13 
14 class TpcClusterQA : public SubsysReco
15 {
16  public:
17  TpcClusterQA(const std::string &name = "TpcClusterQA");
18 
19  ~TpcClusterQA() override;
20 
21  int Init(PHCompositeNode *topNode) override;
22  int InitRun(PHCompositeNode *topNode) override;
23  int process_event(PHCompositeNode *topNode) override;
24  int EndRun(const int runnumber) override;
25  int End(PHCompositeNode *topNode) override;
26 
27  private:
28  void createHistos();
29 
31  std::set<int> m_layers;
32  std::multimap<int, int> m_layerRegionMap;
33 
34  int m_event = 0;
35  int m_totalClusters = 0;
36 };
37 
38 #endif // TPCCLUSTERQA_H