Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHCosmicSeedCombiner.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHCosmicSeedCombiner.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef PHCOSMICSEEDCOMBINER_H
4 #define PHCOSMICSEEDCOMBINER_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 
10 class ActsGeometry;
12 class TrackSeedContainer;
13 class PHCompositeNode;
14 class TrackSeed;
15 
17 {
18  public:
19  PHCosmicSeedCombiner(const std::string &name = "PHCosmicSeedCombiner");
20 
21  ~PHCosmicSeedCombiner() override;
22 
23  int Init(PHCompositeNode *topNode) override;
24  int InitRun(PHCompositeNode *topNode) override;
25  int process_event(PHCompositeNode *topNode) override;
26  int End(PHCompositeNode *topNode) override;
27 
28  void dphiCut(float dphi) { m_dphiCut = dphi; }
29  void detaCut(float deta) { m_detaCut = deta; }
30 
31  private:
32  int getNodes(PHCompositeNode *topNode);
33  void addKeys(TrackSeed *seedToAddTo, TrackSeed *seedToAdd);
34 
40 
41  float m_dphiCut = 0.04;
42  float m_detaCut = 0.02;
43 };
44 
45 #endif // PHCOSMICSEEDCOMBINER_H