EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VtxNtuple.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4VtxNtuple.h
1 #ifndef G4HISTOS_G4VTXNTUPLE_H
2 #define G4HISTOS_G4VTXNTUPLE_H
3 
4 #include <fun4all/SubsysReco.h>
5 
6 #include <string>
7 
8 // Forward declerations
10 class PHCompositeNode;
11 class TNtuple;
12 
13 class G4VtxNtuple : public SubsysReco
14 {
15  public:
17  G4VtxNtuple(const std::string &name = "G4VtxNtuple", const std::string &filename = "G4VtxNtuple.root");
18 
20  ~G4VtxNtuple() override;
21 
23  int Init(PHCompositeNode *) override;
24 
26  int process_event(PHCompositeNode *) override;
27 
29  int End(PHCompositeNode *) override;
30 
31  protected:
32  std::string m_FileName;
33  Fun4AllHistoManager *hm = nullptr;
34  TNtuple *ntup = nullptr;
35 };
36 
37 #endif