ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigMuonMonitoring
src
MuonTriggerCount.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonTriggerCount.h
"
6
7
8
MuonTriggerCount :: MuonTriggerCount(
const
std::string& name, ISvcLocator* pSvcLocator )
9
:
TrigMuonMonitorAlgorithm
(name, pSvcLocator)
10
{}
11
12
13
StatusCode MuonTriggerCount :: fillVariables(
const
EventContext&)
const
{
14
15
ATH_MSG_DEBUG
(
"Filling histograms for "
<< name() <<
"..."
);
16
17
std::vector<std::string> passed_chains;
18
for
(
const
auto
& c:
m_monitored_chains
) {
if
(
getTrigDecisionTool
()->isPassed(c)) passed_chains.push_back(c); }
19
auto
passed
=
Monitored::Collection
(
"TriggerCount"
, passed_chains );
20
21
fill
(
m_group
,
passed
);
22
23
return
StatusCode::SUCCESS;
24
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
passed
bool passed(DecisionID id, const DecisionIDContainer &)
checks if required decision ID is in the set of IDs in the container
Definition
TrigCompositeUtilsRoot.cxx:118
MuonTriggerCount.h
AthMonitorAlgorithm::getTrigDecisionTool
const ToolHandle< Trig::TrigDecisionTool > & getTrigDecisionTool() const
Get the trigger decision tool member.
Definition
AthMonitorAlgorithm.cxx:203
TrigMuonMonitorAlgorithm::m_group
Gaudi::Property< std::string > m_group
Name of monitored group.
Definition
TrigMuonMonitorAlgorithm.h:144
TrigMuonMonitorAlgorithm::TrigMuonMonitorAlgorithm
TrigMuonMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigMuonMonitorAlgorithm.cxx:8
TrigMuonMonitorAlgorithm::m_monitored_chains
Gaudi::Property< std::vector< std::string > > m_monitored_chains
List of trigger chains that are monitored in fillVariablesPerChain and fillVariablesPerOfflineMuonPer...
Definition
TrigMuonMonitorAlgorithm.h:138
Monitored::Collection
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Definition
MonitoredCollection.h:38
fill
void fill(H5::Group &out_file, size_t iterations)
Definition
test-half-precision.cxx:64
Generated on
for ATLAS Offline Software by
1.17.0