Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:14:56

0001 #ifndef RooFitHM_H
0002 #define RooFitHM_H
0003 
0004 #include <fun4all/SubsysReco.h>
0005 
0006 class RooFFTConvPdf;
0007 class TF1;
0008 
0009 class RooFitHM : public SubsysReco
0010 {
0011  public:
0012   RooFitHM(const std::string &name = "RooFitHM");
0013   ~RooFitHM() override {}
0014 
0015   //! Called once at the beginning of the job
0016   int Init(PHCompositeNode*) override;
0017 
0018   //! Called on every event (we do nothing here)
0019   int process_event(PHCompositeNode*) override { return 0; }
0020 
0021   //! Called at the end of the job
0022   int End(PHCompositeNode*) override;
0023 
0024  private:
0025   RooFFTConvPdf* m_pdf{nullptr};
0026   TF1* m_func{nullptr};
0027 };
0028 
0029 #endif  // RooFitHM_H