Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
#ifndef DataFormats_Provenance_BranchType_h
#define DataFormats_Provenance_BranchType_h

#include <string>
#include <iosfwd>
/*----------------------------------------------------------------------
----------------------------------------------------------------------*/

#include "FWCore/Utilities/interface/BranchType.h"

namespace edm {

  std::string const& BranchTypeToString(BranchType const& branchType);

  constexpr unsigned int numberOfRunLumiEventProductTrees = 3;
  std::string const& BranchTypeToProductTreeName(BranchType const& branchType);
  std::string BranchTypeToProductTreeName(BranchType const& branchType, std::string const& processName);

  std::string const& BranchTypeToMetaDataTreeName(BranchType const& branchType);

  std::string const& BranchTypeToInfoTreeName(BranchType const& branchType);  // backward compatibility

  std::string const& BranchTypeToAuxiliaryBranchName(BranchType const& branchType);

  std::string const& BranchTypeToAuxBranchName(BranchType const& branchType);  // backward compatibility

  std::string const& BranchTypeToProductStatusBranchName(BranchType const& branchType);  // backward compatibility

  std::string const& BranchTypeToBranchEntryInfoBranchName(BranchType const& branchType);

  std::string const& BranchTypeToProductProvenanceBranchName(BranchType const& BranchType);

  std::ostream& operator<<(std::ostream& os, BranchType const& branchType);

  namespace poolNames {
    //------------------------------------------------------------------
    // EntryDescription Tree // backward compatibility
    std::string const& entryDescriptionTreeName();  // backward compatibility

    // Branches on EntryDescription Tree // backward compatibility
    std::string const& entryDescriptionIDBranchName();  // backward compatibility
    std::string const& entryDescriptionBranchName();    // backward compatibility

    //------------------------------------------------------------------
    // Parentage Tree
    std::string const& parentageTreeName();

    // Branches on parentage tree
    std::string const& parentageBranchName();

    //------------------------------------------------------------------
    // Other branches on Events Tree
    std::string const& eventSelectionsBranchName();
    std::string const& branchListIndexesBranchName();
    std::string const& eventToProcessBlockIndexesBranchName();

    //------------------------------------------------------------------
    //------------------------------------------------------------------
    // MetaData Tree (1 entry per file)
    std::string const& metaDataTreeName();

    // Branches on MetaData Tree
    std::string const& productDescriptionBranchName();
    std::string const& productDependenciesBranchName();
    std::string const& parameterSetMapBranchName();       // backward compatibility
    std::string const& moduleDescriptionMapBranchName();  // backward compatibility
    std::string const& processHistoryMapBranchName();     // backward compatibility
    std::string const& processHistoryBranchName();
    std::string const& processConfigurationBranchName();
    std::string const& branchIDListBranchName();
    std::string const& thinnedAssociationsHelperBranchName();
    std::string const& fileFormatVersionBranchName();
    std::string const& fileIdentifierBranchName();
    std::string const& fileIndexBranchName();  // backward compatibility
    std::string const& indexIntoFileBranchName();
    std::string const& mergeableRunProductMetadataBranchName();
    std::string const& processBlockHelperBranchName();

    // Event History Tree // backward compatibility
    std::string const& eventHistoryTreeName();  // backward compatibility

    // Branches on EventHistory Tree // backward compatibility
    std::string const& eventHistoryBranchName();  // backward compatibility

    //------------------------------------------------------------------
    // ParameterSet Tree (1 entry per ParameterSet)
    std::string const& parameterSetsTreeName();

    std::string const& idToParameterSetBlobsBranchName();

    //------------------------------------------------------------------
    // Other tree names
    std::string const& runTreeName();
    std::string const& luminosityBlockTreeName();
    std::string const& eventTreeName();
    std::string const& eventMetaDataTreeName();
  }  // namespace poolNames
}  // namespace edm
#endif