Skip to content
Snippets Groups Projects
Commit 9c0b9831 authored by Tim Martin's avatar Tim Martin
Browse files

tidy / formatting

parent 9675e61a
No related branches found
No related tags found
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles,!20010ATR-19246 TriggerMT Decision Encoding in ESD Update
......@@ -54,7 +54,8 @@ StatusCode DecisionSummaryMakerAlg::execute(const EventContext& context) const {
}
const auto thisCollFilter = m_collectionFilter.find( key.key() );
if ( thisCollFilter == m_collectionFilter.end() ) {
ATH_MSG_WARNING( "The colleciton " << key.key() << " is not configured to contain any final decision, remove it from the configuration of " << name() << " to save time" );
ATH_MSG_WARNING( "The collection " << key.key() << " is not configured to contain any final decision,"
<< "remove it from the configuration of " << name() << " to save time" );
continue;
}
......@@ -116,9 +117,9 @@ StatusCode DecisionSummaryMakerAlg::execute(const EventContext& context) const {
decisionIDs( prescaledOutput ).insert( decisionIDs( prescaledOutput ).end(),
prescaledIDs.begin(), prescaledIDs.end() ); // Save this to the output
// Save the set of chains which were flagged as only executing in rerun. This is a direct copy
// Save the set of chains which were flagged as only executing in rerun.
DecisionIDContainer rerunIDs;
decisionIDs( rerunChains, rerunIDs ); // Extract from rerunChains (a Decision*) into rerunIDs (a set<int>)
decisionIDs( rerunChains, rerunIDs );
decisionIDs( rerunOutput ).insert( decisionIDs( rerunOutput ).end(),
rerunIDs.begin(), rerunIDs.end() );
......
......@@ -12,7 +12,9 @@
/**
* @class DecisionsSummaryMakerAlg
* @brief makes one decision object containing only one decision ID per accepted chain
* @brief Executes after both the first-pass and secon-pass (rerun) chains have finished.
* Makes decision objects containing decision IDs per passing chain, prescaled chain and rerun chain.
* Sends end-of-HLT processing trigger to cost monitoring. Writes HLTSummary container.
**/
class DecisionSummaryMakerAlg : public AthReentrantAlgorithm {
public:
......@@ -26,18 +28,22 @@ public:
private:
SG::WriteHandleKey<TrigCompositeUtils::DecisionContainer> m_summaryKey{ this, "DecisionsSummaryKey", "HLTSummary",
"location of final decision" };
SG::ReadHandleKeyArray<TrigCompositeUtils::DecisionContainer> m_finalDecisionKeys{ this, "FinalDecisionKeys", {},
"Final stage of all decisions" };
SG::WriteHandleKey<xAOD::TrigCompositeContainer> m_costWriteHandleKey { this, "CostWriteHandleKey", "TrigCostContainer",
"Trig composite collections summarising the HLT execution" };
SG::ReadHandleKey<xAOD::TrigCompositeContainer> m_l1SummaryKey { this, "L1DecoderSummaryKey", "L1DecoderSummary",
"Chains status after L1 and prescaling" };
ServiceHandle<ITrigCostMTSvc> m_trigCostSvcHandle { this, "TrigCostMTSvc", "TrigCostMTSvc",
"The trigger cost service" };
Gaudi::Property< std::map< std::string, std::string > > m_lastStepForChain{ this, "FinalStepDecisions", {},
"The map of chain name to name of the collection in which the final decision is found" };
"The map of chain name to name of the collection in which the final decision is found" };
Gaudi::Property<bool> m_enableCostMonitoring{this, "EnableCostMonitoring", false,
"Enables end-of-event cost monitoring behavior."};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment