Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:13:22

0001 /// ---------------------------------------------------------------------------
0002 /*! \file   VtxInterfaces.h
0003  *  \author Derek Anderson
0004  *  \date   03.05.2024
0005  *
0006  *  Vertex-related interfaces.
0007  */
0008 /// ---------------------------------------------------------------------------
0009 
0010 #ifndef SCORRELATORUTILITIES_VTXINTERFACES_H
0011 #define SCORRELATORUTILITIES_VTXINTERFACES_H
0012 
0013 // c++ utilities
0014 #include <array>
0015 #include <cassert>
0016 #include <utility>
0017 #include <optional>
0018 // root libraries
0019 #include <Math/Vector3D.h>
0020 // phool libraries
0021 #include <phool/phool.h>
0022 #include <phool/getClass.h>
0023 #include <phool/PHIODataNode.h>
0024 #include <phool/PHNodeIterator.h>
0025 #include <phool/PHCompositeNode.h>
0026 // vertex libraries
0027 #include <globalvertex/GlobalVertex.h>
0028 #include <globalvertex/GlobalVertexMap.h>
0029 
0030 // make common namespaces implicit
0031 using namespace std;
0032 
0033 
0034 
0035 namespace SColdQcdCorrelatorAnalysis {
0036   namespace Interfaces {
0037 
0038     // vertex interfaces ------------------------------------------------------
0039 
0040     GlobalVertexMap*      GetVertexMap(PHCompositeNode* topNode);
0041     GlobalVertex*         GetGlobalVertex(PHCompositeNode* topNode, optional<int> iVtxToGrab = nullopt);
0042     ROOT::Math::XYZVector GetRecoVtx(PHCompositeNode* topNode);
0043 
0044   }  // end Interfaces namespace
0045 }  // end SColdQcdCorrealtorAnalysis namespace
0046 
0047 #endif
0048 
0049 // end ------------------------------------------------------------------------
0050