Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4VertexSelection.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4VertexSelection.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 
4 #ifndef G4MAIN_PHG4VERTEXSELECTION_H
5 #define G4MAIN_PHG4VERTEXSELECTION_H
6 
12 #include <fun4all/SubsysReco.h>
13 #include <phparameter/PHParameterInterface.h>
14 
15 #include <string> // for string
16 
17 class PHCompositeNode;
18 
20 {
21  public:
22  PHG4VertexSelection(const std::string &name = "PHG4VertexSelection");
23 
25  int InitRun(PHCompositeNode *) override;
26 
28  int process_event(PHCompositeNode *topNode) override;
29 
31  void SetDefaultParameters() override;
32 
33  private:
34  // z vertex cut (cm)
35  double m_vertex_zcut = 10;
36 };
37 
38 #endif