Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:01

0001 #ifndef DataFormats_Provenance_BranchType_h
0002 #define DataFormats_Provenance_BranchType_h
0003 
0004 #include <string>
0005 #include <iosfwd>
0006 /*----------------------------------------------------------------------
0007 ----------------------------------------------------------------------*/
0008 
0009 #include "FWCore/Utilities/interface/BranchType.h"
0010 
0011 namespace edm {
0012 
0013   std::string const& BranchTypeToString(BranchType const& branchType);
0014 
0015   constexpr unsigned int numberOfRunLumiEventProductTrees = 3;
0016   std::string const& BranchTypeToProductTreeName(BranchType const& branchType);
0017   std::string BranchTypeToProductTreeName(BranchType const& branchType, std::string const& processName);
0018 
0019   std::string const& BranchTypeToMetaDataTreeName(BranchType const& branchType);
0020 
0021   std::string const& BranchTypeToInfoTreeName(BranchType const& branchType);  // backward compatibility
0022 
0023   std::string const& BranchTypeToAuxiliaryBranchName(BranchType const& branchType);
0024 
0025   std::string const& BranchTypeToAuxBranchName(BranchType const& branchType);  // backward compatibility
0026 
0027   std::string const& BranchTypeToProductStatusBranchName(BranchType const& branchType);  // backward compatibility
0028 
0029   std::string const& BranchTypeToBranchEntryInfoBranchName(BranchType const& branchType);
0030 
0031   std::string const& BranchTypeToProductProvenanceBranchName(BranchType const& BranchType);
0032 
0033   std::ostream& operator<<(std::ostream& os, BranchType const& branchType);
0034 
0035   namespace poolNames {
0036     //------------------------------------------------------------------
0037     // EntryDescription Tree // backward compatibility
0038     std::string const& entryDescriptionTreeName();  // backward compatibility
0039 
0040     // Branches on EntryDescription Tree // backward compatibility
0041     std::string const& entryDescriptionIDBranchName();  // backward compatibility
0042     std::string const& entryDescriptionBranchName();    // backward compatibility
0043 
0044     //------------------------------------------------------------------
0045     // Parentage Tree
0046     std::string const& parentageTreeName();
0047 
0048     // Branches on parentage tree
0049     std::string const& parentageBranchName();
0050 
0051     //------------------------------------------------------------------
0052     // Other branches on Events Tree
0053     std::string const& eventSelectionsBranchName();
0054     std::string const& branchListIndexesBranchName();
0055     std::string const& eventToProcessBlockIndexesBranchName();
0056 
0057     //------------------------------------------------------------------
0058     //------------------------------------------------------------------
0059     // MetaData Tree (1 entry per file)
0060     std::string const& metaDataTreeName();
0061 
0062     // Branches on MetaData Tree
0063     std::string const& productDescriptionBranchName();
0064     std::string const& productDependenciesBranchName();
0065     std::string const& parameterSetMapBranchName();       // backward compatibility
0066     std::string const& moduleDescriptionMapBranchName();  // backward compatibility
0067     std::string const& processHistoryMapBranchName();     // backward compatibility
0068     std::string const& processHistoryBranchName();
0069     std::string const& processConfigurationBranchName();
0070     std::string const& branchIDListBranchName();
0071     std::string const& thinnedAssociationsHelperBranchName();
0072     std::string const& fileFormatVersionBranchName();
0073     std::string const& fileIdentifierBranchName();
0074     std::string const& fileIndexBranchName();  // backward compatibility
0075     std::string const& indexIntoFileBranchName();
0076     std::string const& mergeableRunProductMetadataBranchName();
0077     std::string const& processBlockHelperBranchName();
0078 
0079     // Event History Tree // backward compatibility
0080     std::string const& eventHistoryTreeName();  // backward compatibility
0081 
0082     // Branches on EventHistory Tree // backward compatibility
0083     std::string const& eventHistoryBranchName();  // backward compatibility
0084 
0085     //------------------------------------------------------------------
0086     // ParameterSet Tree (1 entry per ParameterSet)
0087     std::string const& parameterSetsTreeName();
0088 
0089     std::string const& idToParameterSetBlobsBranchName();
0090 
0091     //------------------------------------------------------------------
0092     // Other tree names
0093     std::string const& runTreeName();
0094     std::string const& luminosityBlockTreeName();
0095     std::string const& eventTreeName();
0096     std::string const& eventMetaDataTreeName();
0097   }  // namespace poolNames
0098 }  // namespace edm
0099 #endif