|
ATLAS Offline Software
|
Go to the documentation of this file.
25 #include "Identifier/Identifier.h"
40 return StatusCode::SUCCESS;
66 if (caloCellHelper->is_tile(cellId)) {
68 int section = caloCellHelper->section(cellId);
69 int sample = caloCellHelper->sample(cellId);
99 if(caloCellHelper->is_em_barrel(cellId)) {
100 int samp=caloCellHelper->sampling(cellId);
102 int eta=caloCellHelper->eta(cellId);
118 HWIdentifier channelID =
cabling.createSignalChannelID(cellId);
119 if(
cabling.isOnlineConnected(channelID)) {
def retrieve(aClass, aKey=None)
Identifier pmt2tt_id(const Identifier &id) const
static const TileCablingService * getInstance()
get pointer to service instance
virtual void matchCell2Tower(const CaloCell *caloCell, Identifier &ttId1, Identifier &ttId2) const override
int region(const Identifier id) const
return region according to :
Map from calo cells to trigger towers.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
int layer(const Identifier id) const
return layer according to :
const CaloLVL1_ID * m_lvl1Helper
bool is_hec(const Identifier id) const
Test wether given tower or layer is part of the HEC.
int phi(const Identifier id) const
return phi according to :
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloIdManager * m_caloMgr
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
int eta(const Identifier id) const
return eta according to :
StatusCode initialize(bool used=true)
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
int pos_neg_z(const Identifier id) const
return pos_neg_z according to :
virtual StatusCode initialize() override
Data object for each calorimeter readout cell.
ToolHandle< CaloTriggerTowerService > m_ttSvc
Identifier pmt_id(const Identifier &any_id) const
const TileCablingService * m_tileCablingService
int sampling(const Identifier id) const
return sampling according to :
Identifier tower_id(int pos_neg_z, int sampling, int region, int eta, int phi) const
build a tower identifier
Identifier cell2tt_id(const Identifier &id) const