![]() |
ATLAS Offline Software
|
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID. More...
#include <LArEM_Base_ID.h>
Classes | |
| class | HashCalc |
| small class holding the starting hash value, the min eta and the number of phi bins of each region More... | |
Public Types | |
| typedef Identifier::size_type | size_type |
| using | id_iterator = std::vector<Identifier>::const_iterator |
| Type for iterators over identifiers. | |
| using | id_range = std::ranges::subrange<id_iterator> |
| Type for range over identifiers. | |
| enum | { NOT_VALID =999999 } |
| enum class | HelperType { Unimplemented = -1 , Silicon = 0 , Pixel , PLR , SCT , TRT , LArEM , LArFCal , LArFCalSuperCell , LArHEC , LArHEC_SuperCell , LARMiniFCal , Tile , TileSuperCell , LArOnline , LArOnlineSuperCell , LArElectrode , LArHVLine , TileHardware , TileTestbeam , CaloCell , CaloSuperCell , CaloDM , CaloLvl1 , GTower , JTower , Muon , LUCID , LUCID_Hardware , Zdc , ZdcHardware , TT } |
| enum class for eventual final derived types of this class More... | |
Public Member Functions | |
| LArEM_Base_ID (const std::string &name, const std::string &group, bool supercell) | |
| Constructor. | |
| ~LArEM_Base_ID () | |
| Identifier | region_id (const ExpandedIdentifier &exp_id) const |
| Build a cell identifier from an expanded identifier. | |
| Identifier | channel_id (const ExpandedIdentifier &exp_id) const |
| Build a cell identifier from an expanded identifier. | |
| Identifier | region_id (int barrel_ec, int sampling, int region) const |
| build a region identifier | |
| Identifier | region_id (int barrel_ec, int sampling, int region, bool checks) const |
| Identifier | channel_id (int barrel_ec, int sampling, int region, int eta, int phi) const |
| build a cell identifier | |
| Identifier | channel_id (int barrel_ec, int sampling, int region, int eta, int phi, bool checks) const |
| Identifier | region_id (const Identifier channelId) const |
| allows to know in which region is a channel/cell – valid for both kinds of channels | |
| Identifier | channel_id (const Identifier regionId, int eta, int phi) const |
| allows to build a cell id starting from a region id (e.g. | |
| Identifier | channel_id (const Identifier regionId, int eta, int phi, bool checks) const |
| IdentifierHash | channel_hash (Identifier channelId) const |
| create hash id from channel id | |
| IdentifierHash | channel_hash_binary_search (Identifier channelId) const |
| create hash id from channel id – method NOT optimised, please use channel_hash() above | |
| id_iterator | reg_begin () const |
| begin iterator over set of Region Identifiers | |
| id_iterator | reg_end () const |
| end iterator over set of Region Identifiers | |
| id_range | reg_range () const |
| Range over set of Region Identifiers. | |
| id_iterator | em_begin () const |
| begin iterator over full set of EM Identifiers | |
| id_iterator | em_end () const |
| end iterator over full set of EM Identifiers | |
| id_range | em_range () const |
| Range over full set of EM Identifiers. | |
| const std::vector< Identifier > & | channel_ids () const |
| provide access to channel id vector, accessed via hash | |
| bool | is_em_barrel (const Identifier id) const |
| test if the id belongs to the EM barrel | |
| bool | is_em_endcap (const Identifier id) const |
| test if the id belongs to the EM Endcap | |
| bool | is_em_endcap_inner (const Identifier id) const |
| test if the id belongs to the EM Endcap inner wheel | |
| bool | is_em_endcap_outer (const Identifier id) const |
| test if the id belongs to the EM Endcap outer wheel | |
| int | barrel_ec (const Identifier id) const |
| return barrel_ec according to : | |
| int | sampling (const Identifier id) const |
| return sampling according to : | |
| int | region (const Identifier id) const |
| return region according to : | |
| int | eta (const Identifier id) const |
| return eta according to : | |
| int | phi (const Identifier id) const |
| return phi according to : | |
| bool | is_supercell (const Identifier id) const |
| Test if the identifier represents a supercell. | |
| int | eta_min (const Identifier regId) const |
| min value of eta index (-999 == failure) | |
| int | eta_max (const Identifier regId) const |
| max value of eta index (-999 == failure) | |
| int | phi_min (const Identifier regId) const |
| min value of phi index (-999 == failure) | |
| int | phi_max (const Identifier regId) const |
| max value of phi index (-999 == failure) | |
| int | initialize_base_from_dictionary (const IdDictMgr &dict_mgr, const std::string &group_name) |
| initialization from the identifier dictionary | |
| bool | twoSymSides () const |
| True if the + and - sides of the calorimeter are identical (true layout). | |
| int | get_neighbours (const IdentifierHash id, const LArNeighbours::neighbourOption &option, std::vector< IdentifierHash > &neighbourList) const |
| access to hashes for neighbours return == 0 for neighbours found option = prevInPhi, nextInPhi, prevInEta, nextInEta, faces2D, corners2D, all2D, prevInSamp, nextInSamp, upAndDown, prevSubDet, nextSubDet, all3D | |
| Identifier | region_id (IdentifierHash hashId) const |
| Return the region Identifier for a given hash code (no checking). | |
| IdentifierHash | region_hash (Identifier regionId) const |
| Convert a connected region Identifier to a hash code. | |
| Identifier | channel_id (IdentifierHash hashId) const |
| Return the channel (cell) Identifier for a given hash code (no checking). | |
| const HashGroup & | channels () const |
Return the HashGroup for channels (cells). | |
| const HashGroup & | regions () const |
Return the HashGroup for regions. | |
| virtual int | get_id (const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const |
| Convert a hash code to an Identifier for either channels or regions, depending on the context. | |
| virtual int | get_hash (const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const |
| Convert an Identifier to a hash code for either channels or regions, depending on the context. | |
| size_type | channel_hash_max () const |
| One more than the largest channel (cell) hash code. | |
| size_type | region_hash_max () const |
| One more than the largest region hash code. | |
| IdContext | channel_context () const |
| Return the context for channels (cells). | |
| IdContext | region_context () const |
| Return the context for regions. | |
| const std::vector< const IdDictRegion * > & | dictRegions () const |
Return the vector of IdDictRegion, accessed via region hash. | |
| float | etaGranularity (const IdentifierHash regHash) const |
Return the eta granularity of a region, or NOT_VALID. | |
| float | phiGranularity (const IdentifierHash regHash) const |
Return the phi granularity of a region, or NOT_VALID. | |
| float | eta0 (const IdentifierHash regHash) const |
Return the minimum eta of region, or NOT_VALID. | |
| float | phi0 (const IdentifierHash regHash) const |
Return the minimum phi of region, or NOT_VALID. | |
| const std::string & | name () const |
| Return the name for this helper. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
strutors | |
| virtual HelperType | helper () const |
| Type of helper, defaulted to 'Unimplemented'. | |
| const std::string & | group () const |
| Group name for this helper. | |
Detector system ids | |
| Identifier | indet (void) const |
| Detector systems: | |
| Identifier | lar (void) const |
| Identifier | tile (void) const |
| Identifier | muon (void) const |
| Identifier | calo (void) const |
Inner Detector subsystem ids | |
| Identifier | pixel (void) const |
| Identifier | sct (void) const |
| Identifier | trt (void) const |
| Identifier | hgtd (void) const |
| Identifier | lumi (void) const |
LAr subsystem ids | |
| Identifier | lar_em (void) const |
| Identifier | lar_hec (void) const |
| Identifier | lar_fcal (void) const |
Muon subsystem ids | |
| Identifier | mdt (void) const |
| Identifier | csc (void) const |
| Identifier | rpc (void) const |
| Identifier | tgc (void) const |
| Identifier | stgc (void) const |
| Identifier | mm (void) const |
level 1 and dead material ids | |
| Identifier | lar_lvl1 (void) const |
| Identifier | lar_dm (void) const |
| Identifier | tile_dm (void) const |
Contexts to provide id length - e.g. for use in generic decoding | |
| IdContext | detsystem_context (void) const |
| IdContext (indicates id length) for detector systems. | |
| IdContext | subdet_context (void) const |
| IdContext (indicates id length) for sub-detector. | |
Initialization and version name | |
| virtual int | initialize_from_dictionary (const IdDictMgr &dict_mgr) override |
| Initialization from the identifier dictionary. | |
| virtual std::string | dictionaryVersion (void) const override |
Generic printing of identifiers | |
| void | show (Identifier id, const IdContext *context=0, char sep='.') const |
| Short print out of any identifier (optionally provide separation character - default is '. | |
| std::string | show_to_string (Identifier id, const IdContext *context=0, char sep='.') const |
| or provide the printout in string form | |
| void | print (Identifier id, const IdContext *context=0) const |
| Expanded print out of any identifier. | |
| std::string | print_to_string (Identifier id, const IdContext *context=0) const |
| or provide the printout in string form | |
Test of an Identifier to see if it belongs to a particular detector (sub)system: | |
| bool | is_indet (Identifier id) const |
| bool | is_lar (Identifier id) const |
| bool | is_tile (Identifier id) const |
| bool | is_muon (Identifier id) const |
| bool | is_calo (Identifier id) const |
| bool | is_lvl1_trig_towers (Identifier id) const |
| bool | is_lvl1_online (Identifier id) const |
| bool | is_pixel (Identifier id) const |
| bool | is_sct (Identifier id) const |
| bool | is_trt (Identifier id) const |
| bool | is_hgtd (Identifier id) const |
| bool | is_lumi (Identifier id) const |
| bool | is_plr (Identifier id) const |
| bool | is_lar_em (Identifier id) const |
| bool | is_lar_hec (Identifier id) const |
| bool | is_lar_fcal (Identifier id) const |
| bool | is_lar_minifcal (Identifier id) const |
| bool | is_lar_dm (Identifier id) const |
| LAr/Tile dead material: | |
| bool | is_tile_dm (Identifier id) const |
| bool | is_mdt (Identifier id) const |
| bool | is_csc (Identifier id) const |
| bool | is_tgc (Identifier id) const |
| bool | is_rpc (Identifier id) const |
| bool | is_stgc (Identifier id) const |
| bool | is_mm (Identifier id) const |
| bool | is_forward (Identifier id) const |
| bool | is_alfa (Identifier id) const |
| bool | is_bcm (Identifier id) const |
| bool | is_lucid (Identifier id) const |
| bool | is_zdc (Identifier id) const |
Test of an Identifier to see if it belongs to a particular detector (sub)system (using expanded ids): | |
| bool | is_indet (const ExpandedIdentifier &id) const |
| bool | is_lar (const ExpandedIdentifier &id) const |
| bool | is_tile (const ExpandedIdentifier &id) const |
| bool | is_muon (const ExpandedIdentifier &id) const |
| bool | is_calo (const ExpandedIdentifier &id) const |
| bool | is_pixel (const ExpandedIdentifier &id) const |
| bool | is_sct (const ExpandedIdentifier &id) const |
| bool | is_trt (const ExpandedIdentifier &id) const |
| bool | is_hgtd (const ExpandedIdentifier &id) const |
| bool | is_lumi (const ExpandedIdentifier &id) const |
| bool | is_plr (const ExpandedIdentifier &id) const |
| bool | is_lar_em (const ExpandedIdentifier &id) const |
| bool | is_lar_hec (const ExpandedIdentifier &id) const |
| bool | is_lar_fcal (const ExpandedIdentifier &id) const |
| bool | is_lar_minifcal (const ExpandedIdentifier &id) const |
| bool | is_mdt (const ExpandedIdentifier &id) const |
| bool | is_csc (const ExpandedIdentifier &id) const |
| bool | is_tgc (const ExpandedIdentifier &id) const |
| bool | is_rpc (const ExpandedIdentifier &id) const |
| bool | is_stgc (const ExpandedIdentifier &id) const |
| bool | is_mm (const ExpandedIdentifier &id) const |
Dictionary versioning: provide access to dictionary names and versions. Note that a helper may correspond to one or more id dictionary | |
| const std::vector< std::string > & | dict_names (void) const |
| Dictionary names. | |
| const std::vector< std::string > & | file_names (void) const |
| File names for subdet dictionaries. | |
| const std::vector< std::string > & | dict_tags (void) const |
| Version tags for subdet dictionaries. | |
Checks are performed by default in debug compilation and NOT in optimized compilation. One can switch or query this mode for any idHelper with the following methods: | |
| virtual bool | do_checks (void) const override |
| Checks are performed by default in debug compilation and NOT in optimized compilation. | |
| virtual void | set_do_checks (bool do_checks) override |
Protected Member Functions | |
| HashGroup & | channels () |
Return the HashGroup for channels (cells). non-const. | |
| HashGroup & | regions () |
Return the HashGroup for regions. non-const. | |
| const IdDictDictionary * | dict () const |
| Return the dictionary for this subdetector. | |
| int | fill_vec_of_dict_regions (const std::string &group_name="") |
| Initialize the list of detector regions. | |
Private Types | |
| enum | { NOT_VALID_HASH = 256000 } |
Private Member Functions | |
| void | region_id_checks (int barrel_ec, int sampling, int region) const |
| void | channel_id_checks (int barrel_ec, int sampling, int region, int eta, int phi) const |
| void | channel_id_checks (const Identifier regionId, int eta, int phi) const |
| virtual int | get_expanded_id (const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const |
| create expanded Identifier from Identifier (return == 0 for OK) | |
| int | phi_min_init (const Identifier regId) const |
| int | initLevelsFromDict (const std::string &group_name) |
| int | init_hashes () |
| int | get_prevInEta (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const float &gPhi, const unsigned int &minHash, int &neighbourIndex, IdentifierHash *neighbList, unsigned int &nBiggerCell) const |
| int | get_nextInEta (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const float &gPhi, const unsigned int &maxHash, int &neighbourIndex, IdentifierHash *neighbList, unsigned int &nBiggerCell) const |
| int | get_prevInSamp (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const unsigned int &minHash, const double &gEta, const float &gPhi, const double &absEta, int &neighbourIndex, IdentifierHash *neighbList) const |
| int | get_nextInSamp (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const unsigned int &minHash, const double &gEta, const float &gPhi, const double &absEta, int &neighbourIndex, IdentifierHash *neighbList) const |
| int | get_prevInSubdet (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const unsigned int &minHash, const double &gEta, const float &gPhi, const double &absEta, int &neighbourIndex, IdentifierHash *neighbList) const |
| int | get_nextInSubdet (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const unsigned int &minHash, const double &gEta, const float &gPhi, const double &absEta, int &neighbourIndex, IdentifierHash *neighbList) const |
| int | init_neighbors () |
| LArEM_Base_ID (const LArEM_Base_ID &) | |
| LArEM_Base_ID & | operator= (const LArEM_Base_ID &) |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Static Private Member Functions | |
| static int | get_prevInPhi (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const unsigned int &minHash, int &neighbourIndex, IdentifierHash *neighbList) |
| static int | get_nextInPhi (const LArEM_region *emRegion, const unsigned int &index, const short int &nPhi, const unsigned int &minHash, int &neighbourIndex, IdentifierHash *neighbList) |
neighbours are initialized by default. One can switch or query this mode with the following methods: | |
| enum | ID { ATLAS_ID = static_cast<Identifier::value_type>(0) , MAX_BIT = Identifier::MAX_BIT , PIXEL_MASK = static_cast<Identifier::value_type>(0xFF) , ALL_BITS = Identifier::ALL_BITS } |
| std::string | m_dict_version |
| bool | m_is_initialized_from_dict {} |
| size_type | m_DET_INDEX {999} |
| size_type | m_SUBDET_INDEX {999} |
| size_type | m_MUON_SUBDET_INDEX {999} |
| int | m_INDET_ID {2} |
| int | m_LAR_ID {4} |
| int | m_TILE_ID {5} |
| int | m_MUON_ID {7} |
| int | m_CALO_ID {10} |
| int | m_PIXEL_ID {1} |
| int | m_SCT_ID {2} |
| int | m_TRT_ID {3} |
| int | m_HGTD_ID {4} |
| int | m_LUMI_ID {3} |
| int | m_LUMI_PLR_ID {1} |
| int | m_LAR_EM_ID {1} |
| int | m_LAR_HEC_ID {2} |
| int | m_LAR_FCAL_ID {3} |
| int | m_LAR_FCAL_MODULE_INDEX {999} |
| int | m_MDT_ID {0} |
| int | m_CSC_ID {1} |
| int | m_RPC_ID {2} |
| int | m_TGC_ID {3} |
| int | m_STGC_ID {4} |
| int | m_MM_ID {5} |
| int | m_FWD_ID {13} |
| int | m_ALFA_ID {1} |
| int | m_BCM_ID {3} |
| int | m_LUCID_ID {5} |
| int | m_ZDC_ID {7} |
| bool | m_isHighLuminosityLHC {} |
| Range::field | m_lvl1_field |
| Range::field | m_lvl1_onl_field |
| Range::field | m_lar_dm_field |
| Range::field | m_tile_dm_field |
| const IdDictDictionary * | m_atlas_dict {} |
| const IdDictDictionary * | m_indet_dict {} |
| const IdDictDictionary * | m_lar_dict {} |
| const IdDictDictionary * | m_tile_dict {} |
| const IdDictDictionary * | m_muon_dict {} |
| const IdDictDictionary * | m_calo_dict {} |
| const IdDictDictionary * | m_fwd_dict {} |
| AtlasDetectorIDHelper * | m_helper {} |
| IdDictFieldImplementation | m_det_impl |
| IdDictFieldImplementation | m_indet_part_impl |
| IdDictFieldImplementation | m_calo_side_impl |
| IdDictFieldImplementation | m_lar_part_impl |
| IdDictFieldImplementation | m_lar_fcal_module_impl |
| IdDictFieldImplementation | m_muon_station_name_impl |
| IdDictFieldImplementation | m_muon_mdt_impl |
| IdDictFieldImplementation | m_muon_rpc_impl |
| IdDictFieldImplementation | m_fwd_part_impl |
| std::vector< unsigned int > | m_muon_tech_bits |
| virtual bool | do_neighbours (void) const override |
| Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method: | |
| virtual void | set_do_neighbours (bool do_neighbours) override |
| virtual void | setDictVersion (const IdDictMgr &dict_mgr, const std::string &name) override |
| std::string | to_range (const ExpandedIdentifier &id) const |
| std::string | fix_barrel_ec (const std::string &barrel_ec) const |
| ExpandedIdentifier | indet_exp (void) const |
| Detector systems: | |
| ExpandedIdentifier | lar_exp (void) const |
| ExpandedIdentifier | tile_exp (void) const |
| ExpandedIdentifier | muon_exp (void) const |
| ExpandedIdentifier | calo_exp (void) const |
| ExpandedIdentifier | fwd_exp (void) const |
| ExpandedIdentifier | pixel_exp (void) const |
| Inner Detector: | |
| ExpandedIdentifier | sct_exp (void) const |
| ExpandedIdentifier | trt_exp (void) const |
| ExpandedIdentifier | hgtd_exp (void) const |
| ExpandedIdentifier | lumi_exp (void) const |
| ExpandedIdentifier | lar_em_exp (void) const |
| LAr. | |
| ExpandedIdentifier | lar_hec_exp (void) const |
| ExpandedIdentifier | lar_fcal_exp (void) const |
| ExpandedIdentifier | alfa_exp (void) const |
| Forward. | |
| ExpandedIdentifier | bcm_exp (void) const |
| ExpandedIdentifier | lucid_exp (void) const |
| ExpandedIdentifier | zdc_exp (void) const |
| int | indet_field_value () const |
| Provide efficient access to individual field values, for subclass idhelpers. | |
| int | lar_field_value () const |
| int | tile_field_value () const |
| int | muon_field_value () const |
| int | calo_field_value () const |
| int | pixel_field_value () const |
| int | sct_field_value () const |
| int | trt_field_value () const |
| int | hgtd_field_value () const |
| int | lumi_field_value () const |
| int | plr_field_value () const |
| int | lar_em_field_value () const |
| int | lar_hec_field_value () const |
| int | lar_fcal_field_value () const |
| int | mdt_field_value () const |
| int | csc_field_value () const |
| int | rpc_field_value () const |
| int | tgc_field_value () const |
| int | stgc_field_value () const |
| int | mm_field_value () const |
| int | forward_field_value () const |
| int | alfa_field_value () const |
| int | bcm_field_value () const |
| int | lucid_field_value () const |
| int | zdc_field_value () const |
| int | register_dict_tag (const IdDictMgr &dict_mgr, const std::string &dict_name) |
| Register the file and tag names for a particular IdDict dictionary. | |
| bool | reinitialize (const IdDictMgr &dict_mgr) |
| Test whether an idhelper should be reinitialized based on the change of tags. | |
| std::string | m_group |
| Group name. | |
| bool | m_do_checks {} |
| Flag for subclasses to know whether or not to perform checks. | |
| bool | m_do_neighbours {true} |
| Flag for subclasses to know whether or not to perform neighbour initialization. | |
| std::vector< std::string > | m_dict_names |
| List of dictionary names used by this helper. | |
| std::vector< std::string > | m_file_names |
| List of dictionary file names used by this helper. | |
| std::vector< std::string > | m_dict_tags |
| List of dictionary versions used by this helper. | |
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition at line 35 of file LArEM_Base_ID.h.
| using LArEM_Base_ID::id_iterator = std::vector<Identifier>::const_iterator |
Type for iterators over identifiers.
Definition at line 80 of file LArEM_Base_ID.h.
| using LArEM_Base_ID::id_range = std::ranges::subrange<id_iterator> |
Type for range over identifiers.
Definition at line 82 of file LArEM_Base_ID.h.
| typedef Identifier::size_type LArEM_Base_ID::size_type |
Definition at line 38 of file LArEM_Base_ID.h.
|
inherited |
|
private |
| Enumerator | |
|---|---|
| NOT_VALID_HASH | |
Definition at line 350 of file LArEM_Base_ID.h.
|
stronginherited |
enum class for eventual final derived types of this class
Definition at line 55 of file AtlasDetectorID.h.
|
privateinherited |
| Enumerator | |
|---|---|
| ATLAS_ID | |
| MAX_BIT | |
| PIXEL_MASK | |
| ALL_BITS | |
Definition at line 373 of file AtlasDetectorID.h.
| LArEM_Base_ID::LArEM_Base_ID | ( | const std::string & | name, |
| const std::string & | group, | ||
| bool | supercell ) |
Constructor.
If SUPERCELL is true, this helper is for supercells.
Definition at line 26 of file LArEM_Base_ID.cxx.
| LArEM_Base_ID::~LArEM_Base_ID | ( | void | ) |
Definition at line 35 of file LArEM_Base_ID.cxx.
|
private |
|
protectedinherited |
|
inlineprotectedinherited |
Definition at line 526 of file AtlasDetectorID.h.
| int LArEM_Base_ID::barrel_ec | ( | const Identifier | id | ) | const |
return barrel_ec according to :
element range meaning ------- ----- ------- barrel_ec +/-1 positive/negative barrel - A/C side or P/M half barrel " +/-2 positive/negative endcap outer wheel - A/C side " +/-3 positive/negative endcap inner wheel - A/C side
|
protectedinherited |
Definition at line 1147 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 528 of file AtlasDetectorID.h.
|
inherited |
Definition at line 85 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1070 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 476 of file AtlasDetectorID.h.
|
inherited |
Return the context for channels (cells).
| IdentifierHash LArEM_Base_ID::channel_hash | ( | Identifier | channelId | ) | const |
create hash id from channel id
| IdentifierHash LArEM_Base_ID::channel_hash_binary_search | ( | Identifier | channelId | ) | const |
create hash id from channel id – method NOT optimised, please use channel_hash() above
|
inherited |
One more than the largest channel (cell) hash code.
| Identifier LArEM_Base_ID::channel_id | ( | const ExpandedIdentifier & | exp_id | ) | const |
Build a cell identifier from an expanded identifier.
| Identifier LArEM_Base_ID::channel_id | ( | const Identifier | regionId, |
| int | eta, | ||
| int | phi ) const |
allows to build a cell id starting from a region id (e.g.
from descriptors) – valid for both kinds of channels
| Identifier LArEM_Base_ID::channel_id | ( | const Identifier | regionId, |
| int | eta, | ||
| int | phi, | ||
| bool | checks ) const |
| Identifier CaloIDHelper::channel_id | ( | IdentifierHash | hashId | ) | const |
Return the channel (cell) Identifier for a given hash code (no checking).
| Identifier LArEM_Base_ID::channel_id | ( | int | barrel_ec, |
| int | sampling, | ||
| int | region, | ||
| int | eta, | ||
| int | phi ) const |
build a cell identifier
| Identifier LArEM_Base_ID::channel_id | ( | int | barrel_ec, |
| int | sampling, | ||
| int | region, | ||
| int | eta, | ||
| int | phi, | ||
| bool | checks ) const |
|
private |
Definition at line 174 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 158 of file LArEM_Base_ID.cxx.
| const std::vector< Identifier > & LArEM_Base_ID::channel_ids | ( | ) | const |
provide access to channel id vector, accessed via hash
|
protectedinherited |
Return the HashGroup for channels (cells). non-const.
|
inherited |
Return the HashGroup for channels (cells).
|
inherited |
Definition at line 42 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 509 of file AtlasDetectorID.h.
|
inherited |
IdContext (indicates id length) for detector systems.
Definition at line 180 of file AtlasDetectorID.cxx.
|
protectedinherited |
Return the dictionary for this subdetector.
|
inherited |
Dictionary names.
Definition at line 469 of file AtlasDetectorID.cxx.
|
inherited |
Version tags for subdet dictionaries.
Definition at line 475 of file AtlasDetectorID.cxx.
|
overridevirtualinherited |
|
inherited |
Return the vector of IdDictRegion, accessed via region hash.
|
overridevirtualinherited |
Checks are performed by default in debug compilation and NOT in optimized compilation.
One can switch or query this mode for any idHelper with the following methods:
Implements IdHelper.
Definition at line 478 of file AtlasDetectorID.cxx.
|
overridevirtualinherited |
Neighbour initialization is performed by default One can switch or query this mode for any idHelper with the following method:
Implements IdHelper.
Definition at line 485 of file AtlasDetectorID.cxx.
| id_iterator LArEM_Base_ID::em_begin | ( | ) | const |
begin iterator over full set of EM Identifiers
| id_iterator LArEM_Base_ID::em_end | ( | ) | const |
end iterator over full set of EM Identifiers
| id_range LArEM_Base_ID::em_range | ( | ) | const |
Range over full set of EM Identifiers.
| int LArEM_Base_ID::eta | ( | const Identifier | id | ) | const |
return eta according to :
Cells: element range meaning
eta for barrel [0,60] presampler - 0< eta <1.52 - deta is approximately equal to 0.025 " [0,447] sampling 1 region 0 0 < eta < 1.4 - deta = 0.025/8 " [0,2] sampling 1 region 1 1.4 < eta < 1.475 - deta = 0.025 " [0,55] sampling 2 region 0 0 < eta < 1.4 - deta = 0.025 " 0 sampling 2 region 1 1.4 < eta < 1.475 - deta = 0.075 " [0,26] sampling 3 region 0 0 < eta < 1.35 - deta = 0.050 " eta for endcap [0,11] presampler sampling 0 region 0 1.5 < eta < 1.8 - deta = 0.025 " 0 outer wheel sampling 1 region 0 1.375 < eta < 1.425 - deta = 0.05
" [0,2] outer wheel sampling 1 region 1 1.425 < eta < 1.5 - deta = 0.025 " [0,95] outer wheel sampling 1 region 2 1.5 < eta < 1.8 - deta = 0.025/8 " [0,47] outer wheel sampling 1 region 3 1.8 < eta < 2.0 - deta = 0.025/6 " [0,63] outer wheel sampling 1 region 4 2.0 < eta < 2.4 - deta = 0.025/4 " [0,3] outer wheel sampling 1 region 5 2.4 < eta < 2.5 - deta = 0.025 " [0,6] inner wheel sampling 1 region 0 2.5 < eta < 3.2 - deta = 0.1 " 0 outer wheel sampling 2 region 0 1.375 < eta < 1.425 - deta = 0.05 " [0,42] outer wheel sampling 2 region 1 1.425 < eta < 2.5 - deta = 0.025 " [0,6] inner wheel sampling 2 region 0 2.5 < eta < 3.2 - deta = 0.1 " [0,19] outer wheel sampling 3 region 0 1.5 < eta < 2.5 - deta = 0.05 Supercells: element range meaning
eta for barrel [0,15] presampler - 0< eta <1.52 - deta is approximately equal to 0.1 " [0,55] sampling 1 region 0 0 < eta < 1.4 - deta = 0.025 " [0,2] sampling 1 region 1 1.4 < eta < 1.475 - deta = 0.025 " [0,55] sampling 2 region 0 0 < eta < 1.4 - deta = 0.025 " 0 sampling 2 region 1 1.4 < eta < 1.475 - deta = 0.075 " [0,13] sampling 3 region 0 0 < eta < 1.35 - deta = 0.1 " eta for endcap [0,2] presampler sampling 0 region 0 1.5 < eta < 1.8 - deta = 0.1 " 0 outer wheel sampling 1 region 0 1.375 < eta < 1.425 - deta = 0.125 " [0,11] outer wheel sampling 1 region 2 1.5 < eta < 1.8 - deta = 0.025 " [0,7] outer wheel sampling 1 region 3 1.8 < eta < 2.0 - deta = 0.033 " [0,15] outer wheel sampling 1 region 4 2.0 < eta < 2.4 - deta = 0.025 " 0 outer wheel sampling 1 region 5 2.4 < eta < 2.5 - deta = 0.1 " [0,2] inner wheel sampling 1 region 0 2.5 < eta < 3.1 - deta = 0.2 " 0 inner wheel sampling 1 region 1 3.1 < eta < 3.2 - deta = 0.1 " 0 outer wheel sampling 2 region 0 1.375 < eta < 1.425 - deta = 0.05 " [0,42] outer wheel sampling 2 region 1 1.425 < eta < 2.5 - deta = 0.025 " [0,2] inner wheel sampling 2 region 0 2.5 < eta < 3.1 - deta = 0.2 " 0 inner wheel sampling 2 region 0 3.1 < eta < 3.2 - deta = 0.1 " [0,9] outer wheel sampling 3 region 0 1.5 < eta < 2.5 - deta = 0.1
|
inherited |
Return the minimum eta of region, or NOT_VALID.
| regHash | REGION hash code. |
Definition at line 206 of file CaloIDHelper.cxx.
| int LArEM_Base_ID::eta_max | ( | const Identifier | regId | ) | const |
max value of eta index (-999 == failure)
Definition at line 74 of file LArEM_Base_ID.cxx.
| int LArEM_Base_ID::eta_min | ( | const Identifier | regId | ) | const |
min value of eta index (-999 == failure)
Definition at line 48 of file LArEM_Base_ID.cxx.
|
inherited |
Return the eta granularity of a region, or NOT_VALID.
| regHash | REGION hash code. |
Definition at line 184 of file CaloIDHelper.cxx.
|
inherited |
File names for subdet dictionaries.
Definition at line 472 of file AtlasDetectorID.cxx.
|
protectedinherited |
Initialize the list of detector regions.
init_regions should have been called first.
| group_name | The group for this helper. |
Definition at line 256 of file CaloIDHelper.cxx.
|
protectedinherited |
|
inlineprotectedinherited |
Definition at line 524 of file AtlasDetectorID.h.
|
protectedinherited |
Definition at line 1077 of file AtlasDetectorID.cxx.
|
privatevirtual |
create expanded Identifier from Identifier (return == 0 for OK)
Implements CaloIDHelper.
Definition at line 201 of file LArEM_Base_ID.cxx.
|
virtualinherited |
Convert an Identifier to a hash code for either channels or regions, depending on the context.
Uses binary search. Some of the subdetector-specific helpers define faster versions of channel_hash and region_hash (that, however, do less checking).
| id | The identifier to convert. | |
| [out] | hash_id | The resulting hash code. Will be invalid if there was an error. |
| context | The context in which to do the conversion (specifies whether we want channels or regions). |
Reimplemented from AtlasDetectorID.
Reimplemented in Tile_Base_ID.
Definition at line 160 of file CaloIDHelper.cxx.
|
virtualinherited |
Convert a hash code to an Identifier for either channels or regions, depending on the context.
If you know the context at compile-time, channel_id and region_id will be faster (but they don't do range checking).
| hash_id | The hash code to convert. | |
| [out] | id | The resulting Identifier. Will be invalid if there was an error. |
| context | The context in which to do the conversion (specifies whether we want channels or regions). |
Reimplemented from AtlasDetectorID.
Reimplemented in Tile_Base_ID.
Definition at line 118 of file CaloIDHelper.cxx.
| int LArEM_Base_ID::get_neighbours | ( | const IdentifierHash | id, |
| const LArNeighbours::neighbourOption & | option, | ||
| std::vector< IdentifierHash > & | neighbourList ) const |
access to hashes for neighbours return == 0 for neighbours found
option = prevInPhi, nextInPhi, prevInEta, nextInEta, faces2D, corners2D, all2D, prevInSamp, nextInSamp, upAndDown, prevSubDet, nextSubDet, all3D
in 'nextInEta', 'nextInSamp', 'nextSubDet', next means 'away from the centre of Atlas'
in 'prevInEta', 'prevInSamp', 'prevSubDet', prev means 'towards the centre of Atlas'
faces2D means prevInPhi + nextInPhi + prevInEta + nextInEta
corners2D means corners in the same sampling, not only touching cells but all corner cells forming a square (in case of change in eta granularity )
all2D means faces2D + corners2D
upAndDown means prevInSamp + nextInSamp
prevSubDet and nextSubDet mean across barrel/EC boundary
all3D means all2D + upAndDown + prevSubDet + nextSubDet
Definition at line 542 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 825 of file LArEM_Base_ID.cxx.
|
staticprivate |
Definition at line 743 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 946 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 1077 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 758 of file LArEM_Base_ID.cxx.
|
staticprivate |
Definition at line 728 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 878 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 1009 of file LArEM_Base_ID.cxx.
|
inherited |
|
inlinevirtualinherited |
|
inherited |
Definition at line 116 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1105 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 488 of file AtlasDetectorID.h.
|
inherited |
Detector systems:
Definition at line 57 of file AtlasDetectorID.cxx.
|
protectedinherited |
Detector systems:
Definition at line 1042 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Provide efficient access to individual field values, for subclass idhelpers.
Definition at line 464 of file AtlasDetectorID.h.
|
private |
Definition at line 347 of file LArEM_Base_ID.cxx.
|
private |
Definition at line 1140 of file LArEM_Base_ID.cxx.
| int LArEM_Base_ID::initialize_base_from_dictionary | ( | const IdDictMgr & | dict_mgr, |
| const std::string & | group_name ) |
initialization from the identifier dictionary
Definition at line 363 of file LArEM_Base_ID.cxx.
|
overridevirtualinherited |
Initialization from the identifier dictionary.
Implements IdHelper.
Reimplemented in CaloCell_Base_ID, CaloCell_ID, CaloDM_ID, CaloLVL1_ID, CscIdHelper, GTower_ID, HGTD_ID, JTower_ID, LArElectrodeID, LArEM_ID, LArEM_SuperCell_ID, LArFCAL_ID, LArFCAL_SuperCell_ID, LArHEC_ID, LArHEC_SuperCell_ID, LArHVLineID, LArMiniFCAL_ID, LArOnline_SuperCellID, LArOnlineID, LArOnlineID_Base, MdtIdHelper, MmIdHelper, MuonIdHelper, PixelID, PLR_ID, RpcIdHelper, SCT_ID, SiliconID, sTgcIdHelper, TgcIdHelper, Tile_SuperCell_ID, TileHWID, TileID, TileTBID, TRT_ID, TTOnlineID, and ZdcID.
Definition at line 257 of file AtlasDetectorID.cxx.
|
private |
Definition at line 222 of file LArEM_Base_ID.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
Definition at line 794 of file AtlasDetectorID.h.
|
inlineinherited |
Definition at line 804 of file AtlasDetectorID.h.
|
inherited |
Definition at line 298 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 560 of file AtlasDetectorID.h.
|
inherited |
Definition at line 340 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 744 of file AtlasDetectorID.h.
| bool LArEM_Base_ID::is_em_barrel | ( | const Identifier | id | ) | const |
test if the id belongs to the EM barrel
| bool LArEM_Base_ID::is_em_endcap | ( | const Identifier | id | ) | const |
test if the id belongs to the EM Endcap
| bool LArEM_Base_ID::is_em_endcap_inner | ( | const Identifier | id | ) | const |
test if the id belongs to the EM Endcap inner wheel
| bool LArEM_Base_ID::is_em_endcap_outer | ( | const Identifier | id | ) | const |
test if the id belongs to the EM Endcap outer wheel
|
inlineinherited |
Definition at line 788 of file AtlasDetectorID.h.
|
inherited |
Definition at line 311 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 647 of file AtlasDetectorID.h.
|
inherited |
Definition at line 286 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 536 of file AtlasDetectorID.h.
|
inherited |
Definition at line 289 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 542 of file AtlasDetectorID.h.
|
inlineinherited |
LAr/Tile dead material:
Definition at line 589 of file AtlasDetectorID.h.
|
inherited |
Definition at line 321 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 671 of file AtlasDetectorID.h.
|
inherited |
Definition at line 328 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 692 of file AtlasDetectorID.h.
|
inherited |
Definition at line 324 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 682 of file AtlasDetectorID.h.
|
inherited |
Definition at line 332 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 702 of file AtlasDetectorID.h.
|
inlineinherited |
Definition at line 814 of file AtlasDetectorID.h.
|
inherited |
Definition at line 314 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 659 of file AtlasDetectorID.h.
|
inlineinherited |
Definition at line 577 of file AtlasDetectorID.h.
|
inlineinherited |
Definition at line 566 of file AtlasDetectorID.h.
|
inherited |
Definition at line 336 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 712 of file AtlasDetectorID.h.
|
inherited |
Definition at line 356 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 766 of file AtlasDetectorID.h.
|
inherited |
Definition at line 295 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 554 of file AtlasDetectorID.h.
|
inherited |
Definition at line 301 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 613 of file AtlasDetectorID.h.
|
inherited |
Definition at line 317 of file AtlasDetectorID.cxx.
|
inherited |
|
inherited |
Definition at line 344 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 728 of file AtlasDetectorID.h.
|
inherited |
Definition at line 305 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 623 of file AtlasDetectorID.h.
|
inherited |
Definition at line 352 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 777 of file AtlasDetectorID.h.
| bool LArEM_Base_ID::is_supercell | ( | const Identifier | id | ) | const |
Test if the identifier represents a supercell.
Definition at line 42 of file LArEM_Base_ID.cxx.
|
inherited |
Definition at line 348 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 755 of file AtlasDetectorID.h.
|
inherited |
Definition at line 292 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 548 of file AtlasDetectorID.h.
|
inlineinherited |
Definition at line 601 of file AtlasDetectorID.h.
|
inherited |
Definition at line 308 of file AtlasDetectorID.cxx.
|
inlineinherited |
Definition at line 635 of file AtlasDetectorID.h.
|
inlineinherited |
Definition at line 824 of file AtlasDetectorID.h.
|
inherited |
Definition at line 64 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 148 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 132 of file AtlasDetectorID.cxx.
|
protectedinherited |
|
inlineprotectedinherited |
Definition at line 497 of file AtlasDetectorID.h.
|
protectedinherited |
Definition at line 1049 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 172 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1133 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 503 of file AtlasDetectorID.h.
|
inlineprotectedinherited |
Definition at line 467 of file AtlasDetectorID.h.
|
inherited |
Definition at line 164 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1126 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 500 of file AtlasDetectorID.h.
|
inherited |
Definition at line 140 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1154 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 530 of file AtlasDetectorID.h.
|
inherited |
Definition at line 124 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1112 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 491 of file AtlasDetectorID.h.
|
inherited |
Definition at line 39 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 506 of file AtlasDetectorID.h.
|
inherited |
Definition at line 54 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 521 of file AtlasDetectorID.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inherited |
Definition at line 78 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1063 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 473 of file AtlasDetectorID.h.
|
inherited |
Return the name for this helper.
|
private |
| int LArEM_Base_ID::phi | ( | const Identifier | id | ) | const |
return phi according to :
element range meaning ------- ----- ------- Cells: phi for barrel [0,63] barrel presampler - dphi = 0.1 " [0,63] sampling 1 region 0 - dphi = 0.1 " [0,255] sampling 1 region 1 - dphi = 0.025 " [0,255] sampling 2 region 0 - dphi = 0.025 " [0,255] sampling 2 region 1 - dphi = 0.025 " [0,255] sampling 3 region 1 - dphi = 0.025 phi for endcap [0,63] presampler sampling 0 region 0 - dphi = 0.1 " [0,63] outer wheel sampling 1 regions [0,5] - dphi = 0.1 " [0,63] inner wheel sampling 1 regions 0 - dphi = 0.1 " [0,255] outer wheel sampling 2 regions [0,1] - dphi = 0.025 " [0,63] inner wheel sampling 2 region 0 - dphi = 0.1 " [0,255] outer wheel sampling 3 region 0 - dphi = 0.025 Supercells: phi for barrel [0,63] barrel presampler - dphi = 0.1 " [0,63] sampling 1 region 0 - dphi = 0.1 " [0,63] sampling 1 region 1 - dphi = 0.1 " [0,63] sampling 2 region 0 - dphi = 0.1 " [0,63] sampling 2 region 1 - dphi = 0.1 " [0,63] sampling 3 region 1 - dphi = 0.1 phi for endcap [0,63] presampler sampling 0 region 0 - dphi = 0.1 " [0,63] outer wheel sampling 1 regions [0,5] - dphi = 0.1 " [0,31] inner wheel sampling 1 regions 0 - dphi = 0.2 " [0,63] outer wheel sampling 2 regions [0,1] - dphi = 0.1 " [0,31] inner wheel sampling 2 region 0 - dphi = 0.2 " [0,63] outer wheel sampling 3 region 0 - dphi = 0.1
|
inherited |
Return the minimum phi of region, or NOT_VALID.
| regHash | REGION hash code. |
Definition at line 217 of file CaloIDHelper.cxx.
| int LArEM_Base_ID::phi_max | ( | const Identifier | regId | ) | const |
max value of phi index (-999 == failure)
Definition at line 121 of file LArEM_Base_ID.cxx.
| int LArEM_Base_ID::phi_min | ( | const Identifier | regId | ) | const |
min value of phi index (-999 == failure)
|
private |
Definition at line 95 of file LArEM_Base_ID.cxx.
|
inherited |
Return the phi granularity of a region, or NOT_VALID.
| regHash | REGION hash code. |
Definition at line 195 of file CaloIDHelper.cxx.
|
inherited |
Definition at line 92 of file AtlasDetectorID.cxx.
|
protectedinherited |
Inner Detector:
Definition at line 1084 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 479 of file AtlasDetectorID.h.
|
inlineprotectedinherited |
Definition at line 494 of file AtlasDetectorID.h.
|
inherited |
Expanded print out of any identifier.
Definition at line 425 of file AtlasDetectorID.cxx.
|
inherited |
or provide the printout in string form
Definition at line 429 of file AtlasDetectorID.cxx.
| id_iterator LArEM_Base_ID::reg_begin | ( | ) | const |
begin iterator over set of Region Identifiers
| id_iterator LArEM_Base_ID::reg_end | ( | ) | const |
end iterator over set of Region Identifiers
| id_range LArEM_Base_ID::reg_range | ( | ) | const |
Range over set of Region Identifiers.
| int LArEM_Base_ID::region | ( | const Identifier | id | ) | const |
return region according to :
element range meaning
region 0 both presamplers " [0,1] barrel sampling 1 and 2 " 0 barrel sampling 3 " " [0,5] endcap outer wheel sampling 1 (cells) " 0,[2,5] endcap outer wheel sampling 1 (supercells) " 0 endcap inner wheel sampling 1 (cells) " [0,1] endcap inner wheel sampling 1 (supercells) " [0,1] endcap outer wheel sampling 2 " 0 endcap inner wheel sampling 2 (cells) " [0,1] endcap inner wheel sampling 2 (supercells) " 0 endcap outer wheel sampling 3
|
inherited |
Return the context for regions.
| IdentifierHash CaloIDHelper::region_hash | ( | Identifier | regionId | ) | const |
Convert a connected region Identifier to a hash code.
Some subdetector helpers may override this with a faster version.
|
inherited |
One more than the largest region hash code.
| Identifier LArEM_Base_ID::region_id | ( | const ExpandedIdentifier & | exp_id | ) | const |
Build a cell identifier from an expanded identifier.
| Identifier LArEM_Base_ID::region_id | ( | const Identifier | channelId | ) | const |
allows to know in which region is a channel/cell – valid for both kinds of channels
| Identifier CaloIDHelper::region_id | ( | IdentifierHash | hashId | ) | const |
Return the region Identifier for a given hash code (no checking).
| Identifier LArEM_Base_ID::region_id | ( | int | barrel_ec, |
| int | sampling, | ||
| int | region ) const |
build a region identifier
| Identifier LArEM_Base_ID::region_id | ( | int | barrel_ec, |
| int | sampling, | ||
| int | region, | ||
| bool | checks ) const |
|
private |
Definition at line 142 of file LArEM_Base_ID.cxx.
|
protectedinherited |
Return the HashGroup for regions. non-const.
|
protectedinherited |
Register the file and tag names for a particular IdDict dictionary.
Definition at line 203 of file AtlasDetectorID.cxx.
|
protectedinherited |
Test whether an idhelper should be reinitialized based on the change of tags.
Definition at line 223 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 45 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 512 of file AtlasDetectorID.h.
| int LArEM_Base_ID::sampling | ( | const Identifier | id | ) | const |
return sampling according to :
element range meaning
sampling 0 both presamplers " [1,3] barrel and endcap outer wheel " [1,2] endcap inner wheel
|
inherited |
Definition at line 100 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1091 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 482 of file AtlasDetectorID.h.
|
overridevirtualinherited |
Implements IdHelper.
Definition at line 481 of file AtlasDetectorID.cxx.
|
overridevirtualinherited |
Implements IdHelper.
Definition at line 489 of file AtlasDetectorID.cxx.
|
overrideprotectedvirtualinherited |
Implements IdHelper.
Definition at line 493 of file AtlasDetectorID.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
inherited |
Short print out of any identifier (optionally provide separation character - default is '.
'):
Definition at line 361 of file AtlasDetectorID.cxx.
|
inherited |
or provide the printout in string form
Definition at line 367 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 51 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 518 of file AtlasDetectorID.h.
|
inherited |
IdContext (indicates id length) for sub-detector.
Definition at line 186 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 48 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 515 of file AtlasDetectorID.h.
|
inherited |
Definition at line 71 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 156 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1056 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 470 of file AtlasDetectorID.h.
|
protectedinherited |
Definition at line 498 of file AtlasDetectorID.cxx.
|
inherited |
Definition at line 108 of file AtlasDetectorID.cxx.
|
protectedinherited |
Definition at line 1098 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 485 of file AtlasDetectorID.h.
| bool LArEM_Base_ID::twoSymSides | ( | ) | const |
True if the + and - sides of the calorimeter are identical (true layout).
False if they are mirror reflections (used in early MC).
|
protectedinherited |
Definition at line 1161 of file AtlasDetectorID.cxx.
|
inlineprotectedinherited |
Definition at line 532 of file AtlasDetectorID.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
privateinherited |
Definition at line 409 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 420 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 410 of file AtlasDetectorID.h.
|
private |
Definition at line 420 of file LArEM_Base_ID.h.
|
private |
Definition at line 411 of file LArEM_Base_ID.h.
|
private |
Definition at line 450 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 425 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 391 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 430 of file AtlasDetectorID.h.
|
private |
Definition at line 453 of file LArEM_Base_ID.h.
|
privateinherited |
Group of channel (cell) Identifiers.
Definition at line 326 of file CaloIDHelper.h.
|
privateinherited |
Definition at line 403 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 428 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 384 of file AtlasDetectorID.h.
|
privateinherited |
The dictionary for this helper.
Definition at line 332 of file CaloIDHelper.h.
|
protectedinherited |
List of dictionary names used by this helper.
Definition at line 360 of file AtlasDetectorID.h.
|
protectedinherited |
List of dictionary versions used by this helper.
Definition at line 366 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 382 of file AtlasDetectorID.h.
|
protectedinherited |
Flag for subclasses to know whether or not to perform checks.
In general, this is set to false in optimized mode.
Definition at line 354 of file AtlasDetectorID.h.
|
protectedinherited |
Flag for subclasses to know whether or not to perform neighbour initialization.
Definition at line 357 of file AtlasDetectorID.h.
|
private |
Definition at line 419 of file LArEM_Base_ID.h.
|
private |
Definition at line 410 of file LArEM_Base_ID.h.
|
private |
Definition at line 408 of file LArEM_Base_ID.h.
|
private |
Definition at line 423 of file LArEM_Base_ID.h.
|
private |
Definition at line 414 of file LArEM_Base_ID.h.
|
protectedinherited |
List of dictionary file names used by this helper.
Definition at line 363 of file AtlasDetectorID.h.
|
private |
Definition at line 406 of file LArEM_Base_ID.h.
|
private |
Definition at line 405 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 426 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 408 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 436 of file AtlasDetectorID.h.
|
protectedinherited |
Group name.
Definition at line 350 of file AtlasDetectorID.h.
|
private |
Definition at line 448 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 427 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 395 of file AtlasDetectorID.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 421 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 387 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 429 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 383 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 414 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 422 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 418 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 398 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 400 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 432 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 401 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 399 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 388 of file AtlasDetectorID.h.
|
private |
Definition at line 418 of file LArEM_Base_ID.h.
|
private |
Definition at line 409 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 431 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 411 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 396 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 397 of file AtlasDetectorID.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 416 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 417 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 402 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 407 of file AtlasDetectorID.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Definition at line 424 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 390 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 434 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 435 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 433 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 386 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 439 of file AtlasDetectorID.h.
|
privateinherited |
Name of this helper.
Definition at line 323 of file CaloIDHelper.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 424 of file LArEM_Base_ID.h.
|
private |
Definition at line 415 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 392 of file AtlasDetectorID.h.
|
private |
Definition at line 422 of file LArEM_Base_ID.h.
|
private |
Definition at line 413 of file LArEM_Base_ID.h.
|
privateinherited |
Group of region Identifiers.
Definition at line 329 of file CaloIDHelper.h.
|
privateinherited |
Definition at line 404 of file AtlasDetectorID.h.
|
private |
Definition at line 421 of file LArEM_Base_ID.h.
|
private |
Definition at line 412 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 393 of file AtlasDetectorID.h.
|
private |
Definition at line 401 of file LArEM_Base_ID.h.
|
private |
Definition at line 426 of file LArEM_Base_ID.h.
|
private |
Definition at line 416 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 406 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 385 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 405 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 423 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 419 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 389 of file AtlasDetectorID.h.
|
privateinherited |
Definition at line 394 of file AtlasDetectorID.h.
|
private |
Definition at line 403 of file LArEM_Base_ID.h.
|
privateinherited |
List of IdDictRegion objects.
Definition at line 335 of file CaloIDHelper.h.
|
private |
Definition at line 428 of file LArEM_Base_ID.h.
|
private |
Definition at line 452 of file LArEM_Base_ID.h.
|
privateinherited |
Definition at line 412 of file AtlasDetectorID.h.