ATLAS Offline Software
Public Member Functions | List of all members
IdHelper Class Referenceabstract

This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierHash objects. More...

#include <IdHelper.h>

Inheritance diagram for IdHelper:
Collaboration diagram for IdHelper:

Public Member Functions

virtual ~IdHelper ()=default
 
virtual int get_id (const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const =0
 
virtual int get_hash (const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const =0
 
virtual int initialize_from_dictionary (const IdDictMgr &dict_mgr)=0
 
virtual std::string dictionaryVersion (void) const =0
 
virtual bool do_checks () const =0
 Checks are performed by default in debug compilation and NOT in optimized compilation. More...
 
virtual void set_do_checks (bool do_checks)=0
 
virtual bool do_neighbours () const =0
 Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method: More...
 
virtual void set_do_neighbours (bool do_neighbours)=0
 
virtual void setMessageSvc (IMessageSvc *msgSvc)=0
 
virtual void setDictVersion (const IdDictMgr &dict_mgr, const std::string &name)=0
 

Detailed Description

This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierHash objects.

Definition at line 24 of file IdHelper.h.

Constructor & Destructor Documentation

◆ ~IdHelper()

virtual IdHelper::~IdHelper ( )
virtualdefault

Member Function Documentation

◆ dictionaryVersion()

virtual std::string IdHelper::dictionaryVersion ( void  ) const
pure virtual

Implemented in AtlasDetectorID.

◆ do_checks()

virtual bool IdHelper::do_checks ( ) const
pure virtual

Checks are performed by default in debug compilation and NOT in optimized compilation.

One can switch or query this mode for any idHelper with the following methods:

Implemented in AtlasDetectorID.

◆ do_neighbours()

virtual bool IdHelper::do_neighbours ( ) const
pure virtual

Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method:

Implemented in AtlasDetectorID.

◆ get_hash()

virtual int IdHelper::get_hash ( const Identifier id,
IdentifierHash hash_id,
const IdContext context = 0 
) const
pure virtual

◆ get_id()

virtual int IdHelper::get_id ( const IdentifierHash hash_id,
Identifier id,
const IdContext context = 0 
) const
pure virtual

◆ initialize_from_dictionary()

virtual int IdHelper::initialize_from_dictionary ( const IdDictMgr dict_mgr)
pure virtual

◆ set_do_checks()

virtual void IdHelper::set_do_checks ( bool  do_checks)
pure virtual

Implemented in AtlasDetectorID.

◆ set_do_neighbours()

virtual void IdHelper::set_do_neighbours ( bool  do_neighbours)
pure virtual

Implemented in AtlasDetectorID.

◆ setDictVersion()

virtual void IdHelper::setDictVersion ( const IdDictMgr dict_mgr,
const std::string &  name 
)
pure virtual

Implemented in AtlasDetectorID.

◆ setMessageSvc()

virtual void IdHelper::setMessageSvc ( IMessageSvc *  msgSvc)
pure virtual

Implemented in AtlasDetectorID.


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