File indexing completed on 2025-08-05 08:18:04
0001 #ifndef G4HISTOS_G4VTXNTUPLE_H
0002 #define G4HISTOS_G4VTXNTUPLE_H
0003
0004 #include <fun4all/SubsysReco.h>
0005
0006 #include <string>
0007
0008
0009 class Fun4AllHistoManager;
0010 class PHCompositeNode;
0011 class TNtuple;
0012
0013 class G4VtxNtuple : public SubsysReco
0014 {
0015 public:
0016
0017 G4VtxNtuple(const std::string &name = "G4VtxNtuple", const std::string &filename = "G4VtxNtuple.root");
0018
0019
0020 ~G4VtxNtuple() override;
0021
0022
0023 int Init(PHCompositeNode *) override;
0024
0025
0026 int process_event(PHCompositeNode *) override;
0027
0028
0029 int End(PHCompositeNode *) override;
0030
0031 protected:
0032 std::string m_FileName;
0033 Fun4AllHistoManager *hm = nullptr;
0034 TNtuple *ntup = nullptr;
0035 };
0036
0037 #endif