Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:12

0001 // Tell emacs that this is a C++ source
0002 // -*- C++ -*-.
0003 
0004 #ifndef G4MAIN_PHG4VERTEXSELECTION_H
0005 #define G4MAIN_PHG4VERTEXSELECTION_H
0006 
0007 /*!
0008  * \file PHG4VertexSelection.h
0009  * \author Hugo Pereira Da Costa <hugo.pereira-da-costa@cea.fr>
0010  */
0011 
0012 #include <fun4all/SubsysReco.h>
0013 #include <phparameter/PHParameterInterface.h>
0014 
0015 #include <string>  // for string
0016 
0017 class PHCompositeNode;
0018 
0019 class PHG4VertexSelection : public SubsysReco, public PHParameterInterface
0020 {
0021  public:
0022   PHG4VertexSelection(const std::string &name = "PHG4VertexSelection");
0023 
0024   //! run initialization
0025   int InitRun(PHCompositeNode *) override;
0026 
0027   //! event processing
0028   int process_event(PHCompositeNode *topNode) override;
0029 
0030   //! parameters
0031   void SetDefaultParameters() override;
0032 
0033  private:
0034   // z vertex cut (cm)
0035   double m_vertex_zcut = 10;
0036 };
0037 
0038 #endif