![]() |
ATLAS Offline Software
|
#include <PixelConditionsSummaryTool.h>
Public Member Functions | |
| PixelConditionsSummaryTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~PixelConditionsSummaryTool () |
| virtual StatusCode | initialize () override |
| virtual bool | isActive (const Identifier &elementId, const InDetConditions::Hierarchy h, const EventContext &ctx) const override final |
| virtual bool | isActive (const IdentifierHash &moduleHash, const EventContext &ctx) const override final |
| virtual bool | isActive (const IdentifierHash &moduleHash, const Identifier &elementId, const EventContext &ctx) const override final |
| virtual double | activeFraction (const IdentifierHash &moduleHash, const Identifier &idStart, const Identifier &idEnd, const EventContext &ctx) const override final |
| virtual bool | isGood (const Identifier &elementId, const InDetConditions::Hierarchy h, const EventContext &ctx) const override final |
| virtual bool | isGood (const IdentifierHash &moduleHash, const EventContext &ctx) const override final |
| virtual bool | isGood (const IdentifierHash &moduleHash, const Identifier &elementId, const EventContext &ctx, const IDCCacheEntry *cacheEntry=nullptr) const override final |
| virtual double | goodFraction (const IdentifierHash &moduleHash, const Identifier &idStart, const Identifier &idEnd, const EventContext &ctx) const override final |
| virtual std::unique_ptr< InDet::SiDetectorElementStatus > | getDetectorElementStatus (const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override |
| get the module and chip status of Si detector elements | |
| virtual bool | hasBSError (const IdentifierHash &moduleHash, const EventContext &ctx, const IDCCacheEntry *cacheEntry=nullptr) const override final |
| virtual bool | hasBSError (const IdentifierHash &moduleHash, Identifier pixid, const EventContext &ctx, const IDCCacheEntry *cacheEntry=nullptr) const override final |
| virtual uint64_t | getBSErrorWord (const IdentifierHash &moduleHash, const EventContext &ctx, const IDCCacheEntry *cacheEntry=nullptr) const override final |
| virtual uint64_t | getBSErrorWord (const IdentifierHash &moduleHash, const int index, const EventContext &ctx, const IDCCacheEntry *cacheEntry=nullptr) const override final |
| virtual IDCCacheEntry * | getCacheEntryOut (const EventContext &ctx) const override final |
| bool | checkChipStatus (IdentifierHash moduleHash, Identifier pixid, const EventContext &ctx) const |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
| DeclareInterfaceID (IInDetConditionsTool, 1, 0) | |
| Creates the InterfaceID and interfaceID() method. | |
Static Public Member Functions | |
| static InterfaceID & | interfaceID () |
| static EventIDBase | getUndefinedEventId () |
| static EventIDRange | getInvalidRange () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| uint64_t | getBSErrorWord (const InDetDD::PixelModuleDesign *p_design, const int index, const EventContext &ctx, const IInDetConditionsTool::IDCCacheEntry *cacheEntry) const |
| bool | hasBSError (const InDetDD::PixelModuleDesign *p_design, const IdentifierHash &moduleHash, const EventContext &ctx, const IInDetConditionsTool::IDCCacheEntry *cacheEntry) const |
| const InDetDD::SiDetectorElement * | getDetectorEelement (const IdentifierHash &moduleHash, const EventContext &ctx) const |
| const IDCInDetBSErrContainer * | getContainer (const EventContext &ctx) const |
| Obtains container form the SG, if it is missing it will complain (hard-coded 3 times per job) and return nullptr. | |
| IDCCacheEntry * | getCacheEntry (const EventContext &ctx) const |
| Return cache for the current event If, for current slot, the cache is outdated it is retrieved from the IDC collection. | |
| std::unique_ptr< InDet::SiDetectorElementStatus > | createDetectorElementStatus (const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const |
| Create a new detector element status element container. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| const PixelID * | m_pixelID {} |
| std::vector< std::string > | m_isActiveStatus |
| std::vector< std::string > | m_isActiveStates |
| std::vector< int > | m_activeState |
| std::vector< int > | m_activeStatus |
| unsigned int | m_activeStateMask {} |
| mask in which each state is represented by a bit and for states which are cnsidered active the corresponding bit is set; | |
| unsigned int | m_activeStatusMask {} |
| mask in which each status is represented by a bit and for status values which are cnsidered active the corresponding bit is set; | |
| Gaudi::Property< bool > | m_useByteStreamFEI4 {this, "UseByteStreamFEI4", false, "Switch of the ByteStream error for FEI4"} |
| Gaudi::Property< bool > | m_useByteStreamFEI3 {this, "UseByteStreamFEI3", false, "Switch of the ByteStream error for FEI3"} |
| Gaudi::Property< bool > | m_useByteStreamRD53 {this, "UseByteStreamRD53", false, "Switch of the ByteStream error for RD53"} |
| SG::ReadCondHandleKey< PixelDCSStateData > | m_condDCSStateKey {this, "PixelDCSStateCondData", "PixelDCSStateCondData", "Pixel FSM state key"} |
| SG::ReadCondHandleKey< PixelDCSStatusData > | m_condDCSStatusKey {this, "PixelDCSStatusCondData", "PixelDCSStatusCondData", "Pixel FSM status key"} |
| SG::ReadCondHandleKey< PixelTDAQData > | m_condTDAQKey {this, "PixelTDAQCondData", "", "Pixel TDAQ conditions key"} |
| SG::ReadCondHandleKey< PixelDeadMapCondData > | m_condDeadMapKey {this, "PixelDeadMapCondData", "PixelDeadMapCondData", "Pixel deadmap conditions key"} |
| SG::ReadHandleKey< IDCInDetBSErrContainer > | m_BSErrContReadKey {this, "PixelByteStreamErrs", "PixelByteStreamErrs", "PixelByteStreamErrs container key"} |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"} |
| SG::ReadHandleKey< InDet::SiDetectorElementStatus > | m_pixelDetElStatusEventKey {this, "PixelDetElStatusEventDataBaseKey", "", "Optional event data key of an input SiDetectorElementStatus on which the newly created object will be based."} |
| SG::ReadCondHandleKey< InDet::SiDetectorElementStatus > | m_pixelDetElStatusCondKey {this, "PixelDetElStatusCondDataBaseKey", "" , "Optional conditions data key of an input SiDetectorElementStatus on which the newly created object will be based."} |
| Gaudi::Property< bool > | m_activeOnly {this, "ActiveOnly", false, "Module and chip status will only reflect whether the modules or chips are active not necessarily whether the signals are good."} |
| const uint64_t | m_missingErrorInfo {std::numeric_limits<uint64_t>::max()-3000000000} |
| SG::SlotSpecificObj< std::mutex > m_cacheMutex | ATLAS_THREAD_SAFE |
| SG::SlotSpecificObj< IDCCacheEntry > m_eventCache | ATLAS_THREAD_SAFE |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 49 of file PixelConditionsSummaryTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| PixelConditionsSummaryTool::PixelConditionsSummaryTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 9 of file PixelConditionsSummaryTool.cxx.
|
virtualdefault |
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 266 of file PixelConditionsSummaryTool.cxx.
|
inline |
Definition at line 181 of file PixelConditionsSummaryTool.h.
|
private |
Create a new detector element status element container.
Depending on the properties the container may be a copy of an event data or conditions data element status container.
Definition at line 330 of file PixelConditionsSummaryTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inherited |
Creates the InterfaceID and interfaceID() method.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 115 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 134 of file PixelConditionsSummaryTool.cxx.
|
private |
Definition at line 143 of file PixelConditionsSummaryTool.cxx.
|
nodiscardprivate |
Return cache for the current event If, for current slot, the cache is outdated it is retrieved from the IDC collection.
If the IDC is missing nullptr is returned.
Definition at line 94 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 109 of file PixelConditionsSummaryTool.cxx.
|
nodiscardprivate |
Obtains container form the SG, if it is missing it will complain (hard-coded 3 times per job) and return nullptr.
Definition at line 83 of file PixelConditionsSummaryTool.cxx.
|
private |
Definition at line 119 of file PixelConditionsSummaryTool.cxx.
|
overridevirtual |
get the module and chip status of Si detector elements
| ctx | the current event contex |
| whandle | Pointer to the write handle for the conditions object being built, for propagation of IOV range and dependency information. Pass nullptr if we're building an object for event data, rather than conditions data. |
Implements IDetectorElementStatusTool.
Definition at line 359 of file PixelConditionsSummaryTool.cxx.
|
inlinestaticinherited |
Definition at line 33 of file IDetectorElementStatusTool.h.
|
inlinestaticinherited |
Definition at line 32 of file IDetectorElementStatusTool.h.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 557 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 165 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 191 of file PixelConditionsSummaryTool.cxx.
|
private |
Definition at line 171 of file PixelConditionsSummaryTool.cxx.
|
overridevirtual |
Definition at line 22 of file PixelConditionsSummaryTool.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlinestatic |
Definition at line 176 of file PixelConditionsSummaryTool.h.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 220 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 224 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 245 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 270 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 503 of file PixelConditionsSummaryTool.cxx.
|
finaloverridevirtual |
Implements IInDetConditionsTool.
Definition at line 528 of file PixelConditionsSummaryTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
mutableprivate |
Definition at line 137 of file PixelConditionsSummaryTool.h.
|
mutableprivate |
Definition at line 153 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 132 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 95 of file PixelConditionsSummaryTool.h.
|
private |
mask in which each state is represented by a bit and for states which are cnsidered active the corresponding bit is set;
Definition at line 97 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 96 of file PixelConditionsSummaryTool.h.
|
private |
mask in which each status is represented by a bit and for status values which are cnsidered active the corresponding bit is set;
Definition at line 98 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 121 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 109 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 112 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 118 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 115 of file PixelConditionsSummaryTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 94 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 93 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 135 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 124 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 129 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 127 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 91 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 103 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 100 of file PixelConditionsSummaryTool.h.
|
private |
Definition at line 106 of file PixelConditionsSummaryTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.