File indexing completed on 2025-08-05 08:11:14
0001
0002 #ifndef SMEARTRUTHJETS_H
0003 #define SMEARTRUTHJETS_H
0004
0005 #include <fun4all/SubsysReco.h>
0006 #include <calotrigger/TriggerAnalyzer.h>
0007 #include <DijetEventDisplay.h>
0008 #include <string>
0009 #include <array>
0010 #include "TMath.h"
0011
0012
0013 class PHCompositeNode;
0014 class JetContainer;
0015 class TFile;
0016 class TH1D;
0017 class TF1;
0018 class SmearTruthJets : public SubsysReco
0019 {
0020 public:
0021
0022 SmearTruthJets(const std::string &name = "SmearTruthJets");
0023
0024 virtual ~SmearTruthJets();
0025
0026 int Init(PHCompositeNode *topNode) override;
0027
0028 int InitRun(PHCompositeNode *topNode) override;
0029
0030 int process_event(PHCompositeNode *topNode) override;
0031
0032 int End(PHCompositeNode *topNode) override;
0033
0034 int Reset(PHCompositeNode * ) override;
0035
0036 private:
0037
0038 int _verbosity;
0039 TH1D *h_jes{nullptr};
0040 TH1D *h_jer{nullptr};
0041 TF1 *smearfunction{nullptr};
0042 };
0043
0044 #endif