|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETIDENTIFIER_XXX_SILICONID_H
6 #define INDETIDENTIFIER_XXX_SILICONID_H
21 #include "Identifier/Identifier.h"
192 #endif // INDETIDENTIFIER_SILICONID_H
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
bool is_pixel(Identifier id) const
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override final
Create compact id from hash id (return == 0 for OK)
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
Identifier wafer_id(IdentifierHash wafer_hash) const
Identifier from hash.
size_type wafer_hash_max(void) const
Hash table maximum sizes.
const SCT_ID * m_sct_helper
int test_wafer_hashes(void) const
Tests of packing.
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
bool is_barrel(const Identifier &id) const
Test for barrel - generic, i.e. works for EITHER pixel or sct id.
bool const RAWDATA *ch2 const
bool is_blayer(const Identifier &id) const
Test for b-layer - WARNING: id MUST be pixel id, otherwise answer is not accurate....
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override final
Initialization from the identifier dictionary.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
size_type m_wafer_hash_max
bool is_blayer(const Identifier &id) const
Test for pixle b-layer - generic, i.e. works for EITHER pixel or sct id.
Identifier::size_type size_type
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
bool is_hash_pixel(IdentifierHash wafer_hash) const
Test whether hash is pixel or sct.
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override final
Create hash id from compact id (return == 0 for OK)
Identifier::size_type size_type
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
This is an Identifier helper class for both the Pixel and SCT subdetectors. This class defines identi...
size_type m_pixel_wafer_hash_max
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
unsigned long long size_type
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
macros to associate a CLID to a type
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
const PixelID * m_pixel_helper
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be sct id, otherwise answer is not accurate. Use SiliconID for gen...