![]() |
ATLAS Offline Software
|
of online and offline identifiers and also serial numbers More...
#include <SCT_CablingTool.h>
Public Member Functions | |
| SCT_CablingTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~SCT_CablingTool ()=default |
| virtual StatusCode | initialize () override |
| virtual unsigned int | size (const EventContext &ctx) const override |
| size of the data structure (for the SCT should be 8176, one for each module side) | |
| virtual unsigned int | size () const override |
| virtual bool | empty (const EventContext &ctx) const override |
| is the data structure empty? | |
| virtual bool | empty () const override |
| virtual IdentifierHash | getHashFromOnlineId (const SCT_OnlineId &onlineId, const EventContext &ctx, const bool withWarnings=true) const override |
| return offline hash, given the online Id (used by decoders) | |
| virtual IdentifierHash | getHashFromOnlineId (const SCT_OnlineId &onlineId, const bool withWarnings=true) const override |
| virtual SCT_OnlineId | getOnlineIdFromHash (const IdentifierHash &hash, const EventContext &ctx) const override |
| return the online Id, given a hash (used by simulation encoders) | |
| virtual SCT_OnlineId | getOnlineIdFromHash (const IdentifierHash &hash) const override |
| virtual SCT_OnlineId | getOnlineIdFromOfflineId (const Identifier &offlineId, const EventContext &ctx) const override |
| return the online Id, given an offlineId | |
| virtual SCT_OnlineId | getOnlineIdFromOfflineId (const Identifier &offlineId) const override |
| virtual std::uint32_t | getRobIdFromHash (const IdentifierHash &hash, const EventContext &ctx) const override |
| return the rob/rod Id, given a hash (used by simulation encoders) | |
| virtual std::uint32_t | getRobIdFromHash (const IdentifierHash &hash) const override |
| virtual std::uint32_t | getRobIdFromOfflineId (const Identifier &offlineId, const EventContext &ctx) const override |
| return the rob/rod Id, given an offlineId (used by simulation encoders) | |
| virtual std::uint32_t | getRobIdFromOfflineId (const Identifier &offlineId) const override |
| virtual IdentifierHash | getHashFromSerialNumber (const SCT_SerialNumber &sn, const EventContext &ctx) const override |
| get hash from a module serial number, needed in the conditions service because configurations are stored by module s/n | |
| virtual IdentifierHash | getHashFromSerialNumber (const SCT_SerialNumber &sn) const override |
| virtual SCT_SerialNumber | getSerialNumberFromHash (const IdentifierHash &hash, const EventContext &ctx) const override |
| get module serial number from hash, needed during filling of data structure | |
| virtual SCT_SerialNumber | getSerialNumberFromHash (const IdentifierHash &hash) const override |
| virtual void | getAllRods (std::vector< std::uint32_t > &usersVector, const EventContext &ctx) const override |
| fill a users vector with all the RodIds | |
| virtual void | getAllRods (std::vector< std::uint32_t > &usersVector) const override |
| virtual void | getHashesForRod (std::vector< IdentifierHash > &usersVector, const std::uint32_t rodId, const EventContext &ctx) const override |
| fill a user's vector with all the hash ids which belong to a given rod | |
| virtual void | getHashesForRod (std::vector< IdentifierHash > &usersVector, const std::uint32_t rodId) const override |
Private Member Functions | |
| const SCT_CablingData * | getData (const EventContext &ctx) const |
Private Attributes | |
| SG::ReadCondHandleKey< SCT_CablingData > | m_data {this, "SCT_CablingData", "SCT_CablingData", "SCT_CablingData created by SCT_CablingCondAlgFromCoraCool"} |
| StringProperty | m_cablingDataSource |
| the name of the data source | |
| const SCT_ID * | m_idHelper {nullptr} |
| helper for offlineId/hash conversions | |
| bool | m_usingDatabase {true} |
of online and offline identifiers and also serial numbers
Definition at line 39 of file SCT_CablingTool.h.
| SCT_CablingTool::SCT_CablingTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 43 of file SCT_CablingTool.cxx.
|
virtualdefault |
|
overridevirtual |
Definition at line 85 of file SCT_CablingTool.cxx.
|
overridevirtual |
|
overridevirtual |
Definition at line 229 of file SCT_CablingTool.cxx.
|
overridevirtual |
fill a users vector with all the RodIds
Definition at line 218 of file SCT_CablingTool.cxx.
|
private |
Definition at line 253 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 247 of file SCT_CablingTool.cxx.
|
overridevirtual |
fill a user's vector with all the hash ids which belong to a given rod
Definition at line 235 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 115 of file SCT_CablingTool.cxx.
|
overridevirtual |
return offline hash, given the online Id (used by decoders)
Definition at line 92 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 191 of file SCT_CablingTool.cxx.
|
overridevirtual |
get hash from a module serial number, needed in the conditions service because configurations are stored by module s/n
Definition at line 178 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 133 of file SCT_CablingTool.cxx.
|
overridevirtual |
return the online Id, given a hash (used by simulation encoders)
Definition at line 122 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 147 of file SCT_CablingTool.cxx.
|
overridevirtual |
return the online Id, given an offlineId
Definition at line 140 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 159 of file SCT_CablingTool.cxx.
|
overridevirtual |
return the rob/rod Id, given a hash (used by simulation encoders)
Definition at line 154 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 171 of file SCT_CablingTool.cxx.
|
overridevirtual |
return the rob/rod Id, given an offlineId (used by simulation encoders)
Definition at line 166 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 212 of file SCT_CablingTool.cxx.
|
overridevirtual |
get module serial number from hash, needed during filling of data structure
Definition at line 197 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 51 of file SCT_CablingTool.cxx.
|
overridevirtual |
Definition at line 73 of file SCT_CablingTool.cxx.
|
overridevirtual |
size of the data structure (for the SCT should be 8176, one for each module side)
Definition at line 62 of file SCT_CablingTool.cxx.
|
private |
the name of the data source
Definition at line 98 of file SCT_CablingTool.h.
|
private |
Definition at line 97 of file SCT_CablingTool.h.
|
private |
|
private |
Definition at line 100 of file SCT_CablingTool.h.