File indexing completed on 2025-08-06 08:14:23
0001
0002
0003
0004 #ifndef STRUCTUREINJETS_H
0005 #define STRUCTUREINJETS_H
0006
0007
0008 #include <qautils/QAHistManagerDef.h>
0009
0010
0011 #include <fun4all/Fun4AllHistoManager.h>
0012 #include <fun4all/SubsysReco.h>
0013 #include "TTree.h"
0014 #include <string>
0015 #include "TH2F.h"
0016
0017 class PHCompositeNode;
0018 class TH3;
0019
0020 class StructureinJets : public SubsysReco
0021 {
0022 public:
0023
0024 StructureinJets(const std::string &recojetname = "AntiKt_Tower_r04",
0025 const std::string &outputfilename = "tracksinjets.root");
0026
0027 ~StructureinJets() override;
0028
0029
0030
0031
0032
0033
0034 int Init(PHCompositeNode *topNode) override;
0035
0036
0037
0038
0039
0040
0041 int InitRun(PHCompositeNode *topNode) override;
0042
0043
0044
0045
0046 int process_event(PHCompositeNode *topNode) override;
0047
0048
0049 int ResetEvent(PHCompositeNode *topNode) override;
0050
0051
0052 int EndRun(const int runnumber) override;
0053
0054
0055 int End(PHCompositeNode *topNode) override;
0056
0057
0058 int Reset(PHCompositeNode * ) override;
0059
0060 void Print(const std::string &what = "ALL") const override;
0061
0062 bool isAA;
0063
0064 private:
0065
0066 std::string m_recoJetName;
0067 float m_trk_pt_cut;
0068 float m_jetRadius;
0069 std::string m_outputFileName;
0070 TH3 *m_h_track_vs_calo_pt;
0071 TH2F *m_h_track_pt;
0072 Fun4AllHistoManager* m_manager = NULL;
0073 };
0074
0075 #endif