13#ifndef SCT_ByteStreamErrorsTool_h
14#define SCT_ByteStreamErrorsTool_h
22#include "Identifier/Identifier.h"
32#include "GaudiKernel/EventContext.h"
33#include "GaudiKernel/EventIDBase.h"
39#include <unordered_map>
72 virtual StatusCode
finalize()
override;
81 virtual bool isGood(
const IdentifierHash& elementIdHash,
const EventContext& ctx)
const override;
85 virtual std::set<IdentifierHash>
getErrorSet(
int errorType,
const EventContext& ctx)
const override;
86 virtual std::set<IdentifierHash>
getErrorSet(
int errorType)
const override;
97 ToolHandle<ISCT_ConfigurationConditionsTool>
m_config{
this,
"ConfigTool",
98 "SCT_ConfigurationConditionsTool/InDetSCT_ConfigurationConditionsTool",
"Tool to retrieve SCT Configuration Tool"};
109 EventContext::ContextEvt_t
eventId{EventContext::INVALID_CONTEXT_EVT};
132 return eventId != ctx.evt() or
eventId == EventContext::INVALID_CONTEXT_EVT;
149 [[nodiscard]] IDCCacheEntry*
getCacheEntry(
const EventContext& ctx)
const;
154 StatusCode
fillData(
const EventContext& ctx)
const;
Maintain a set of objects, one per slot.
IdentifiableValueCache< IDCInDetBSErrContainer::ErrorCode > IDCInDetBSErrContainer_Cache
Header containing the InDetHierarchy enum, to avoid pulling in a class every time it is needed and na...
Property holding a SG store/key/clid from which a ReadHandle is made.
Header file for AthHistogramAlgorithm.
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather th...
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
This is a "hash" representation of an Identifier.
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the SCT subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.
Maintain a set of objects, one per slot.
void reset(EventContext::ContextEvt_t evtId, const IDCInDetBSErrContainer_Cache *cache)
std::unordered_map< size_t, unsigned int > abcdErrorChips
std::unordered_map< size_t, unsigned int > tempMaskedChips
bool needsUpdate(const EventContext &ctx) const
const IDCInDetBSErrContainer_Cache * IDCCache
EventContext::ContextEvt_t eventId
unsigned int m_set_number