24 "FEDRawDataCollection",
25 "FEDRawDataCollection",
27 "FedRawDataInputSource",
31 desc.setIsProvenanceSetOnRead();
38 : constBranchDescription_(makeDescriptionForDaqProvHelper(rawDataType)),
39 dummyProvenance_(constBranchDescription_.branchID()),
40 processParameterSet_(),
44 oldProcessHistoryID_(nullptr),
51 typedef std::vector<std::string>
vstring;
56 modlbl.push_back(moduleLabel);
65 pseudoInput.addParameter<
std::string>(
"@module_label", moduleLabel);
99 for (
auto const& pc : ph) {
109 std::vector<ProcessConfiguration> newPCs;
110 for (
auto const& pc : pcv) {
117 pcv.reserve(pcv.size() + newPCs.size());
118 pcv.insert(pcv.end(), newPCs.begin(), newPCs.end());
120 for (
auto& ph : phv) {
121 for (
auto const& newPC : newPCs) {
124 ph.push_front(newPC);
126 phidMap_.insert(std::make_pair(oldPHID, newPHID));
132 phv.reserve(phv.size() + newPCs.size());
133 for (
auto const& newPC : newPCs) {
135 phv.back().push_front(newPC);
148 for (
auto& list : lists) {
154 typedef std::map<BranchID, std::set<BranchID> > BCMap;
156 BCMap& childLookup =
const_cast<BCMap&
>(branchChildren.
childLookup());
160 if (i != childLookup.end()) {
161 childLookup.insert(std::make_pair(
newBranchID_, i->second));
162 childLookup.erase(i);
166 for (
auto&
child : childLookup) {
175 ProcessHistoryIDMap::const_iterator it =
phidMap_.find(phid);
DaqProvenanceHelper(TypeID const &rawDataType)
std::vector< BranchIDList > BranchIDLists
constexpr const std::type_info & typeInfo() const
ParameterSetID id() const
BranchID const & mapBranchID(BranchID const &branchID) const
bool registerProcessHistory(ProcessHistory const &processHistory)
std::string const & processName() const
ProcessHistoryID setProcessHistoryID()
PassID const & passID() const
void emplace_back(Args &&...args)
ProcessHistoryID const & mapProcessHistoryID(ProcessHistoryID const &phid)
void fixMetaData(ProcessConfigurationVector &pcv, std::vector< ProcessHistory > &phv)
std::string const & moduleLabel() const
map_t const & childLookup() const
void setOldParentageIDToNew(ParentageID const &iOld, ParentageID const &iNew)
ProcessHistoryIDMap phidMap_
void addParameter(std::string const &name, T const &value)
std::string const & moduleName() const
ProcessHistoryID daqInit(ProductRegistry &productRegistry, ProcessHistoryRegistry &processHistoryRegistry) const
Hash< ProcessHistoryType > ProcessHistoryID
std::string getReleaseVersion()
ParentageIDMap parentageIDMap_
ReleaseVersion const & releaseVersion() const
std::string oldProcessName_
std::string moduleName(StableProvenance const &provenance, ProcessHistory const &history)
BranchDescription const constBranchDescription_
ParentageID const & mapParentageID(ParentageID const &phid) const
static std::string const triggerPaths
ParameterSet const & registerIt()
ParameterSet processParameterSet_
std::vector< std::string > vstring
void copyProduct(BranchDescription const &productdesc)
ProcessHistoryID const * oldProcessHistoryID_
bool matchProcesses(ProcessConfiguration const &pc, ProcessHistory const &ph) const