Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-08-21 02:34:00

0001 #ifndef DataFormats_Provenance_processingOrderMerge_h
0002 #define DataFormats_Provenance_processingOrderMerge_h
0003 
0004 #include <string>
0005 #include <vector>
0006 
0007 namespace edm {
0008   class ProcessHistory;
0009   /**
0010    * Merge the processing order from the given ProcessHistory into the
0011    * given vector of process names. Will throw if ordering in processNames is not compatible.
0012    * The vector will be filled with process names in reverse time order (most recent to oldest).
0013    */
0014   void processingOrderMerge(ProcessHistory const& iHistory, std::vector<std::string>& processNames);
0015   /**
0016      * Merge the processing order from the given vector of process names into the
0017      * given vector of process names. Will throw if ordering in processNames is not compatible.
0018      * The vectors must both be in reverse time order (most recent to oldest).
0019      */
0020   void processingOrderMerge(std::vector<std::string> const& iFrom, std::vector<std::string>& iTo);
0021 }  // namespace edm
0022 #endif