![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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);
140 return element_status;
156 ATH_MSG_WARNING(
"goodFraction is a deprecated function always returning 1.0 ");
162 ATH_MSG_WARNING(
"hasBSError() is not implemented for SCT_ConditionsSummaryTool");
168 ATH_MSG_WARNING(
"hasBSError() is not implemented for SCT_ConditionsSummaryTool");
174 ATH_MSG_WARNING(
"getBSErrorWord() is not implemented for SCT_ConditionsSummaryTool");
180 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...
Event data to hold the status information for SCT modules.
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.
StatusCode initialize(bool used=true)
#define ATH_MSG_WARNING(x)
void addDependency(const EventIDRange &range)