24 ,
"FEDRawDataCollection"
25 ,
"FEDRawDataCollection"
31 , dummyProvenance_(constBranchDescription_.branchID())
32 , processParameterSet_()
44 typedef std::vector<std::string>
vstring;
49 modlbl.push_back(moduleLabel);
58 pseudoInput.addParameter<
std::string>(
"@module_label", moduleLabel);
93 for(
auto const& pc : ph) {
104 std::vector<ProcessConfiguration> newPCs;
105 for(
auto const& pc : pcv) {
109 pc.releaseVersion(), pc.passID());
112 assert(!newPCs.empty());
113 pcv.reserve(pcv.size() + newPCs.size());
114 pcv.insert(pcv.end(), newPCs.begin(), newPCs.end());
116 for(
auto& ph : phv) {
117 for(
auto const& newPC : newPCs) {
120 ph.push_front(newPC);
122 phidMap_.insert(std::make_pair(oldPHID, newPHID));
128 phv.reserve(phv.size() + newPCs.size());
129 for(
auto const& newPC : newPCs) {
131 phv.back().push_front(newPC);
146 for(
auto&
list : lists) {
153 typedef std::map<BranchID, std::set<BranchID> > BCMap;
155 BCMap& childLookup =
const_cast<BCMap&
>(branchChildren.
childLookup());
159 if(i != childLookup.end()) {
160 childLookup.insert(std::make_pair(
newBranchID_, i->second));
161 childLookup.erase(i);
165 for(
auto&
child : childLookup) {
175 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)
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
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_
BranchDescription const constBranchDescription_
volatile std::atomic< bool > shutdown_flag false
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