33 SCTErrMonAlg(
const std::string& name, ISvcLocator* pSvcLocator);
35 virtual StatusCode
initialize() override final;
37 virtual StatusCode
stop() override final;
53 (*this)[iCat][iReg][iLay][iEta].fill(
false);
65 if ((*
this)[errCate][iReg][iLay][iEta][iPhi]) cnt++;
75 EventContext::ContextEvt_t
m_evt{EventContext::INVALID_CONTEXT_EVT};
84 std::vector<moduleGeo_t>
m_geo{};
89 mutable std::array<std::atomic_int, SCT_Monitoring::N_REGIONS_INC_GENERAL> m_nMaskedLinks
ATLAS_THREAD_SAFE {};
96 BooleanProperty
m_useDCS{
this,
"UseDCS",
true};
97 BooleanProperty
m_doPerLumiErrors{
this,
"DoPerLumiErrors",
true,
"Do lumi block 2D error histos"};
100 ToolHandle<ISCT_ByteStreamErrorsTool>
m_byteStreamErrTool{
this,
"SCT_ByteStreamErrorsTool",
"SCT_ByteStreamErrorsTool/SCT_ByteStreamErrorsTool",
"Tool to retrieve SCT ByteStream Errors"};
101 ToolHandle<ISCT_ConfigurationConditionsTool>
m_configurationTool{
this,
"conditionsTool",
"SCT_ConfigurationConditionsTool/InDetSCT_ConfigurationConditionsTool",
"Tool to retrieve SCT Configuration Tool"};
102 ToolHandle<ISCT_DCSConditionsTool>
m_dcsTool{
this,
"SCT_DCSConditionsTool",
"SCT_DCSConditionsTool/InDetSCT_DCSConditionsTool",
"Tool to retrieve SCT DCS information"};
103 ToolHandle<IInDetConditionsTool>
m_pSummaryTool{
this,
"SCT_ConditionsSummaryTool",
"SCT_ConditionsSummaryTool/InDetSCT_ConditionsSummaryTool",
"Tool to retrieve SCT Conditions summary"};
104 ToolHandle<ISCT_FlaggedConditionTool>
m_flaggedTool{
this,
"SCT_FlaggedConditionTool",
"SCT_FlaggedConditionTool/InDetSCT_FlaggedConditionTool",
"Tool to retrieve bad wafers with many fired strips"};
105 ToolHandle<IDQFilterTool>
m_atlasReadyFilter{
this,
"ReadyFilterTool",
"DQAtlasReadyFilterTool/DQAtlasReadyFilterTool",
"Tool to retrieve R4P flag"};
110 StatusCode fillConfigurationDetails(
const EventContext& ctx)
const;
111 StatusCode fillByteStreamErrors(
const EventContext& ctx)
const;
113 int fillByteStreamErrorsHelper(
const std::set<IdentifierHash>& errors,
115 categoryErrorMap_t& categoryErrorMap,
116 std::array<int, SCT_Monitoring::N_REGIONS_INC_GENERAL>& nMaskedLinks)
const;
117 void numByteStreamErrors(
const std::set<IdentifierHash>& errors,
int& ntot)
const;
118 bool disabledSCT(std::set<IdentifierHash>& sctHashDisabled)
const;
119 bool errorSCT(std::set<IdentifierHash>& sctHashBadLinkError,
120 std::set<IdentifierHash>& sctHashBadRODError,
121 std::set<IdentifierHash>& sctHashBadError)
const;
122 bool summarySCT(std::set<IdentifierHash>& sctHashAll, std::set<IdentifierHash>& sctHashSummary)
const;
123 bool psTripDCSSCT(std::set<IdentifierHash>& sctHashPSTripDCS,
float& PSTripModules)
const;
124 void fillWafer(moduleGeo_t module, TH2F& histo)
const;
125 double calculateDetectorCoverage(
const TH2F& histo,
const TH2F& histoAll)
const;
EventContext::ContextEvt_t m_evt
std::vector< TH2F > m_mapSCT