Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 /// ---------------------------------------------------------------------------
0002 /*! \file   TupleInterfaces.h
0003  *  \author Derek Anderson
0004  *  \date   03.05.2024
0005  *
0006  *  TNtuple-related interfaces.
0007  */
0008 /// ---------------------------------------------------------------------------
0009 
0010 #ifndef SCORRELATORUTILITIES_TUPLEINTERFACES_H
0011 #define SCORRELATORUTILITIES_TUPLEINTERFACES_H
0012 
0013 // c++ utilities
0014 #include <string>
0015 #include <vector>
0016 #include <optional>
0017 
0018 // make common namespaces implicit
0019 using namespace std;
0020 
0021 
0022 
0023 namespace SColdQcdCorrelatorAnalysis {
0024   namespace Interfaces {
0025 
0026     // tuple interfaces -------------------------------------------------------
0027 
0028     void   AddTagToLeaves(const string tag, vector<string>& leaves);
0029     void   CombineLeafLists(const vector<string>& addends, vector<string>& toAddTo);
0030     string FlattenLeafList(const vector<string>& leaves);
0031 
0032   }  // end Interfaces namespace
0033 }  // end SColdQcdCorrealtorAnalysis namespace
0034 
0035 #endif
0036 
0037 // end ------------------------------------------------------------------------