ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAG4SimulationUpsilon.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file QAG4SimulationUpsilon.h
1 #ifndef QA_QAG4SimulationUpsilon_H
2 #define QA_QAG4SimulationUpsilon_H
3 
4 #include <fun4all/SubsysReco.h>
5 
6 #include <memory>
7 #include <set>
8 #include <string>
9 #include <utility>
10 
11 class PHCompositeNode;
13 class SvtxEvalStack;
14 
17 {
18  public:
19  QAG4SimulationUpsilon(const std::string &name = "QAG4SimulationUpsilon");
21 
22  int Init(PHCompositeNode *topNode);
23  int InitRun(PHCompositeNode *topNode);
24  int process_event(PHCompositeNode *topNode);
25 
26  // common prefix for QA histograms
27  std::string get_histo_prefix();
28 
32  void addEmbeddingID(int embeddingID);
33 
34  void setEtaRange(double low, double high)
35  {
36  m_etaRange.first = low;
37  m_etaRange.second = high;
38  }
39 
40  void setQuarkoniaPID(const int pid)
41  {
43  }
44 
45  void setDaughterAbsPID(const int pid)
46  {
48  }
49 
50  private:
51  std::shared_ptr<SvtxEvalStack> _svtxEvalStack;
52  std::set<int> m_embeddingIDs;
53  std::pair<double, double> m_etaRange;
54 
56 
57  int m_quarkoniaPID = 553;
58  int m_daughterAbsPID = 11;
59 };
60 
61 #endif // QA_QAG4SimulationUpsilon_H