Analysis Software
Documentation for sPHENIX simulation 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 
5 #include <trackbase/TrkrDefs.h>
6 
7 #include <fun4all/SubsysReco.h>
8 
9 #include <set>
10 #include <string>
11 
12 class PHCompositeNode;
13 class PHG4Hit;
14 class PHG4HitContainer;
17 class TrkrHitTruthAssoc;
18 class ActsGeometry;
19 
22 {
23  public:
25  QAG4SimulationMvtx(const std::string& name = "QAG4SimulationMvtx");
26 
27  int InitRun(PHCompositeNode* topNode) override;
28  int process_event(PHCompositeNode* topNode) override;
29 
30  private:
33 
36 
38  void evaluate_clusters();
39 
40  // get geant hits associated to a cluster
41  using G4HitSet = std::set<PHG4Hit*>;
43 
45  bool m_initialized = false;
46 
49 
52 
55 
58 
61 
63  /* it is filled at Init stage. It should not change for the full run */
64  std::set<int> m_layers;
66 };
67 
68 #endif