|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILEDETDESCR_TILEDETDESCRMANAGER_H
6 #define TILEDETDESCR_TILEDETDESCRMANAGER_H
8 #include "GeoModelKernel/GeoVDetectorManager.h"
58 typedef std::map <unsigned int, TileDetDescrRegion*, std::less<unsigned int> >
tile_region_map;
59 typedef std::map <unsigned int, CaloDetDescriptor*, std::less<int> >
scalo_descr_map;
60 typedef std::map <unsigned int, CaloDetDescriptor*, std::less<unsigned int> >
calo_descr_map;
61 typedef std::map <unsigned int, CaloDetDescrElement*, std::less<unsigned int> >
calo_element_map;
62 typedef std::map <unsigned int, TileCellDim*, std::less<unsigned int> >
cell_dim_map;
71 virtual PVConstLink
getTreeTop(
unsigned int i)
const override;
141 { calo_descr_map::const_iterator
it =
m_tile_module_map.find(module_id.get_identifier32().get_compact());
163 { calo_element_map::const_iterator
it =
m_tile_cell_map.find(cell_id.get_identifier32().get_compact());
239 #ifndef GAUDI_NEUTRAL
tile_descr_const_iterator tile_descriptors_begin() const
TileCellDim * get_cell_dim(const Identifier &cell_id) const
void add_cellDim(int section, int side, int tower, int sample, TileCellDim *cellDim)
std::shared_ptr< TileDddbManager > TileDddbManager_ptr
void set_helper(const TileHWID *id)
calo_descr_vec_size calo_descriptors_size() const
const CaloCell_ID * m_cell_id
std::map< unsigned int, TileCellDim *, std::less< unsigned int > > cell_dim_map
calo_element_map m_tile_cell_map
void add_cell(CaloDetDescrElement *cell)
tile_descr_vec_size tile_descriptors_size() const
Scalar eta() const
pseudorapidity method
void addTreeTop(PVConstLink)
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
std::vector< CaloDetDescriptor * > calo_descr_vec
tile_region_vec m_tile_region_vec
tile_region_map m_tile_region_map
bool const RAWDATA *ch2 const
calo_element_vec::size_type calo_element_vec_size
tile_descr_const_iterator tile_descriptors_end() const
tile_region_vec::size_type tile_region_vec_size
calo_descr_vec m_calo_descr_vec
cell_dim_map m_cell_dim_map
virtual PVConstLink getTreeTop(unsigned int i) const override
scalo_descr_map m_calo_descr_map
std::vector< PVConstLink > m_treeTops
Helper class for TileCal online (hardware) identifiers.
static const double vExtendedCells[12]
calo_element_vec_size tile_cell_size() const
calo_element_const_iterator tile_cell_begin() const
calo_descr_vec m_tile_module_vec
const TileHWID * get_hwid() const
TileDetDescrManager(TileDddbManager_ptr dbManager)
Z-shift for ext.barrel introduced with Z-shift > 0, eta coordinate of the cell is shifted by Deta = t...
static const double vBarrelCells[23]
void add_module(IdentifierHash idhash, CaloDetDescriptor *module)
Helper class for TileCal offline identifiers.
virtual unsigned int getNumTreeTops() const override
CaloDetDescriptor * get_module_element(const IdentifierHash module_hash) const
void set_helper(const TileID *id)
calo_element_vec m_tile_cell_vec
std::vector< CaloDetDescrElement * > calo_element_vec
TileDetDescrRegion * find_tile_region(const Identifier ®ion_id) const
Class to provide easy MsgStream access and capabilities.
calo_element_const_iterator tile_cell_end() const
static const double vItcGapCells[6]
Helper class for offline cell identifiers.
calo_descr_const_iterator calo_descriptors_end() const
CaloDetDescriptor * get_calo_descriptor(CaloCell_ID::CaloSample sample, int side) const
calo_descr_const_iterator tile_module_end() const
std::map< unsigned int, CaloDetDescrElement *, std::less< unsigned int > > calo_element_map
TileDddbManager_ptr m_dbManager
calo_descr_vec::const_iterator calo_descr_const_iterator
tile_descr_vec::size_type tile_descr_vec_size
CaloDetDescrElement * get_cell_element(unsigned int cell_hash) const
double shiftEta(double eta, double Rcen, double zshift)
void add_calodescr(CaloDetDescriptor *descriptor)
tile_region_const_iterator tile_region_begin() const
CaloDetDescrElement * get_cell_element(const IdentifierHash cell_hash) const
tile_region_vec::const_iterator tile_region_const_iterator
calo_descr_const_iterator tile_module_begin() const
void add(TileDetDescrRegion *region)
tile_region_vec_size tile_region_size() const
tile_descr_vec::const_iterator tile_descr_const_iterator
CaloDetDescriptor * get_module_element(const Identifier &module_id) const
This is a base class for LAr and Tile Descriptors The primary goal is to speed up loops over all the ...
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
tile_region_const_iterator tile_region_end() const
CaloDetDescrElement * get_cell_element(const Identifier &cell_id) const
TileDddbManager * getDbManager() const
calo_element_vec::const_iterator calo_element_const_iterator
std::vector< TileDetDescriptor * > tile_descr_vec
calo_descr_map m_tile_module_map
std::map< unsigned int, TileDetDescrRegion *, std::less< unsigned int > > tile_region_map
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
calo_descr_vec::size_type calo_descr_vec_size
calo_descr_const_iterator calo_descriptors_begin() const
This class provides access to constants in the Geometry DB.
const TileHWID * m_tile_hwid
tile_descr_vec m_tile_descr_vec
const TileDetDescrManager & operator=(const TileDetDescrManager &right)
macros to associate a CLID to a type
std::map< unsigned int, CaloDetDescriptor *, std::less< unsigned int > > calo_descr_map
void set_helper(const CaloCell_ID *id)
std::vector< TileDetDescrRegion * > tile_region_vec
TileDetDescrManager(const TileDetDescrManager &right)
std::map< unsigned int, CaloDetDescriptor *, std::less< int > > scalo_descr_map
calo_descr_vec_size tile_module_size() const
const TileID * get_id() const