ATLAS Offline Software
Loading...
Searching...
No Matches
IITkStripCablingTool Class Referenceabstract

Client interface to the cabling, providing conversions between online and offline identifiers. More...

#include <IITkStripCablingTool.h>

Inheritance diagram for IITkStripCablingTool:
Collaboration diagram for IITkStripCablingTool:

Public Member Functions

virtual ~IITkStripCablingTool ()=default
 no-op destructor
 DeclareInterfaceID (IITkStripCablingTool, 1, 0)
 Creates the InterfaceID and interfaceID() method.
virtual IdentifierHash getHashFromOnlineId (const ITkStripOnlineId &onlineId, const EventContext &ctx, const bool withWarnings=true) const =0
 return offline hash, given the online Id (used by decoders)
virtual ITkStripOnlineId getOnlineIdFromHash (const IdentifierHash &hash) const =0
 return the online Id, given a hash (used by simulation encoders)
virtual ITkStripOnlineId getOnlineIdFromHash (const IdentifierHash &hash, const EventContext &ctx) const =0
virtual std::uint32_t getRobIdFromHash (const IdentifierHash &hash) const =0
 return the rob/rod Id, given a hash (used by simulation encoders)
virtual std::uint32_t getRobIdFromHash (const IdentifierHash &hash, const EventContext &ctx) const =0
virtual void getAllRods (std::vector< std::uint32_t > &usersVector) const =0
 fill a users vector with all the RodIds
virtual void getAllRods (std::vector< std::uint32_t > &usersVector, const EventContext &ctx) const =0

Detailed Description

Client interface to the cabling, providing conversions between online and offline identifiers.

Definition at line 36 of file IITkStripCablingTool.h.

Constructor & Destructor Documentation

◆ ~IITkStripCablingTool()

virtual IITkStripCablingTool::~IITkStripCablingTool ( )
virtualdefault

no-op destructor

Member Function Documentation

◆ DeclareInterfaceID()

IITkStripCablingTool::DeclareInterfaceID ( IITkStripCablingTool ,
1 ,
0  )

Creates the InterfaceID and interfaceID() method.

◆ getAllRods() [1/2]

virtual void IITkStripCablingTool::getAllRods ( std::vector< std::uint32_t > & usersVector) const
pure virtual

fill a users vector with all the RodIds

◆ getAllRods() [2/2]

virtual void IITkStripCablingTool::getAllRods ( std::vector< std::uint32_t > & usersVector,
const EventContext & ctx ) const
pure virtual

◆ getHashFromOnlineId()

virtual IdentifierHash IITkStripCablingTool::getHashFromOnlineId ( const ITkStripOnlineId & onlineId,
const EventContext & ctx,
const bool withWarnings = true ) const
pure virtual

return offline hash, given the online Id (used by decoders)

◆ getOnlineIdFromHash() [1/2]

virtual ITkStripOnlineId IITkStripCablingTool::getOnlineIdFromHash ( const IdentifierHash & hash) const
pure virtual

return the online Id, given a hash (used by simulation encoders)

◆ getOnlineIdFromHash() [2/2]

virtual ITkStripOnlineId IITkStripCablingTool::getOnlineIdFromHash ( const IdentifierHash & hash,
const EventContext & ctx ) const
pure virtual

◆ getRobIdFromHash() [1/2]

virtual std::uint32_t IITkStripCablingTool::getRobIdFromHash ( const IdentifierHash & hash) const
pure virtual

return the rob/rod Id, given a hash (used by simulation encoders)

◆ getRobIdFromHash() [2/2]

virtual std::uint32_t IITkStripCablingTool::getRobIdFromHash ( const IdentifierHash & hash,
const EventContext & ctx ) const
pure virtual

The documentation for this class was generated from the following file: