23 ,
"FEDRawDataCollection"
24 ,
"FEDRawDataCollection"
30 , dummyProvenance_(constBranchDescription_.branchID())
31 , processParameterSet_()
35 , oldProcessHistoryID_(0)
36 , processConfiguration_()
44 typedef std::vector<std::string>
vstring;
49 modlbl.push_back(moduleLabel);
57 pseudoInput.
addParameter<std::string>(
"@module_edm_type",
"Source");
58 pseudoInput.addParameter<std::string>(
"@module_label", moduleLabel);
59 pseudoInput.addParameter<std::string>(
"@module_type", moduleName);
98 for(std::vector<ProcessConfiguration>::const_iterator it = pcv.begin(), itEnd = pcv.end(); it != itEnd; ++it) {
102 it->releaseVersion(), it->passID());
113 phv.reserve(phv.size() + 1);
115 for(std::vector<ProcessHistory>::iterator it = phv.begin(), itEnd = phv.end(); it != itEnd; ++it) {
119 phidMap_.insert(std::make_pair(oldPHID, newPHID));
134 for(BranchIDLists::iterator it = lists.begin(), itEnd = lists.end(); it != itEnd; ++it) {
141 typedef std::map<BranchID, std::set<BranchID> > BCMap;
143 BCMap& childLookup =
const_cast<BCMap&
>(branchChildren.
childLookup());
147 if(i != childLookup.end()) {
148 childLookup.insert(std::make_pair(
newBranchID_, i->second));
149 childLookup.erase(i);
153 for(BCMap::iterator it = childLookup.begin(), itEnd = childLookup.end(); it != itEnd; ++it) {
163 ProcessHistoryIDMap::const_iterator it =
phidMap_.find(phid);
std::string const & processName() const
DaqProvenanceHelper(TypeID const &rawDataType)
BranchDescription const & me() const
std::vector< std::string > vstring
ParameterSetID id() const
static ThreadSafeRegistry * instance()
std::vector< BranchIDList > BranchIDLists
BranchID const & mapBranchID(BranchID const &branchID) const
bool insertMapped(value_type const &v)
ProcessHistoryID daqInit(ProductRegistry &productRegistry) const
std::string const & moduleName() const
ProcessHistoryID const & mapProcessHistoryID(ProcessHistoryID const &phid)
ConstBranchDescription constBranchDescription_
map_t const & childLookup() const
ProcessHistoryIDMap phidMap_
ProcessConfiguration processConfiguration_
void addParameter(std::string const &name, T const &value)
std::string getReleaseVersion()
ParentageIDMap parentageIDMap_
void push_back(const_reference t)
std::string oldProcessName_
author Stefano ARGIRO author Bill Tanenbaum
ParentageID const & mapParentageID(ParentageID const &phid) const
ProcessHistoryID id() const
ParameterSet const & registerIt()
ParameterSet processParameterSet_
void copyProduct(BranchDescription const &productdesc)
std::string const & moduleLabel() const
ProcessHistoryID const * oldProcessHistoryID_
void fixMetaData(std::vector< ProcessConfiguration > &pcv)