|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/EventContext.h"
29 ATH_MSG_ERROR(
"Retrieval of ToolHandleArray<ISCT_ConditionsTool> failed.");
34 ATH_MSG_FATAL(
"The event data (SCTDetElStatusEventDataBaseKey) and cond data (SCTDetElStatusCondDataBaseKey) keys cannot be set at the same time.");
51 return isGood(elementId,
h, ctx);
56 return isGood(elementHash, ctx);
61 return isGood(elementHash, elementId, ctx);
68 if (
tool->canReportAbout(
h) and (not
tool->isGood(elementId, ctx,
h)))
return false;
80 (not
tool->isGood(elementHash, ctx))) {
92 throw std::runtime_error(
"Object is not of expected type InDet::SCT_DetectorElementStatus");
97 std::unique_ptr<InDet::SiDetectorElementStatus>
100 std::string tool_name (
name());
107 return std::make_unique<InDet::SCT_DetectorElementStatus>(*castToDerived(input_element_status.cptr()));
113 return std::make_unique<InDet::SCT_DetectorElementStatus>(*castToDerived(input_element_status.cptr()));
121 return std::make_unique<InDet::SCT_DetectorElementStatus>(*elements);
125 std::unique_ptr<InDet::SiDetectorElementStatus>
128 std::unique_ptr<InDet::SiDetectorElementStatus>
136 tool->getDetectorElementStatus(ctx,*element_status,whandle);
149 return element_status;
163 IDCCacheEntry*
vector{
nullptr};
170 ATH_MSG_WARNING(
"goodFraction is a deprecated function always returning 1.0 ");
176 ATH_MSG_WARNING(
"hasBSError() is not implemented for SCT_ConditionsSummaryTool");
182 ATH_MSG_WARNING(
"hasBSError() is not implemented for SCT_ConditionsSummaryTool");
188 ATH_MSG_WARNING(
"getBSErrorWord() is not implemented for SCT_ConditionsSummaryTool");
194 ATH_MSG_WARNING(
"getBSErrorWord() is not implemented for SCT_ConditionsSummaryTool");
def retrieve(aClass, aKey=None)
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
const std::vector< bool > & getElementStatus() const
Event data to hold the status information for SCT modules.
const std::vector< std::vector< unsigned short > > & getBadCells() const
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
const std::vector< InDetDD::SiDetectorElement * > & getDetectorElements() const
StatusCode initialize(bool used=true)
#define ATH_MSG_WARNING(x)
const std::vector< ChipFlags_t > & getElementChipStatus() const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
void addDependency(const EventIDRange &range)