ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAG4SimulationMvtx.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file QAG4SimulationMvtx.h
1 #ifndef QA_QAG4SIMULATIONMVTX_H
2 #define QA_QAG4SIMULATIONMVTX_H
3 
4 #include <trackbase/TrkrDefs.h>
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <set>
9 #include <string>
10 
11 class PHCompositeNode;
12 class PHG4Hit;
13 class PHG4HitContainer;
17 class TrkrHitTruthAssoc;
18 
19 struct ActsSurfaceMaps;
21 
24 {
25  public:
27  QAG4SimulationMvtx(const std::string& name = "QAG4SimulationMvtx");
28 
29  int InitRun(PHCompositeNode* topNode) override;
30  int process_event(PHCompositeNode* topNode) override;
31 
32  private:
34  std::string get_histo_prefix() const;
35 
38 
40  void evaluate_clusters();
41 
42  // get geant hits associated to a cluster
43  using G4HitSet = std::set<PHG4Hit*>;
45 
47  bool m_initialized = false;
48 
51 
54 
57 
60 
63 
66 
69 
71  /* it is filled at Init stage. It should not change for the full run */
72  std::set<int> m_layers;
73 };
74 
75 #endif