|
ATLAS Offline Software
|
Go to the documentation of this file.
42 typedef std::pair<std::pair<
double,
double>, std::pair<
double,
double>>
moduleGeo_t;
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"};
114 categoryErrorMap_t& categoryErrorMap,
115 std::array<int, SCT_Monitoring::N_REGIONS_INC_GENERAL>& nMaskedLinks)
const;
117 bool disabledSCT(std::set<IdentifierHash>& sctHashDisabled)
const;
118 bool errorSCT(std::set<IdentifierHash>& sctHashBadLinkError,
119 std::set<IdentifierHash>& sctHashBadRODError,
120 std::set<IdentifierHash>& sctHashBadError)
const;
121 bool summarySCT(std::set<IdentifierHash>& sctHashAll, std::set<IdentifierHash>& sctHashSummary)
const;
122 bool psTripDCSSCT(std::set<IdentifierHash>& sctHashPSTripDCS,
float& PSTripModules)
const;
127 #endif // SCTERRMONALG_H
std::pair< std::pair< double, double >, std::pair< double, double > > moduleGeo_t
std::atomic_bool m_isFirstConfigurationDetails
ToolHandle< ISCT_DCSConditionsTool > m_dcsTool
ToolHandle< IInDetConditionsTool > m_pSummaryTool
int fillByteStreamErrorsHelper(const std::set< IdentifierHash > &errors, int err_type, categoryErrorMap_t &categoryErrorMap, std::array< int, SCT_Monitoring::N_REGIONS_INC_GENERAL > &nMaskedLinks) const
Used in fillByteStreamErrors()
void fillWafer(moduleGeo_t module, TH2F &histo) const
bool errorSCT(std::set< IdentifierHash > &sctHashBadLinkError, std::set< IdentifierHash > &sctHashBadRODError, std::set< IdentifierHash > &sctHashBadError) const
const SCT_ID * m_pSCTHelper
bool psTripDCSSCT(std::set< IdentifierHash > &sctHashPSTripDCS, float &PSTripModules) const
bool const RAWDATA *ch2 const
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
virtual ~SCTErrMonAlg()=default
std::vector< TH2F > m_mapSCT
bool disabledSCT(std::set< IdentifierHash > &sctHashDisabled) const
static const double s_wafersThreshold
Base class for Athena Monitoring Algorithms.
std::vector< moduleGeo_t > m_geo
BooleanProperty m_doPerLumiErrors
Maintain a set of objects, one per slot.
virtual StatusCode stop() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode fillByteStreamErrors(const EventContext &ctx) const
SG::SlotSpecificObj< CacheEntry > m_cache ATLAS_THREAD_SAFE
void numByteStreamErrors(const std::set< IdentifierHash > &errors, int &ntot) const
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
adds event to the monitoring histograms
BooleanProperty m_doOnline
bool summarySCT(std::set< IdentifierHash > &sctHashAll, std::set< IdentifierHash > &sctHashSummary) const
BooleanProperty m_coverageCheck
static const unsigned int s_nBinsEta
ToolHandle< ISCT_FlaggedConditionTool > m_flaggedTool
static const double s_rangeEta
double calculateDetectorCoverage(const TH2F &histo, const TH2F &histoAll) const
StatusCode fillConfigurationDetails(const EventContext &ctx) const
Used in fillHistograms()
BooleanProperty m_coverageCheckOnlyFirtsEventOfLB
ToolHandle< ISCT_ByteStreamErrorsTool > m_byteStreamErrTool
Maintain a set of objects, one per slot.
SCTErrMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ISCT_ConfigurationConditionsTool > m_configurationTool
setScale setgFexType iEta
std::set< uint32_t > m_procLB ATLAS_THREAD_SAFE
BooleanProperty m_makeConfHisto
virtual StatusCode initialize() override final
initialize
EventContext::ContextEvt_t m_evt
static const unsigned int s_nBinsPhi