26 "FEDRawDataCollection",
27 "FEDRawDataCollection",
29 "FedRawDataInputSource",
33 dummyProvenance_(constBranchDescription_.branchID()),
34 processParameterSet_(),
45 typedef std::vector<std::string>
vstring;
50 modlbl.push_back(moduleLabel);
59 pseudoInput.addParameter<
std::string>(
"@module_label", moduleLabel);
93 for (
auto const& pc : ph) {
103 std::vector<ProcessConfiguration> newPCs;
104 for (
auto const& pc : pcv) {
110 assert(!newPCs.empty());
111 pcv.reserve(pcv.size() + newPCs.size());
112 pcv.insert(pcv.end(), newPCs.begin(), newPCs.end());
114 for (
auto& ph : phv) {
115 for (
auto const& newPC : newPCs) {
118 ph.push_front(newPC);
120 phidMap_.insert(std::make_pair(oldPHID, newPHID));
126 phv.reserve(phv.size() + newPCs.size());
127 for (
auto const& newPC : newPCs) {
129 phv.back().push_front(newPC);
142 for (
auto&
list : lists) {
148 typedef std::map<BranchID, std::set<BranchID> > BCMap;
150 BCMap& childLookup =
const_cast<BCMap&
>(branchChildren.
childLookup());
154 if (i != childLookup.end()) {
155 childLookup.insert(std::make_pair(
newBranchID_, i->second));
156 childLookup.erase(i);
160 for (
auto&
child : childLookup) {
169 ProcessHistoryIDMap::const_iterator it =
phidMap_.find(phid);
DaqProvenanceHelper(TypeID const &rawDataType)
std::vector< BranchIDList > BranchIDLists
ParameterSetID id() const
BranchID const & mapBranchID(BranchID const &branchID) const
bool registerProcessHistory(ProcessHistory const &processHistory)
def replace(string, replacements)
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 moduleName(Provenance const &provenance)
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
std::string getReleaseVersion()
ParentageIDMap parentageIDMap_
ReleaseVersion const & releaseVersion() const
std::string oldProcessName_
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)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
ProcessHistoryID const * oldProcessHistoryID_
bool matchProcesses(ProcessConfiguration const &pc, ProcessHistory const &ph) const