![]() |
ATLAS Offline Software
|
This class is used to build the CaloTTDescriptors and CaloTTDetDescrRegions carrying the geometry information of the Calorimeter Trigger Towers. More...
#include <CaloTTDescrManager.h>
Public Types | |
| typedef std::vector< CaloTTDescrRegion * > | calo_region_vec |
| typedef calo_region_vec::size_type | calo_region_vec_size |
| typedef calo_region_vec::const_iterator | calo_region_const_iterator |
| typedef std::vector< CaloTTDescriptor * > | calo_descr_vec |
| typedef calo_descr_vec::size_type | calo_descr_size |
| typedef calo_descr_vec::const_iterator | calo_descr_const_iterator |
Public Member Functions | |
| CaloTTDescrManager (void) | |
| ~CaloTTDescrManager () | |
| CaloTTDescrRegion * | find_calo_region (const Identifier &tower_id) const |
| Access to the Det Descr region (==Trigger Tower) corresponding to a TT identifier. More... | |
| calo_region_const_iterator | calo_region_begin (void) const |
| Begin iterator on Det Descr regions (== Trigger Towers) More... | |
| calo_region_const_iterator | calo_region_end (void) const |
| End iterator on Det Descr regions (== Trigger Towers) More... | |
| calo_region_vec_size | calo_region_size (void) const |
| Total number of Det Descr regions (i.e. More... | |
| calo_descr_const_iterator | calo_descriptors_begin (void) const |
| Begin iterator on descriptors. More... | |
| calo_descr_const_iterator | calo_descriptors_end (void) const |
| End iterator on descriptors. More... | |
| calo_descr_size | calo_descriptors_size (void) const |
| Total number of descriptors. More... | |
| const CaloLVL1_ID * | get_lvl1_id (void) const |
| access to the offline identifier helper More... | |
| void | print (void) const |
| void | initialize (void) |
| dummy. More... | |
| bool | is_initialized (void) const |
| void | add (CaloTTDescrRegion *region) |
| Insertion in the vector of Det Descr regions (== Trigger Towers) More... | |
| void | add (CaloTTDescriptor *descriptor) |
| Insertion in the vector of descriptors. More... | |
| void | set_helper (const CaloLVL1_ID *id_helper) |
| set the helper used to decode the TT offline identifiers More... | |
Private Types | |
| typedef std::map< Identifier, CaloTTDescrRegion * > | calo_region_map |
Private Member Functions | |
| CaloTTDescrManager (const CaloTTDescrManager &) | |
| undefined semantics More... | |
| CaloTTDescrManager & | operator= (const CaloTTDescrManager &) |
| void | clear (void) |
| Delete towers and descriptors. More... | |
Private Attributes | |
| bool | m_is_initialized |
| const CaloLVL1_ID * | m_calo_lvl1_id |
| Helper used to decode the TT offline identifiers. More... | |
| calo_region_vec | m_calo_region_vec |
| vector of Det Descr regions (== Trigger Towers) More... | |
| calo_region_map | m_calo_region_map |
| calo_descr_vec | m_calo_descr_vec |
| vector of descriptors More... | |
This class is used to build the CaloTTDescriptors and CaloTTDetDescrRegions carrying the geometry information of the Calorimeter Trigger Towers.
It is initialized by the CaloTTMgrDetDescrCnv converter from package Calorimeter/CaloCnv/CaloTTDetDescrCnv
Access to the DetDescrElements:
----------------------------—
Access is either individually using identifiers and a find method, or one can iterate over the whole set.
The information provided:
----------------------—
Each DetDescrElement provides access to a detector descriptor object.
Access to CaloTTDescrManager:
--------------------------—
This is NOT a singleton class anymore one now has to access the manager from the detector store
Initialization of DetDescrElements:
--------------------------------—
Once an initialization has been performed, subsequent calls are ignored. Also, the method:
bool is_initialized()returns true. *
Definition at line 69 of file CaloTTDescrManager.h.
| typedef calo_descr_vec::const_iterator CaloTTDescrManager::calo_descr_const_iterator |
Definition at line 79 of file CaloTTDescrManager.h.
| typedef calo_descr_vec::size_type CaloTTDescrManager::calo_descr_size |
Definition at line 78 of file CaloTTDescrManager.h.
| typedef std::vector<CaloTTDescriptor*> CaloTTDescrManager::calo_descr_vec |
Definition at line 77 of file CaloTTDescrManager.h.
| typedef calo_region_vec::const_iterator CaloTTDescrManager::calo_region_const_iterator |
Definition at line 75 of file CaloTTDescrManager.h.
|
private |
Definition at line 130 of file CaloTTDescrManager.h.
| typedef std::vector<CaloTTDescrRegion*> CaloTTDescrManager::calo_region_vec |
Definition at line 73 of file CaloTTDescrManager.h.
| typedef calo_region_vec::size_type CaloTTDescrManager::calo_region_vec_size |
Definition at line 74 of file CaloTTDescrManager.h.
| CaloTTDescrManager::CaloTTDescrManager | ( | void | ) |
Definition at line 23 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::~CaloTTDescrManager | ( | ) |
Definition at line 30 of file CaloTTDescrManager.cxx.
|
private |
undefined semantics
| void CaloTTDescrManager::add | ( | CaloTTDescriptor * | descriptor | ) |
Insertion in the vector of descriptors.
Definition at line 115 of file CaloTTDescrManager.cxx.
| void CaloTTDescrManager::add | ( | CaloTTDescrRegion * | region | ) |
Insertion in the vector of Det Descr regions (== Trigger Towers)
Definition at line 107 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::calo_descr_const_iterator CaloTTDescrManager::calo_descriptors_begin | ( | void | ) | const |
Begin iterator on descriptors.
Definition at line 69 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::calo_descr_const_iterator CaloTTDescrManager::calo_descriptors_end | ( | void | ) | const |
End iterator on descriptors.
Definition at line 75 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::calo_descr_size CaloTTDescrManager::calo_descriptors_size | ( | void | ) | const |
Total number of descriptors.
Definition at line 81 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::calo_region_const_iterator CaloTTDescrManager::calo_region_begin | ( | void | ) | const |
Begin iterator on Det Descr regions (== Trigger Towers)
Definition at line 51 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::calo_region_const_iterator CaloTTDescrManager::calo_region_end | ( | void | ) | const |
End iterator on Det Descr regions (== Trigger Towers)
Definition at line 57 of file CaloTTDescrManager.cxx.
| CaloTTDescrManager::calo_region_vec_size CaloTTDescrManager::calo_region_size | ( | void | ) | const |
Total number of Det Descr regions (i.e.
Trigger Towers)
Definition at line 63 of file CaloTTDescrManager.cxx.
|
private |
| CaloTTDescrRegion * CaloTTDescrManager::find_calo_region | ( | const Identifier & | tower_id | ) | const |
Access to the Det Descr region (==Trigger Tower) corresponding to a TT identifier.
Definition at line 37 of file CaloTTDescrManager.cxx.
| const CaloLVL1_ID * CaloTTDescrManager::get_lvl1_id | ( | void | ) | const |
access to the offline identifier helper
Definition at line 86 of file CaloTTDescrManager.cxx.
| void CaloTTDescrManager::initialize | ( | void | ) |
dummy.
only sets is_initialized. actual initialization performed in CaloTTMgrDetDescrCnv
Definition at line 94 of file CaloTTDescrManager.cxx.
| bool CaloTTDescrManager::is_initialized | ( | void | ) | const |
Definition at line 100 of file CaloTTDescrManager.cxx.
|
private |
| void CaloTTDescrManager::print | ( | void | ) | const |
Definition at line 128 of file CaloTTDescrManager.cxx.
| void CaloTTDescrManager::set_helper | ( | const CaloLVL1_ID * | id_helper | ) |
set the helper used to decode the TT offline identifiers
Definition at line 121 of file CaloTTDescrManager.cxx.
|
private |
vector of descriptors
Definition at line 139 of file CaloTTDescrManager.h.
|
private |
Helper used to decode the TT offline identifiers.
Definition at line 134 of file CaloTTDescrManager.h.
|
private |
Definition at line 137 of file CaloTTDescrManager.h.
|
private |
vector of Det Descr regions (== Trigger Towers)
Definition at line 136 of file CaloTTDescrManager.h.
|
private |
Definition at line 132 of file CaloTTDescrManager.h.
1.8.18