Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 /// ---------------------------------------------------------------------------
0002 /*! \file   CstInterfaces.h
0003  *  \author Derek Anderson
0004  *  \date   08.15.2024
0005  *
0006  *  Jet constituent-related interfaces.
0007  */
0008 /// ---------------------------------------------------------------------------
0009 
0010 #ifndef SCORRELATORUTILITIES_CSTINTERFACES_H
0011 #define SCORRELATORUTILITIES_CSTINTERFACES_H
0012 
0013 // c++ utilities
0014 #include <cassert>
0015 // phool libraries
0016 #include <phool/phool.h>
0017 #include <phool/getClass.h>
0018 #include <phool/PHIODataNode.h>
0019 #include <phool/PHNodeIterator.h>
0020 #include <phool/PHCompositeNode.h>
0021 // PHG4 libraries
0022 #include <g4main/PHG4Particle.h>
0023 #include <g4main/PHG4TruthInfoContainer.h>
0024 // calobase libraries
0025 #include <calobase/RawTower.h>
0026 #include <calobase/TowerInfo.h>
0027 #include <calobase/RawCluster.h>
0028 #include <calobase/RawTowerContainer.h>
0029 #include <calobase/TowerInfoContainer.h>
0030 #include <calobase/RawClusterContainer.h>
0031 // trackbase libraries
0032 #include <trackbase_historic/SvtxTrack.h>
0033 #include <trackbase_historic/SvtxTrackMap.h>
0034 // particle flow libraries
0035 #include <particleflowreco/ParticleFlowElement.h>
0036 #include <particleflowreco/ParticleFlowElementContainer.h>
0037 // jet libraries
0038 #include <jetbase/Jet.h>
0039 // analysis utilities
0040 #include "ParInterfaces.h"
0041 #include "TrkInterfaces.h"
0042 #include "TwrInterfaces.h"
0043 #include "FlowInterfaces.h"
0044 #include "ClustInterfaces.h"
0045 
0046 // make common namespaces implicit
0047 using namespace std;
0048 
0049 
0050 
0051 namespace SColdQcdCorrelatorAnalysis {
0052   namespace Interfaces {
0053 
0054     // cst interfaces -------------------------------------------------------
0055 
0056     SvtxTrack*           FindTrack(const uint32_t idToFind, PHCompositeNode* topNode);
0057     ParticleFlowElement* FindFlow(const uint32_t idToFind, PHCompositeNode* topNode);
0058     RawTower*            FindRawTower(const uint32_t idToFind, const Jet::SRC source, PHCompositeNode* topNode);
0059     TowerInfo*           FindTowerInfo(const uint32_t idToFind, const Jet::SRC source, PHCompositeNode* topNode);    
0060     RawCluster*          FindCluster(const uint32_t idToFind, const Jet::SRC source, PHCompositeNode* topNode);
0061     PHG4Particle*        FindParticle(const int32_t idToFind, PHCompositeNode* topNode);
0062 
0063   }  // end Interfaces namespace
0064 }  // end SColdQcdCorrealtorAnalysis namespace
0065 
0066 #endif
0067 
0068 // end ------------------------------------------------------------------------