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) {
103 std::vector<ProcessConfiguration> newPCs;
104 for(
auto const& pc : pcv) {
108 pc.releaseVersion(), pc.passID());
111 assert(!newPCs.empty());
112 pcv.reserve(pcv.size() + newPCs.size());
113 pcv.insert(pcv.end(), newPCs.begin(), newPCs.end());
115 for(
auto& ph : phv) {
116 for(
auto const& newPC : newPCs) {
119 ph.push_front(newPC);
121 phidMap_.insert(std::make_pair(oldPHID, newPHID));
127 phv.reserve(phv.size() + newPCs.size());
128 for(
auto const& newPC : newPCs) {
130 phv.back().push_front(newPC);
145 for(
auto&
list : lists) {
152 typedef std::map<BranchID, std::set<BranchID> > BCMap;
154 BCMap& childLookup =
const_cast<BCMap&
>(branchChildren.
childLookup());
158 if(i != childLookup.end()) {
159 childLookup.insert(std::make_pair(
newBranchID_, i->second));
160 childLookup.erase(i);
164 for(
auto&
child : childLookup) {
174 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