Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TracksInJets.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TracksInJets.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef TRACKSINJETS_H
4 #define TRACKSINJETS_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 class TH3;
12 
13 class TracksInJets : public SubsysReco
14 {
15  public:
16 
17  TracksInJets(const std::string &recojetname = "AntiKt_Tower_r04",
18  const std::string &outputfilename = "tracksinjets.root");
19 
20  ~TracksInJets() override;
21 
27  int Init(PHCompositeNode *topNode) override;
28 
34  int InitRun(PHCompositeNode *topNode) override;
35 
39  int process_event(PHCompositeNode *topNode) override;
40 
42  int ResetEvent(PHCompositeNode *topNode) override;
43 
45  int EndRun(const int runnumber) override;
46 
48  int End(PHCompositeNode *topNode) override;
49 
51  int Reset(PHCompositeNode * /*topNode*/) override;
52 
53  void Print(const std::string &what = "ALL") const override;
54 
55  private:
56 
58  float m_trk_pt_cut;
59  float m_jetRadius;
62 
63 };
64 
65 #endif // TRACKSINJETS_H