ATLAS Offline Software
|
helper class to encode and decode a TrackParametersIdentifier More...
#include <TrackParametersIdHelper.h>
Public Member Functions | |
TrackParametersIdHelper ()=default | |
TrackParametersIdentifier | encode (AtlasDetDescr::AtlasDetTechnology, CaloSampling::CaloSample, bool isEntryToVolume) const |
Encodes a TrackParametersIdentifier from AtlasDetDescr::AtlasDetTechnology and CaloSampling::CaloSample and a bool indicating whether this is an entry or exit layer. More... | |
TrackParametersIdentifier | encodeInValidIdentifier () const |
create invalid identifier More... | |
bool | isValid (TrackParametersIdentifier id) const |
returns true if the id is valid More... | |
bool | isEntryToVolume (TrackParametersIdentifier id) const |
returns true if the id belongs to the volume entrance More... | |
AtlasDetDescr::AtlasDetTechnology | technology (TrackParametersIdentifier id) const |
AtlasDetTechnology encoded in id, returns AtlasDetDescr::fUndefined if id is not valid. More... | |
CaloSampling::CaloSample | caloSample (TrackParametersIdentifier id) const |
CaloSample encoded in id, returns CaloSampling::Unknown if id is not valid More... | |
Private Member Functions | |
void | setVersion (TrackParametersIdentifier &id) const |
set version bits More... | |
Static Private Attributes | |
static const unsigned int | m_version = 0 |
static const BitField< unsigned int > | m_validField |
static const BitField< unsigned int > | m_versionField |
static const BitField< unsigned int > | m_technologyField |
static const BitField< unsigned int > | m_isEntryToLayerField |
static const BitField< unsigned int > | m_caloSamplingField |
helper class to encode and decode a TrackParametersIdentifier
Definition at line 18 of file TrackParametersIdHelper.h.
|
default |
|
inline |
CaloSample encoded in id, returns CaloSampling::Unknown if id is not valid
Definition at line 91 of file TrackParametersIdHelper.h.
|
inline |
Encodes a TrackParametersIdentifier from AtlasDetDescr::AtlasDetTechnology and CaloSampling::CaloSample and a bool indicating whether this is an entry or exit layer.
Checks consistency of technology and calo sample and will create an invalid identifier is any of the inputs is inconsistent
Definition at line 60 of file TrackParametersIdHelper.h.
|
inline |
create invalid identifier
Definition at line 101 of file TrackParametersIdHelper.h.
|
inline |
returns true if the id belongs to the volume entrance
Definition at line 81 of file TrackParametersIdHelper.h.
|
inline |
returns true if the id is valid
Definition at line 77 of file TrackParametersIdHelper.h.
|
inlineprivate |
set version bits
Definition at line 97 of file TrackParametersIdHelper.h.
|
inline |
AtlasDetTechnology encoded in id, returns AtlasDetDescr::fUndefined if id is not valid.
Definition at line 85 of file TrackParametersIdHelper.h.
Definition at line 56 of file TrackParametersIdHelper.h.
Definition at line 55 of file TrackParametersIdHelper.h.
Definition at line 53 of file TrackParametersIdHelper.h.
Definition at line 51 of file TrackParametersIdHelper.h.
|
staticprivate |
Definition at line 50 of file TrackParametersIdHelper.h.
Definition at line 52 of file TrackParametersIdHelper.h.