|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef TRK_TRACKPARAMETERSIDHELPER_H 
    6 #define TRK_TRACKPARAMETERSIDHELPER_H 
   10 #include "CaloGeoHelpers/CaloSampling.h" 
   62                                                                    bool isEntryToVolume )
 const {
 
  
bool isValid(TrackParametersIdentifier id) const
returns true if the id is valid
static const BitField< unsigned int > m_isEntryToLayerField
static const BitField< unsigned int > m_technologyField
bool encode(unsigned int value, T &id) const
encode a value into id, return false if the value is out of range
CaloSampling::CaloSample caloSample(TrackParametersIdentifier id) const
CaloSample encoded in id, returns CaloSampling::Unknown if id is not valid
TrackParametersIdentifier encodeInValidIdentifier() const
create invalid identifier
@ fLastAtlasCaloTechnology
TrackParametersIdHelper()=default
bool isEntryToVolume(TrackParametersIdentifier id) const
returns true if the id belongs to the volume entrance
helper class to encode and decode a TrackParametersIdentifier
static const BitField< unsigned int > m_versionField
static const BitField< unsigned int > m_caloSamplingField
unsigned int TrackParametersIdentifier
Ensure that the ATLAS eigen extensions are properly loaded.
unsigned int decode(T id) const
returns the result of decode the input id
AtlasDetDescr::AtlasDetTechnology technology(TrackParametersIdentifier id) const
AtlasDetTechnology encoded in id, returns AtlasDetDescr::fUndefined if id is not valid.
static const BitField< unsigned int > m_validField
static const unsigned int m_version
void setVersion(TrackParametersIdentifier &id) const
set version bits
TrackParametersIdentifier encode(AtlasDetDescr::AtlasDetTechnology, CaloSampling::CaloSample, bool isEntryToVolume) const
Encodes a TrackParametersIdentifier from AtlasDetDescr::AtlasDetTechnology and CaloSampling::CaloSamp...