![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
123 int eta,
int phi,
bool checks )
const;
127 int eta,
int phi )
const ;
129 int eta,
int phi,
bool checks )
const ;
169 std::vector<Identifier>::const_iterator
lar_region_end (
void)
const;
176 std::vector<Identifier>::const_iterator
lar_zone_begin (
void)
const;
178 std::vector<Identifier>::const_iterator
lar_zone_end (
void)
const;
182 std::vector<Identifier>::const_iterator
tile_zone_end (
void)
const;
391 m_calo_impl.pack (calo_field_value(),
result);
392 m_calodm_impl.pack (pos_neg_z,
result);
393 m_dmat_impl.pack (dmat,
result);
394 m_sampling_impl.pack (sampling,
result);
395 m_region_impl.pack (region,
result);
399 if(abs(pos_neg_z) == 4) {
400 lar_region_id_checks( pos_neg_z, dmat, sampling, region);
402 if(abs(pos_neg_z) == 5) {
403 tile_region_id_checks( pos_neg_z, dmat, sampling, region);
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
694 #endif // CALODM_ID_H
int phi_min(const Identifier &id) const
min value of phi index (-999 == failure)
std::vector< Identifier >::const_iterator tile_region_end(void) const
end iterator over tile regions
IdContext region_context(void) const
access to IdContext's which define which levels of fields are contained in a region id
int dmat(const Identifier &id) const
return DMtype according to :
size_type m_SAMPLING_INDEX
MultiRange m_full_tile_region_range
std::vector< Identifier >::const_iterator lar_region_begin(void) const
begin iterator over lar regions
Scalar phi() const
phi method
size_type lar_region_hash_max(void) const
lar region hash table max size
Exception class for Calo Identifiers.
size_type lar_zone_hash_max(void) const
lar zone hash table max size
Scalar eta() const
pseudorapidity method
void tile_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
size_type m_DETZSIDE_INDEX
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 :
int calo_field_value() const
IdentifierHash lar_region_hash(Identifier LArRegionId) const
create a lar hash id from region id
Identifier tile_zone_id(IdentifierHash tile_zone_hash_id) const
create a tile zone id from hash id
int eta_min(const Identifier &id) const
min value of eta index (-999 == failure)
void pack(int value, Identifier &id) const
IdentifierHash lar_zone_hash_binary_search(Identifier zoneId) const
size_type m_lar_region_hash_max
const IdDictDictionary * m_dict
std::vector< Identifier > m_tile_zone_vec
int unpack(Identifier id) const
Identifier manipulation methods.
std::vector< Identifier > m_lar_region_vec
void reset(Identifier &id) const
std::vector< Identifier >::const_iterator tile_zone_end(void) const
end iterator over full set of Tile identifiers
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
void lar_region_id_checks(int pos_neg_z, int dmat, int sampling, int region) const
MultiRange m_full_tile_zone_range
size_type tile_region_hash_max(void) const
tile region hash table max size
IdDictFieldImplementation m_calo_impl
MultiRange m_full_lar_region_range
IdContext zone_context(void) const
access to IdContext's which define which levels of fields are contained in a zone id
int pos_neg_z(const Identifier &id) const
return pos_neg_z according to :
std::vector< HashCalc > m_lar_hash_calcs
IdDictFieldImplementation m_eta_impl
bool is_lar(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
IdentifierHash tile_zone_hash(Identifier TileZoneId) const
create a tile hash id from zone id
std::vector< Identifier > m_lar_zone_vec
small class holding the starting hash value, the min eta and the number of phi bins of each region
IdDictFieldImplementation m_calodm_impl
std::vector< Identifier >::const_iterator lar_region_end(void) const
end iterator over lar regions
Identifier::size_type size_type
size_type m_tile_region_hash_max
IdDictFieldImplementation m_phi_impl
IdDictFieldImplementation m_sampling_impl
size_type m_tile_zone_hash_max
int eta_max(const Identifier &id) const
max value of eta index (-999 == failure)
Identifier region_id(int pos_neg_z, int dmat, int sampling, int region) const
build a region identifier valid for both LAr and Tiles
int init_lar_hashes(void)
A MultiRange combines several Ranges.
IdentifierHash tile_zone_hash_binary_search(Identifier zoneId) const
std::vector< Identifier >::const_iterator tile_region_begin(void) const
begin iterator over tile regions
IdentifierHash tile_region_hash(Identifier TileRegionId) const
create a tile hash id from region id
std::vector< Identifier >::const_iterator tile_zone_begin(void) const
begin iterator over full set of Tile identifiers
int sampling(const Identifier &id) const
return sampling according to :
int phi_max(const Identifier &id) const
max value of phi index (-999 == failure)
MultiRange m_full_lar_zone_range
IdentifierHash lar_zone_hash(Identifier LArZoneId) const
create a lar hash id from zone id
int eta(const Identifier &id) const
return eta
size_type m_calodm_region_index
IdDictFieldImplementation m_region_impl
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
void tile_zone_id_checks(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
std::vector< HashCalc > m_tile_hash_calcs
IdDictFieldImplementation m_dmat_impl
Identifier lar_zone_id(IdentifierHash lar_zone_hash_id) const
create a lar zone id from hash id
Helper class for Calo Dead Material offline identifiers.
int phi(const Identifier &id) const
return phi
void lar_zone_id_checks(int pos_neg_z, int dat, int sampling, int region, int eta, int phi) const
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::vector< Identifier >::const_iterator lar_zone_begin(void) const
begin iterator over full set of LAr identifiers
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_region_id(IdentifierHash lar_region_hash_id) const
create a lar region id from hash id
std::vector< Identifier >::const_iterator lar_zone_end(void) const
end iterator over full set of LAr identifiers
bool is_tile(const Identifier &zoneId) const
to disentangle between LAr and Tile dead material
IDENTIFIER_TYPE size_type
size_type m_lar_zone_hash_max
size_type tile_zone_hash_max(void) const
tile zone hash table max size
int initLevelsFromDict(void)
IdDictFieldImplementation is used to capture the specification of a single field of an Identifier.
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
virtual bool do_checks(void) const override
Checks are performed by default in debug compilation and NOT in optimized compilation.
IdDictFieldImplementation m_pnz_reg_impl
macros to associate a CLID to a type
std::vector< Identifier > m_tile_region_vec
void zone_id_checks(const Identifier ®ionId, int eta, int phi) const
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
int init_tile_hashes(void)