25#include "Identifier/Identifier.h"
40 return StatusCode::SUCCESS;
66 if (caloCellHelper->
is_tile(cellId)) {
69 int sample = caloCellHelper->
sample(cellId);
73 if(
section==3 && (sample==1 || sample==2) ) {
87 }
else if( (
section==1 ||
section==2) && (sample==0 || sample==1) ) {
100 int samp=caloCellHelper->
sampling(cellId);
102 int eta=caloCellHelper->
eta(cellId);
118 HWIdentifier channelID = cabling.createSignalChannelID(cellId);
119 if(cabling.isOnlineConnected(channelID)) {
Scalar eta() const
pseudorapidity method
#define ATH_CHECK
Evaluate an expression and check for errors.
Map from calo cells to trigger towers.
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
int section(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
int sample(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
Helper class for offline cell identifiers.
Data object for each calorimeter readout cell.
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
const TileCablingService * m_tileCablingService
ToolHandle< CaloTriggerTowerService > m_ttSvc
const CaloLVL1_ID * m_lvl1Helper
virtual StatusCode initialize() override
const CaloIdManager * m_caloMgr
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual void matchCell2Tower(const CaloCell *caloCell, Identifier &ttId1, Identifier &ttId2) const override
static const TileCablingService * getInstance()
get pointer to service instance
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...