Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 /// ---------------------------------------------------------------------------
0002 /*! \file   REvtTools.h
0003  *  \author Derek Anderson
0004  *  \date   03.06.2024
0005  *
0006  *  Collection of frequent event-level reconstruction methods utilized
0007  *  in the sPHENIX Cold QCD Energy-Energy Correlator analysis.
0008  */
0009 /// ---------------------------------------------------------------------------
0010 
0011 #ifndef SCORRELATORUTILITIES_REVTTOOLS_H
0012 #define SCORRELATORUTILITIES_REVTTOOLS_H
0013 
0014 // c++ utilities
0015 #include <cmath>
0016 #include <limits>
0017 #include <string>
0018 #include <vector>
0019 // root libraries
0020 #include <Math/Vector3D.h>
0021 // phool libraries
0022 #include <phool/PHCompositeNode.h>
0023 // calo includes
0024 #include <calobase/RawCluster.h>
0025 #include <calobase/RawClusterUtility.h>
0026 #include <calobase/RawClusterContainer.h>
0027 // tracking includes
0028 #include <trackbase_historic/SvtxTrack.h>
0029 #include <trackbase_historic/SvtxTrackMap.h>
0030 // analysis utilities
0031 #include "Constants.h"
0032 #include "Interfaces.h"
0033 
0034 // make common namespaces implicit
0035 using namespace std;
0036 
0037 
0038 
0039 namespace SColdQcdCorrelatorAnalysis {
0040   namespace Tools {
0041 
0042     // event-level reconstructed tools ----------------------------------------
0043 
0044     int64_t GetNumTrks(PHCompositeNode* topNode);
0045     double  GetSumTrkMomentum(PHCompositeNode* topNode);
0046     double  GetSumCaloEne(PHCompositeNode* topNode, const string store);
0047 
0048   }  // end Tools namespace
0049 }  // end SColdQcdCorrealtorAnalysis namespace
0050 
0051 #endif
0052 
0053 // end ------------------------------------------------------------------------