Skip to content
Snippets Groups Projects
Commit 77545c69 authored by Hass AbouZeid's avatar Hass AbouZeid
Browse files

Merge branch 'cherry-pick-f7bb8114' into '21.0'

Merge branch 'pull-TrigOnlineMonitor-20-00-46' into '21.1'

See merge request !1820

Former-commit-id: ca132111f98b11a20338c0fee8e0e3d147717366
parents 68e136a1 8631a20c
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,6 @@ public:
StatusCode execute();
StatusCode finalize();
StatusCode beginRun();
StatusCode endRun();
private:
......
......@@ -98,7 +98,8 @@ TrigL1TopoROBMonitor::TrigL1TopoROBMonitor(const std::string& name, ISvcLocator*
m_histTopoHdwNotSimResult(0),
m_histTopoProblems(0),
m_histInputLinkCRCfromROIConv(0),
m_setTopoSimResult(false)
m_setTopoSimResult(false),
m_firstEvent(true)
{
m_scaler = new HLT::PeriodicScaler();
declareProperty("L1TopoDAQROBIDs", m_vDAQROBIDs = {0x00910000, 0x00910010, 0x00910020}, "L1TOPO DAQ ROB IDs");
......@@ -169,7 +170,9 @@ StatusCode TrigL1TopoROBMonitor::execute() {
eformat::helper::DetectorMask detMask(mask64);
ATH_MSG_VERBOSE ( "DetectorMask " << detMask.string() << " is_set(TDAQ_CALO_TOPO_PROC): " << detMask.is_set(eformat::TDAQ_CALO_TOPO_PROC) );
if (! detMask.is_set(eformat::TDAQ_CALO_TOPO_PROC) ){
ATH_MSG_INFO( "SubDetector::TDAQ_CALO_TOPO_PROC not included so do nothing and return" );
if(m_firstEvent)
ATH_MSG_INFO( "SubDetector::TDAQ_CALO_TOPO_PROC not included so do nothing and return" );
m_firstEvent = false;
return StatusCode::SUCCESS;
}
}
......
......@@ -94,6 +94,7 @@ class TrigL1TopoROBMonitor:public AthAlgorithm {
std::bitset<m_nTopoCTPOutputs> m_topoSimResult; //! simulation of CTP output
std::bitset<m_nTopoCTPOutputs> m_topoCtpResult; //! actual hardware CTP output
bool m_setTopoSimResult;
bool m_firstEvent; //! used to toggle the ATH_MSG_INFO only on the first event
enum class Problems {
ROI_NO_RDO=0,
ROI_CNV_ERR,
......
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