|
ATLAS Offline Software
|
Go to the documentation of this file.
22 std::vector<std::string> passedChains{};
24 [&trigDecTool](
const auto&
chain) { return trigDecTool->isPassed(chain, TrigDefs::requireDecision); });
26 if (passedChains.size() > 0) {
27 ATH_MSG_DEBUG(
"Passed chains (" << passedChains.size() <<
"):");
29 for (
const auto&
chain : passedChains) {
34 auto counts =
Collection(
"counts", passedChains);
35 fill(
"AFPCount", counts);
37 return StatusCode::SUCCESS;
const ToolHandle< Trig::TrigDecisionTool > & getTrigDecisionTool() const
Get the trigger decision tool member.
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Base class for Athena Monitoring Algorithms.
Generic monitoring tool for athena components.
::StatusCode StatusCode
StatusCode definition for legacy code.
Out copy_if(In first, const In &last, Out res, const Pred &p)
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
virtual StatusCode initialize() override
initialize
virtual StatusCode initialize() override
initialize
FwdAFPCountMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::vector< std::string > > m_chains
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms