ATLAS Offline Software
|
#include <HWIdentifier.h>
Public Types | |
enum | bit_defs { NBITS = sizeof(value_type) * 8, MAX_BIT = (static_cast<value_type>(1) << (NBITS - 1)), ALL_BITS = ~(static_cast<value_type>(0)) } |
typedef enum Identifier::bit_defs_enum | bit_defs |
typedef enum Identifier::max_value_type_enum | max_value_type |
enum | bit_defs_enum { NBITS = sizeof(value_type) * 8, MAX_BIT = (static_cast<value_type>(1) << (NBITS - 1)), ALL_BITS = ~(static_cast<value_type>(0)) } |
enum | max_value_type_enum { max_value = ~(static_cast<value_type>(0)) } |
using | id_type = Identifier |
using | value_type = unsigned long long |
typedef Long64_t | value_type |
using | diff_type = long long |
using | size_type = unsigned long long |
Private Types | |
enum | max_value_type { max_value = ~(static_cast<value_type>(0)) } |
Private Member Functions | |
Identifier & | operator|= (value_type value) |
Bitwise operations. More... | |
Identifier & | operator&= (value_type value) |
value_type | extract (size_type shift, size_type mask) const |
extract field from identifier (shift first, then mask) More... | |
value_type | extract (size_type shift) const |
extract field, no mask More... | |
value_type | mask_shift (value_type mask, size_type shift) const |
extract field(s) by masking first, then shifting More... | |
Private Attributes | |
value_type | m_id = max_value |
The only data member. More... | |
Definition at line 13 of file HWIdentifier.h.
|
inherited |
|
inherited |
Definition at line 28 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inherited |
Definition at line 26 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inherited |
|
inherited |
Definition at line 29 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inherited |
Definition at line 18 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inherited |
Definition at line 27 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inherited |
Enumerator | |
---|---|
NBITS | |
MAX_BIT | |
ALL_BITS |
Definition at line 31 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inherited |
Enumerator | |
---|---|
NBITS | |
MAX_BIT | |
ALL_BITS |
Definition at line 20 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
privateinherited |
Enumerator | |
---|---|
max_value |
Definition at line 128 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inherited |
Enumerator | |
---|---|
max_value |
Definition at line 27 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
default |
Default constructor.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
Constructor from Identifier32 value_type (unsigned int)
Definition at line 53 of file HWIdentifier.h.
|
inlineexplicit |
Definition at line 57 of file HWIdentifier.h.
|
inherited |
Reset to invalid state.
|
privateinherited |
extract field, no mask
|
privateinherited |
extract field from identifier (shift first, then mask)
|
inherited |
Get the compact id.
|
inherited |
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
|
inherited |
Provide a string form of the identifier - hexadecimal.
Definition at line 25 of file Identifier.cxx.
|
inherited |
Check if id is in a valid state.
|
privateinherited |
extract field(s) by masking first, then shifting
|
inlineinherited |
Definition at line 92 of file DetectorDescription/Identifier/Identifier/Identifier.h.
|
inlineinherited |
Definition at line 36 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inlineinherited |
Definition at line 42 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inlineinherited |
Definition at line 48 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
privateinherited |
|
inlineinherited |
Definition at line 43 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inlineinherited |
Definition at line 45 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inlineinherited |
Definition at line 41 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
defaultinherited |
|
inherited |
|
inlineinherited |
Definition at line 47 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inherited |
|
inherited |
Comparison operators with value_type.
This is a hack, only because GeoAdaptors/GeoMuonHits wants to to compare explicitly with 0 as a test of whether the identifier has been constructed properly. But is_valid() here compares with max_value, not 0, since presumably it is possible to have a zero value - just not in muons.
|
inlineinherited |
Definition at line 44 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
inlineinherited |
Definition at line 46 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/Identifier/Identifier.h.
|
privateinherited |
Bitwise operations.
|
inherited |
|
inherited |
Set literal value.
|
inherited |
Print out in hex form.
Definition at line 30 of file Identifier.cxx.
|
privateinherited |
The only data member.
Definition at line 132 of file DetectorDescription/Identifier/Identifier/Identifier.h.