Go to the documentation of this file. 1 #ifndef DataFormats_Provenance_ProductResolverIndexHelper_h
2 #define DataFormats_Provenance_ProductResolverIndexHelper_h
65 #include <unordered_map>
71 namespace productholderindexhelper {
121 char const*
process =
nullptr)
const;
124 std::unordered_multimap<std::string, std::tuple<TypeID const*, const char*, ProductResolverIndex>>;
130 unsigned int startInIndexAndNames,
183 TypeID const& containedTypeID,
184 std::vector<TypeWithDict>* baseTypesOfContainedType);
254 void print(std::ostream& os)
const;
void setIndex(ProductResolverIndex v)
std::vector< IndexAndNames > indexAndNames_
edm::propagate_const< std::unique_ptr< std::set< Item > > > items_
unsigned int ProductResolverIndex
ProductResolverIndex index_
std::string const & process() const
ProductResolverIndexHelper const * productResolverIndexHelper_
TypeID getContainedType(TypeID const &typeID)
Matches(ProductResolverIndexHelper const *productResolverIndexHelper, unsigned int startInIndexAndNames, unsigned int numberOfMatches)
Item(KindOfType kindOfType, TypeID const &typeID, std::string const &moduleLabel, std::string const &instance, std::string const &process, ProductResolverIndex index)
bool operator<(Item const &right) const
unsigned int begin() const
std::string const & moduleLabel() const
ProductResolverIndex index(KindOfType kindOfType, TypeID const &typeID, char const *moduleLabel, char const *instance, char const *process=nullptr) const
unsigned int startInProcessNames_
std::unordered_multimap< std::string, std::tuple< TypeID const *, const char *, ProductResolverIndex > > ModulesToIndiciesMap
unsigned int beginElements() const
Matches relatedIndexes(KindOfType kindOfType, TypeID const &typeID, char const *moduleLabel, char const *instance) const
unsigned int indexToIndexAndNames(KindOfType kindOfType, TypeID const &typeID, char const *moduleLabel, char const *instance, char const *process) const
TypeID getContainedTypeFromWrapper(TypeID const &wrappedtypeID, std::string const &className)
std::vector< char > bigNamesContainer_
std::vector< TypeID > sortedTypeIDs_
std::vector< std::string > const & lookupProcessNames() const
unsigned int startInIndexAndNames_
IndexAndNames(ProductResolverIndex index, unsigned int start, unsigned int startProcess)
std::vector< std::string > lookupProcessNames_
ProductResolverIndex index(unsigned int i) const
unsigned int beginElements_
std::string const & instance() const
std::vector< char > processNames_
std::vector< char > const & processNames() const
ProductResolverIndex index() const
ProductResolverIndex index_
unsigned int numberOfMatches_
Range(unsigned int begin, unsigned int end)
KindOfType kindOfType() const
bool isFullyResolved(unsigned int i) const
ModulesToIndiciesMap indiciesForModulesInProcess(const std::string &iProcessName) const
unsigned int indexToType(KindOfType kindOfType, TypeID const &typeID) const
static PFTauRenderPlugin instance
unsigned int startInBigNamesContainer() const
edm::propagate_const< std::unique_ptr< std::set< std::string > > > processItems_
TypeID const & typeID() const
ProductResolverIndex insert(TypeID const &typeID, char const *moduleLabel, char const *instance, char const *process, TypeID const &containedTypeID, std::vector< TypeWithDict > *baseTypesOfContainedType)
std::vector< Range > const & ranges() const
std::string className(const T &t)
std::vector< IndexAndNames > const & indexAndNames() const
char const * processName(unsigned int i) const
unsigned int processIndex(char const *process) const
ProductResolverIndex index() const
ProductResolverIndexHelper()
std::vector< Range > ranges_
ProductResolverIndex nextIndexValue() const
char const * moduleLabel(unsigned int i) const
void print(std::ostream &os) const
ProductResolverIndex nextIndexValue_
unsigned int startInProcessNames() const
unsigned int startInBigNamesContainer_
unsigned int numberOfMatches() const
std::vector< TypeID > const & sortedTypeIDs() const