 |
ATLAS Offline Software
|
#include <PixelConditionsSummaryTool.h>
|
| | 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 More...
|
| |
| 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. More...
|
| |
| const ServiceHandle< StoreGateSvc > & | evtStore () const |
| | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
| | The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| virtual StatusCode | sysInitialize () override |
| | Perform system initialization for an algorithm. More...
|
| |
| virtual StatusCode | sysStart () override |
| | Handle START transition. More...
|
| |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| | Return this algorithm's input handles. More...
|
| |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| | Return this algorithm's output handles. More...
|
| |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| | Declare a new Gaudi property. More...
|
| |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| |
| MsgStream & | msg () const |
| |
| MsgStream & | msg (const MSG::Level lvl) const |
| |
| bool | msgLvl (const MSG::Level lvl) const |
| |
| | DeclareInterfaceID (IInDetConditionsTool, 1, 0) |
| | Creates the InterfaceID and interfaceID() method. More...
|
| |
|
| 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. More...
|
| |
| 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. More...
|
| |
| std::unique_ptr< InDet::SiDetectorElementStatus > | createDetectorElementStatus (const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const |
| | Create a new detector element status element container. More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
| |
|
| 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; More...
|
| |
| 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; More...
|
| |
| 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) More...
|
| |
| StoreGateSvc_t | m_detStore |
| | Pointer to StoreGate (detector store by default) More...
|
| |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| |
| bool | m_varHandleArraysDeclared |
| |
◆ StoreGateSvc_t
◆ PixelConditionsSummaryTool()
| PixelConditionsSummaryTool::PixelConditionsSummaryTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~PixelConditionsSummaryTool()
| PixelConditionsSummaryTool::~PixelConditionsSummaryTool |
( |
| ) |
|
|
virtualdefault |
◆ activeFraction()
◆ checkChipStatus()
Definition at line 181 of file PixelConditionsSummaryTool.h.
183 if (chipStatus.any()) {
188 std::array<InDetDD::PixelDiodeTree::CellIndexType,2> diode_idx
194 std::bitset<16> circ;
196 if ((chipStatus&circ).any()) {
return false; }
◆ createDetectorElementStatus()
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.
337 return std::make_unique<InDet::PixelDetectorElementStatus>(*castToDerived(input_element_status.cptr()));
341 return std::make_unique<InDet::PixelDetectorElementStatus>(*castToDerived(input_element_status.cptr()));
345 if (not pixelDetEleHandle.isValid() ) {
346 std::stringstream
msg;
348 throw std::runtime_error(
msg.str());
354 return std::make_unique<InDet::PixelDetectorElementStatus>(*elements);
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ DeclareInterfaceID()
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| hndl | Object holding the property value. |
| doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| hndl | Object holding the property value. |
| doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| property | Object holding the property value. |
| doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| property | Object holding the property value. |
| doc | Documentation string for the property. |
This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
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
◆ getBSErrorWord() [1/3]
◆ getBSErrorWord() [2/3]
◆ getBSErrorWord() [3/3]
Definition at line 143 of file PixelConditionsSummaryTool.cxx.
152 if (cacheEntry ==
nullptr){
153 std::scoped_lock<std::mutex>
lock{*m_cacheMutex.get(ctx)};
156 const auto *idcCachePtr = cacheEntry->
IDCCache;
157 if (idcCachePtr==
nullptr) {
◆ getCacheEntry()
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.
95 IDCCacheEntry* cacheEntry = m_eventCache.get(ctx);
96 if (cacheEntry->needsUpdate(ctx)) {
98 if (idcErrContPtr==
nullptr) {
99 cacheEntry->reset(ctx.evt(),
nullptr);
102 cacheEntry->reset(ctx.evt(), idcErrContPtr->cache());
104 ATH_MSG_VERBOSE(
"PixelConditionsSummaryTool Cache for the event reset " << cacheEntry->eventId <<
" with IDC container" << idcErrContPtr);
◆ getCacheEntryOut()
◆ getContainer()
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.
89 if (not idcErrCont.isValid()) {
return nullptr; }
91 return idcErrCont.cptr();
◆ getDetectorEelement()
Definition at line 119 of file PixelConditionsSummaryTool.cxx.
127 if (not pixelDetEleHandle.isValid() or elements==
nullptr) {
131 return elements->getDetectorElement(moduleHash);
◆ getDetectorElementStatus()
get the module and chip status of Si detector elements
- Parameters
-
| 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.
362 std::vector<bool> &
status=element_status->getElementStatus();
366 std::vector<InDet::ChipFlags_t> &chip_status=element_status->getElementChipStatus();
367 chip_status.resize(
status.size(),0);
387 andNotStatus(tdaq_handle->moduleStatusMap(),
status);
394 andNotStatus(dead_map_handle->moduleStatusMap(),
status);
400 unsigned int element_i=0;
407 assert( chip_mask != 0 );
408 std::bitset<16> dead_chip_mask(dead_map->
getChipStatus(element_i));
409 chip_status[element_i] = chip_mask & (~static_cast<InDet::ChipFlags_t>(dead_chip_mask.to_ulong()));
422 if (readout_technology_mask) {
424 ATH_MSG_ERROR(
"PixelConditionsSummaryTool not configured for use with conditions objects");
427 std::scoped_lock<std::mutex>
lock{*m_cacheMutex.get(ctx)};
430 if (idcCachePtr==
nullptr) {
461 unsigned int element_offset_i = (active_only ? 52736 : 0);
463 unsigned int element_i=0;
471 status.at(element_i) =
status.at(element_i) && not ( readout_technology_flags
474 : idcCachePtr->
retrieve(element_i+element_offset_i)!=1 ));
480 assert( chip_mask != 0 );
483 for (
unsigned int chip_i =0; chip_i < number_of_chips; ++chip_i) {
485 unsigned int indexFE = (1+chip_i)*maxHash + element_i;
488 bs_status_flags |= (chip_flag << chip_i);
491 chip_status[element_i] &= (bs_status_flags & chip_mask);
494 chip_status[element_i] = 0;
500 return element_status;
◆ getInvalidRange()
| static EventIDRange IDetectorElementStatusTool::getInvalidRange |
( |
| ) |
|
|
inlinestaticinherited |
◆ getUndefinedEventId()
| static EventIDBase IDetectorElementStatusTool::getUndefinedEventId |
( |
| ) |
|
|
inlinestaticinherited |
◆ goodFraction()
◆ hasBSError() [1/3]
◆ hasBSError() [2/3]
◆ hasBSError() [3/3]
◆ initialize()
| StatusCode PixelConditionsSummaryTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 22 of file PixelConditionsSummaryTool.cxx.
35 ATH_MSG_FATAL(
"The event data (PixelDetElStatusEventDataBaseKey) and cond data (PixelDetElStatusCondDataBaseKey) keys cannot be set at the same time.");
53 return StatusCode::FAILURE;
56 ATH_MSG_FATAL(
"Logic error: status id too large. Cannot be represented by a bit");
57 return StatusCode::FAILURE;
64 if (isActiveStatus==
"OK") {
m_activeStatus.push_back(PixelDCSStatusData::DCSModuleStatus::OK); }
68 else if (isActiveStatus==
"NOSTATUS") {
m_activeStatus.push_back(PixelDCSStatusData::DCSModuleStatus::NOSTATUS); }
70 ATH_MSG_ERROR(
"No matching DCS status " << isActiveStatus <<
" in DCSModuleStatus");
71 return StatusCode::FAILURE;
74 ATH_MSG_FATAL(
"Logic error: status id too large. Cannot be represented by a bit");
75 return StatusCode::FAILURE;
80 return StatusCode::SUCCESS;
◆ inputHandles()
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.
◆ interfaceID()
| InterfaceID & PixelConditionsSummaryTool::interfaceID |
( |
| ) |
|
|
inlinestatic |
Definition at line 176 of file PixelConditionsSummaryTool.h.
177 static InterfaceID IID_PixelConditionsSummaryTool(
"PixelConditionsSummaryTool", 1, 0);
178 return IID_PixelConditionsSummaryTool;
◆ isActive() [1/3]
◆ isActive() [2/3]
Implements IInDetConditionsTool.
Definition at line 224 of file PixelConditionsSummaryTool.cxx.
229 if (useByteStream &&
getBSErrorWord(moduleHash,moduleHash+52736,ctx)!=1) {
return false; }
232 bool isDCSActive =
false;
234 if (istate==dcsstate_data->getModuleStatus(moduleHash)) { isDCSActive=
true; }
236 if (!isDCSActive) {
return false; }
◆ isActive() [3/3]
Implements IInDetConditionsTool.
Definition at line 245 of file PixelConditionsSummaryTool.cxx.
250 if (useByteStream &&
getBSErrorWord(moduleHash,moduleHash+52736,ctx)!=1) {
return false; }
253 bool isDCSActive =
false;
255 if (istate==dcsstate_data->getModuleStatus(moduleHash)) { isDCSActive=
true; }
257 if (!isDCSActive) {
return false; }
◆ isGood() [1/3]
Implements IInDetConditionsTool.
Definition at line 270 of file PixelConditionsSummaryTool.cxx.
274 if (
hasBSError(moduleHash, ctx)) {
return false; }
277 bool isDCSActive =
false;
279 if (istate==dcsstate_data->getModuleStatus(moduleHash)) { isDCSActive=
true; }
281 if (!isDCSActive) {
return false; }
284 bool isDCSGood =
false;
286 if (activeStatus==dcsstatus_data->getModuleStatus(moduleHash)) { isDCSGood=
true; }
288 if (!isDCSGood) {
return false; }
296 if (
hasBSError(moduleHash, elementId, ctx)) {
return false; }
◆ isGood() [2/3]
Implements IInDetConditionsTool.
Definition at line 503 of file PixelConditionsSummaryTool.cxx.
505 if (
hasBSError(moduleHash, ctx)) {
return false; }
508 bool isDCSActive =
false;
510 if (istate==dcsstate_data->getModuleStatus(moduleHash)) { isDCSActive=
true; }
512 if (!isDCSActive) {
return false; }
515 bool isDCSGood =
false;
517 if (activeStatus==dcsstatus_data->getModuleStatus(moduleHash)) { isDCSGood=
true; }
519 if (!isDCSGood) {
return false; }
◆ isGood() [3/3]
Implements IInDetConditionsTool.
Definition at line 528 of file PixelConditionsSummaryTool.cxx.
530 if (
hasBSError(moduleHash, ctx, cacheEntry)) {
return false; }
533 bool isDCSActive =
false;
535 if (istate==dcsstate_data->getModuleStatus(moduleHash)) { isDCSActive=
true; }
537 if (!isDCSActive) {
return false; }
540 bool isDCSGood =
false;
542 if (activeStatus==dcsstatus_data->getModuleStatus(moduleHash)) { isDCSGood=
true; }
544 if (!isDCSGood) {
return false; }
552 if (
hasBSError(moduleHash, elementId, ctx, cacheEntry)) {
return false; }
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ ATLAS_THREAD_SAFE [1/2]
◆ ATLAS_THREAD_SAFE [2/2]
◆ m_activeOnly
| Gaudi::Property< bool> PixelConditionsSummaryTool::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."} |
|
private |
◆ m_activeState
| std::vector<int> PixelConditionsSummaryTool::m_activeState |
|
private |
◆ m_activeStateMask
| unsigned int PixelConditionsSummaryTool::m_activeStateMask {} |
|
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.
◆ m_activeStatus
| std::vector<int> PixelConditionsSummaryTool::m_activeStatus |
|
private |
◆ m_activeStatusMask
| unsigned int PixelConditionsSummaryTool::m_activeStatusMask {} |
|
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.
◆ m_BSErrContReadKey
◆ m_condDCSStateKey
◆ m_condDCSStatusKey
◆ m_condDeadMapKey
◆ m_condTDAQKey
◆ m_detStore
◆ m_evtStore
◆ m_isActiveStates
| std::vector<std::string> PixelConditionsSummaryTool::m_isActiveStates |
|
private |
◆ m_isActiveStatus
| std::vector<std::string> PixelConditionsSummaryTool::m_isActiveStatus |
|
private |
◆ m_missingErrorInfo
| const uint64_t PixelConditionsSummaryTool::m_missingErrorInfo {std::numeric_limits<uint64_t>::max()-3000000000} |
|
private |
◆ m_pixelDetEleCollKey
◆ m_pixelDetElStatusCondKey
◆ m_pixelDetElStatusEventKey
| SG::ReadHandleKey<InDet::SiDetectorElementStatus> PixelConditionsSummaryTool::m_pixelDetElStatusEventKey {this, "PixelDetElStatusEventDataBaseKey", "", "Optional event data key of an input SiDetectorElementStatus on which the newly created object will be based."} |
|
private |
◆ m_pixelID
◆ m_useByteStreamFEI3
| Gaudi::Property<bool> PixelConditionsSummaryTool::m_useByteStreamFEI3 {this, "UseByteStreamFEI3", false, "Switch of the ByteStream error for FEI3"} |
|
private |
◆ m_useByteStreamFEI4
| Gaudi::Property<bool> PixelConditionsSummaryTool::m_useByteStreamFEI4 {this, "UseByteStreamFEI4", false, "Switch of the ByteStream error for FEI4"} |
|
private |
◆ m_useByteStreamRD53
| Gaudi::Property<bool> PixelConditionsSummaryTool::m_useByteStreamRD53 {this, "UseByteStreamRD53", false, "Switch of the ByteStream error for RD53"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
int phi_index(const Identifier &id) const
unsigned int makeReadoutTechnologyBit(InDetDD::PixelReadoutTechnology technology, unsigned int bit_val=1)
Create a word with a bit representing the given readout technology to the given value.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
constexpr IDCInDetBSErrContainer::ErrorCode makeError(PixelErrorsEnum errType)
helper to be used in clients to fetch error information
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
static unsigned int getFE(const PixelDiodeTree::DiodeProxy &diode_proxy)
PixelDiodeTree::DiodeProxy diodeProxyFromIdx(const std::array< PixelDiodeTree::IndexType, 2 > &idx) const
@ u
Enums for curvilinear frames.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
T retrieve(size_t i)
Retrieve the Value stored in that hash.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
int numberOfCircuits() const
Total number of circuits:
int eta_index(const Identifier &id) const
int getChipStatus(const int chanNum) const
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
size_type wafer_hash_max() const
StatusCode initialize(bool used=true)
PixelReadoutTechnology getReadoutTechnology() const
Helper class to access parameters of a diode.
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
unsigned short ChipFlags_t
static constexpr std::array< PixelDiodeTree::CellIndexType, 2 > makeCellIndex(T local_x_idx, T local_y_idx)
Create a 2D cell index from the indices in local-x (phi, row) and local-y (eta, column) direction.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
This class is to provide an event wide MT container for concurrent storing of basic types,...
const IDCInDetBSErrContainer_Cache * IDCCache
void addDependency(const EventIDRange &range)