Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:45

0001 #ifndef JETBASE_CLUSTERJETINPUT_H
0002 #define JETBASE_CLUSTERJETINPUT_H
0003 
0004 // first my own include
0005 #include "JetInput.h"
0006 
0007 // then other local incudes
0008 #include "Jet.h"
0009 
0010 #include <globalvertex/GlobalVertex.h>
0011 
0012 // finally system includes
0013 #include <iostream>  // for cout, ostream
0014 #include <vector>
0015 
0016 // forward declarations
0017 class PHCompositeNode;
0018 class GlobalVertex;
0019 
0020 class ClusterJetInput : public JetInput
0021 {
0022  public:
0023   ClusterJetInput(Jet::SRC input);
0024   ~ClusterJetInput() override {}
0025 
0026   void identify(std::ostream& os = std::cout) override;
0027 
0028   Jet::SRC get_src() override { return m_Input; }
0029 
0030   std::vector<Jet*> get_input(PHCompositeNode* topNode) override;
0031 
0032   void set_GlobalVertexType(GlobalVertex::VTXTYPE type) 
0033   {
0034     m_use_vertextype = true;
0035     m_vertex_type = type;
0036   }
0037 
0038  private:
0039   int m_Verbosity = 0;
0040   Jet::SRC m_Input = Jet::VOID;
0041   bool m_use_vertextype {false};
0042   GlobalVertex::VTXTYPE m_vertex_type = GlobalVertex::UNDEFINED;
0043 };
0044 
0045 #endif