ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KFParticle_DST.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file KFParticle_DST.h
1 #ifndef KFPARTICLESPHENIX_KFPARTICLEDST_H
2 #define KFPARTICLESPHENIX_KFPARTICLEDST_H
3 
4 
5 #include <KFParticle.h>
6 
7 #include <string>
8 #include <vector>
9 
11 class PHCompositeNode;
12 class SvtxTrack;
13 class SvtxTrackMap;
14 
16 {
17  public:
20 
22 virtual ~KFParticle_DST(){}
23 
25  int createParticleNode(PHCompositeNode* topNode);
26 
28  void fillParticleNode(PHCompositeNode* topNode, const KFParticle& motherParticle,
29  const std::vector<KFParticle>& daughters,
30  const std::vector<KFParticle>& intermediates);
31 
33  void fillParticleNode_Track(PHCompositeNode* topNode, const KFParticle& motherParticle,
34  std::vector<KFParticle> daughters,
35  std::vector<KFParticle> intermediates);
36 
38  void fillParticleNode_Particle(PHCompositeNode* topNode, const KFParticle& motherParticle,
39  std::vector<KFParticle> daughters,
40  std::vector<KFParticle> intermediates);
41 
43  void printNode(PHCompositeNode* topNode);
44 
45  protected:
49  std::string m_container_name;
50 
51  private:
54  SvtxTrack* buildSvtxTrack(KFParticle particle);
55 };
56 
57 #endif //KFPARTICLESPHENIX_KFPARTICLEDST_H