![]() |
ATLAS Offline Software
|
Service that keeps track of configuration conditions. More...
#include <SCT_ConfigurationConditionsTool.h>
Public Member Functions | |
| SCT_ConfigurationConditionsTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~SCT_ConfigurationConditionsTool ()=default |
| virtual StatusCode | initialize () override |
| virtual bool | canReportAbout (InDetConditions::Hierarchy h) const override |
| Can the tool report about the given component? | |
| virtual bool | isGood (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override |
| Is the detector element good? | |
| virtual bool | isGood (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override |
| virtual bool | isGood (const IdentifierHash &hashId) const override |
| Is it good? | |
| virtual bool | isGood (const IdentifierHash &hashId, const EventContext &ctx) const override |
| virtual void | getDetectorElementStatus (const EventContext &ctx, InDet::SiDetectorElementStatus &element_status, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override |
| virtual const std::set< Identifier > * | badModules (const EventContext &ctx) const override |
| List of bad modules. | |
| virtual const std::set< Identifier > * | badModules () const override |
| virtual void | badStrips (std::set< Identifier > &strips, const EventContext &ctx, bool ignoreBadModules=false, bool ignoreBadChips=false) const override |
| List of bad strips. | |
| virtual void | badStrips (std::set< Identifier > &strips, bool ignoreBadModules=false, bool ignoreBadChips=false) const override |
| virtual void | badStrips (const Identifier &moduleId, std::set< Identifier > &strips, const EventContext &ctx, bool ignoreBadModules=false, bool ignoreBadChips=false) const override |
| List of bad strips for a given module. | |
| virtual void | badStrips (const Identifier &moduleId, std::set< Identifier > &strips, bool ignoreBadModules=false, bool ignoreBadChips=false) const override |
| virtual std::pair< bool, bool > | badLinks (const IdentifierHash &hash, const EventContext &ctx) const override |
| List of bad links. | |
| virtual std::pair< bool, bool > | badLinks (const IdentifierHash &hash) const override |
| virtual const std::map< IdentifierHash, std::pair< bool, bool > > * | badLinks (const EventContext &ctx) const override |
| Bad links for a given module. | |
| virtual const std::map< IdentifierHash, std::pair< bool, bool > > * | badLinks () const override |
| virtual const std::map< Identifier, unsigned int > * | badChips (const EventContext &ctx) const override |
| List of bad chips. | |
| virtual const std::map< Identifier, unsigned int > * | badChips () const override |
| virtual unsigned int | badChips (const Identifier &moduleId, const EventContext &ctx) const override |
| Bad chips for a given module. | |
| virtual unsigned int | badChips (const Identifier &moduleId) const override |
| virtual int | getChip (const Identifier &stripId, const EventContext &ctx) const override |
| Get the chip number containing a particular strip. | |
| virtual int | getChip (const Identifier &stripId) const override |
Private Types | |
| enum | { stripsPerChip =128 , lastStrip =767 , invalidChipNumber =-1 } |
| enum for constants More... | |
Private Member Functions | |
| bool | isStripInBadModule (const Identifier &stripId, const SCT_ConfigurationCondData *) const |
| Is a strip within a bad module. | |
| bool | isWaferInBadModule (const Identifier &waferId, const EventContext &ctx) const |
| Is a wafer in a bad module. | |
| bool | isGoodChip (const Identifier &stripId, const EventContext &ctx) const |
| Is a chip with this Identifier good? | |
| const SCT_ConfigurationCondData * | getCondData (const EventContext &ctx) const |
| const InDetDD::SiDetectorElement * | getDetectorElement (const IdentifierHash &waferHash, const EventContext &ctx) const |
Private Attributes | |
| SG::ReadCondHandleKey< SCT_ConfigurationCondData > | m_condKey {this, "CondKey", "SCT_ConfigurationCondData", "SCT DAQ configuration"} |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"} |
| const SCT_ID * | m_pHelper {nullptr} |
| ID helper for SCT. | |
| BooleanProperty | m_checkStripsInsideModules {this, "checkStripsInsideModule", true, " Do we want to check if a strip is bad because it is inside a bad module"} |
Service that keeps track of configuration conditions.
Tool which reads SCT_Configuration from the database Deals with bad modules, bad links, strips out of the readout and bad strips.
Definition at line 41 of file SCT_ConfigurationConditionsTool.h.
|
private |
enum for constants
| Enumerator | |
|---|---|
| stripsPerChip | |
| lastStrip | |
| invalidChipNumber | |
Definition at line 106 of file SCT_ConfigurationConditionsTool.h.
| SCT_ConfigurationConditionsTool::SCT_ConfigurationConditionsTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 18 of file SCT_ConfigurationConditionsTool.cxx.
|
virtualdefault |
|
overridevirtual |
Definition at line 340 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
List of bad chips.
Definition at line 330 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 356 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Bad chips for a given module.
Definition at line 345 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 325 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Bad links for a given module.
Definition at line 315 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 310 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
List of bad links.
Definition at line 298 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 262 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
List of bad modules.
Definition at line 252 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 293 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
List of bad strips for a given module.
Definition at line 267 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 392 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
List of bad strips.
Definition at line 361 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Can the tool report about the given component?
(chip, module...)
Definition at line 37 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 247 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Get the chip number containing a particular strip.
Definition at line 236 of file SCT_ConfigurationConditionsTool.cxx.
|
private |
Definition at line 398 of file SCT_ConfigurationConditionsTool.cxx.
|
private |
Definition at line 403 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 72 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 24 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 46 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Is the detector element good?
Definition at line 155 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Is it good?
, using wafer hash
Definition at line 167 of file SCT_ConfigurationConditionsTool.cxx.
|
overridevirtual |
Definition at line 162 of file SCT_ConfigurationConditionsTool.cxx.
|
private |
Is a chip with this Identifier good?
Definition at line 173 of file SCT_ConfigurationConditionsTool.cxx.
|
private |
Is a strip within a bad module.
Definition at line 213 of file SCT_ConfigurationConditionsTool.cxx.
|
private |
Is a wafer in a bad module.
Definition at line 224 of file SCT_ConfigurationConditionsTool.cxx.
|
private |
Definition at line 95 of file SCT_ConfigurationConditionsTool.h.
|
private |
Definition at line 91 of file SCT_ConfigurationConditionsTool.h.
|
private |
|
private |
Definition at line 92 of file SCT_ConfigurationConditionsTool.h.