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;
95 return ph.setProcessHistoryID();
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()) {
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
ReleaseVersion const & releaseVersion() const
bool registerProcessHistory(ProcessHistory const &processHistory)
def replace(string, replacements)
std::string const & moduleName() const
std::string const & processName() const
ProcessHistoryID daqInit(ProductRegistry &productRegistry, ProcessHistoryRegistry &processHistoryRegistry) const
void fixMetaData(ProcessConfigurationVector &pcv, std::vector< ProcessHistory > &phv)
ParameterSetID id() const
PassID const & passID() const
ParameterSet const & registerIt()
BranchID const & mapBranchID(BranchID const &branchID) const
bool matchProcesses(ProcessConfiguration const &pc, ProcessHistory const &ph) const
void setOldParentageIDToNew(ParentageID const &iOld, ParentageID const &iNew)
ProcessHistoryIDMap phidMap_
void addParameter(std::string const &name, T const &value)
map_t const & childLookup() const
ParentageID const & mapParentageID(ParentageID const &phid) const
Hash< ProcessHistoryType > ProcessHistoryID
std::string getReleaseVersion()
ProcessHistoryID const & mapProcessHistoryID(ProcessHistoryID const &phid)
ParentageIDMap parentageIDMap_
std::string oldProcessName_
std::string moduleName(StableProvenance const &provenance, ProcessHistory const &history)
BranchDescription const constBranchDescription_
constexpr const std::type_info & typeInfo() const
static std::string const triggerPaths
ParameterSet processParameterSet_
std::string const & moduleLabel() const
std::vector< std::string > vstring
void copyProduct(BranchDescription const &productdesc)
ProcessHistoryID const * oldProcessHistoryID_