Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-28 22:45:30

0001 #ifndef DataFormats_Provenance_branchIDToProductID_h
0002 #define DataFormats_Provenance_branchIDToProductID_h
0003 
0004 #include "DataFormats/Provenance/interface/BranchID.h"
0005 #include "DataFormats/Provenance/interface/BranchIDListHelper.h"
0006 #include "DataFormats/Provenance/interface/ProductID.h"
0007 
0008 #include <vector>
0009 
0010 namespace edm {
0011   // Fill in helper map for Branch to ProductID mapping
0012   std::vector<ProcessIndex> makeBranchListIndexToProcessIndex(BranchListIndexes const& branchListIndexes);
0013 
0014   ProductID branchIDToProductID(BranchID const& bid,
0015                                 BranchIDListHelper const& branchIDListHelper,
0016                                 std::vector<ProcessIndex> const& branchListIndexToProcessIndex);
0017 }  // namespace edm
0018 
0019 #endif