ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KFParticle_nTuple.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file KFParticle_nTuple.h
1 #ifndef KFPARTICLESPHENIX_KFPARTICLENTUPLE_H
2 #define KFPARTICLESPHENIX_KFPARTICLENTUPLE_H
3 
5 
6 #include <KFParticle.h>
7 
8 #include <vector>
9 
10 class TTree;
11 
13 {
14  public:
17 
19  virtual ~KFParticle_nTuple(){}
20 
22  void initializeVariables();
23 
25  void initializeBranches();
26 
28  void fillBranch(PHCompositeNode *topNode,
29  KFParticle motherParticle,
30  KFParticle vertex,
31  std::vector<KFParticle> daughters,
32  std::vector<KFParticle> intermediates,
33  int nPVs, int multiplicity);
34 
35  float calc_secondary_vertex_mass_noPID(std::vector<KFParticle> kfp_daughters);
36 
37  protected:
41  //int m_num_intermediate_states_nTuple;
42  //int m_num_tracks_from_intermediate_nTuple[99];
47  std::string m_mother_name;
48  //std::string m_vtx_map_node_name_nTuple;
51  std::vector<std::string> m_intermediate_name_ntuple;
52 
53  private:
54  TTree *m_tree;
55 
88  //float *m_calculated_mother_cov;
89  float m_calculated_mother_cov[21] = {0};
90 
91  static const int max_intermediates = 8;
124  //float *m_calculated_intermediate_cov[max_intermediates];
126 
127  static const int max_tracks = 20;
154  //float *m_calculated_daughter_cov[max_tracks];
155  float m_calculated_daughter_cov[max_tracks][21] = {{0},{0}};
156 
157  float m_daughter_dca[99] = {0};
158 
166  //float *m_calculated_vertex_cov;
167  float m_calculated_vertex_cov[6] = {0};
168 
169  float m_sv_mass = -1;
170 
171  int m_nPVs = -1;
172  int m_multiplicity = -1;
173 
174  int m_runNumber = -1;
175  int m_evtNumber = -1;
176 
177 };
178 
179 #endif