ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAG4SimulationMicromegas.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file QAG4SimulationMicromegas.h
1 #ifndef QA_QAG4SIMULATIONMICROMEGAS_H
2 #define QA_QAG4SIMULATIONMICROMEGAS_H
3 
4 #include <trackbase/TrkrDefs.h>
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <set>
9 #include <string>
10 
11 class PHCompositeNode;
13 class PHG4Hit;
14 class PHG4HitContainer;
18 class TrkrHitTruthAssoc;
19 
20 struct ActsSurfaceMaps;
22 
25 {
26  public:
28  QAG4SimulationMicromegas(const std::string& name = "QAG4SimulationMicromegas");
29 
30  int InitRun(PHCompositeNode* topNode) override;
31  int process_event(PHCompositeNode* topNode) override;
32 
33  private:
35  std::string get_histo_prefix() const;
36 
39 
41  void evaluate_hits();
42 
44  void evaluate_clusters();
45 
46  // get geant hits associated to a cluster
47  using G4HitSet = std::set<PHG4Hit*>;
49 
51  bool m_initialized = false;
52 
55 
58 
61 
64 
67 
70 
73 
76 
78  /* it is filled at Init stage. It should not change for the full run */
79  std::set<int> m_layers;
80 };
81 
82 #endif