123 int eta,
int phi,
bool checks )
const;
127 int eta,
int phi )
const ;
129 int eta,
int phi,
bool checks )
const ;
178 std::vector<Identifier>::const_iterator
lar_zone_end ()
const;
182 std::vector<Identifier>::const_iterator
tile_zone_end ()
const;
407 CaloID_Exception except(
"wrong value for pos_neg_z, only +-4 and +-5 allowed" , 99);
455 CaloID_Exception except(
"wrong value for pos_neg_z, only +-4 and +-5 allowed" , 99);
471 int eta,
int phi,
bool checks )
const
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual bool do_checks(void) const override
Checks are performed by default in debug compilation and NOT in optimized compilation.
int calo_field_value() const
AtlasDetectorID(const std::string &name, const std::string &group)
small class holding the starting hash value, the min eta and the number of phi bins of each region
Helper class for Calo Dead Material offline identifiers.
size_type m_DETZSIDE_INDEX
std::vector< Identifier >::const_iterator tile_region_end() const
end iterator over tile regions
size_type m_SAMPLING_INDEX
int get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded Identifier from Identifier (return == 0 for OK)
Identifier lar_zone_id(IdentifierHash lar_zone_hash_id) const
create a lar zone id from hash id
MultiRange m_full_tile_zone_range
bool is_tile(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
void lar_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
size_type tile_zone_hash_max() const
tile zone hash table max size
size_type m_lar_zone_hash_max
IdDictFieldImplementation m_pnz_reg_impl
int eta_min(const Identifier &id) const
min value of eta index (-999 == failure)
std::vector< Identifier >::const_iterator lar_region_end() const
end iterator over lar regions
int sampling(const Identifier &id) const
return sampling according to :
IdDictFieldImplementation m_eta_impl
IdentifierHash lar_zone_hash(Identifier LArZoneId) const
create a lar hash id from zone id
std::vector< Identifier > m_tile_zone_vec
size_type m_lar_region_hash_max
IdDictFieldImplementation m_calo_impl
std::vector< Identifier > m_lar_region_vec
std::vector< HashCalc > m_tile_hash_calcs
int eta(const Identifier &id) const
return eta
int dmat(const Identifier &id) const
return DMtype according to :
Identifier::size_type size_type
IdDictFieldImplementation m_calodm_impl
std::vector< Identifier >::const_iterator tile_zone_begin() const
begin iterator over full set of Tile identifiers
size_type m_calodm_region_index
int pos_neg_z(const Identifier &id) const
return pos_neg_z according to :
int phi_max(const Identifier &id) const
max value of phi index (-999 == failure)
IdentifierHash lar_region_hash(Identifier LArRegionId) const
create a lar hash id from region id
int phi(const Identifier &id) const
return phi
MultiRange m_full_tile_region_range
IdDictFieldImplementation m_phi_impl
std::vector< Identifier >::const_iterator lar_region_begin() const
begin iterator over lar regions
void zone_id_checks(const Identifier ®ionId, int eta, int phi) const
std::vector< HashCalc > m_lar_hash_calcs
IdentifierHash tile_zone_hash(Identifier TileZoneId) const
create a tile hash id from zone id
IdDictFieldImplementation m_region_impl
void tile_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
size_type lar_region_hash_max() const
lar region hash table max size
size_type m_tile_region_hash_max
bool is_lar(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
size_type m_tile_zone_hash_max
const IdDictDictionary * m_dict
int phi_min(const Identifier &id) const
min value of phi index (-999 == failure)
std::vector< Identifier >::const_iterator lar_zone_end() const
end iterator over full set of LAr identifiers
IdContext region_context() const
access to IdContext's which define which levels of fields are contained in a region id
Identifier zone_id(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
build a zone identifier valid for both LAr and Tiles
void tile_zone_id_checks(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
MultiRange m_full_lar_zone_range
IdentifierHash tile_zone_hash_binary_search(Identifier zoneId) const
IdContext zone_context() const
access to IdContext's which define which levels of fields are contained in a zone id
Identifier lar_region_id(IdentifierHash lar_region_hash_id) const
create a lar region id from hash id
size_type tile_region_hash_max() const
tile region hash table max size
std::vector< Identifier >::const_iterator lar_zone_begin() const
begin iterator over full set of LAr identifiers
void lar_zone_id_checks(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
IdDictFieldImplementation m_dmat_impl
std::vector< Identifier > m_lar_zone_vec
std::vector< Identifier > m_tile_region_vec
Identifier region_id(int pos_neg_z, int dmat, int sampling, int region) const
build a region identifier valid for both LAr and Tiles
std::vector< Identifier >::const_iterator tile_region_begin() const
begin iterator over tile regions
IdentifierHash lar_zone_hash_binary_search(Identifier zoneId) const
std::vector< Identifier >::const_iterator tile_zone_end() const
end iterator over full set of Tile identifiers
IdDictFieldImplementation m_sampling_impl
IdentifierHash tile_region_hash(Identifier TileRegionId) const
create a tile hash id from region id
Identifier tile_zone_id(IdentifierHash tile_zone_hash_id) const
create a tile zone id from hash id
MultiRange m_full_lar_region_range
Identifier tile_region_id(IdentifierHash tile_region_hash_id) const
create a tile region id from hash id
int region(const Identifier &id) const
return region according to :
size_type lar_zone_hash_max() const
lar zone hash table max size
int eta_max(const Identifier &id) const
max value of eta index (-999 == failure)
Exception class for Calo Identifiers.
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
IdDictFieldImplementation is used to capture the specification of a single field of an Identifier.
This is a "hash" representation of an Identifier.
A MultiRange combines several Ranges.