30 return StatusCode::FAILURE;
39 return StatusCode::SUCCESS;
48 double gran[4] = {0.1, 0.2, 0.1, 0.425};
49 double offset[4] = {0., 2.5, 3.1, 3.2};
52 if (region>=0 && region<=3) {
53 eta =
sign* ( ( (ieta+0.5) * gran[region] ) + offset[region] );
72 std::vector<Identifier> TT_cells_vec =
m_ttService->createCellIDvecTT(TTid) ;
74 if(TT_cells_vec.size()!=0)
76 std::vector<Identifier>::const_iterator it = TT_cells_vec.begin();
77 std::vector<Identifier>::const_iterator it_e = TT_cells_vec.end();
79 for (; it!=it_e; ++it)
87 if(deadReadout || desactivatedInOKS)
result =
true;
91 ATH_MSG_ERROR(
"Cannot retreive feb status for trigger Tower " << TTid );
Scalar eta() const
pseudorapidity method
#define ATH_CHECK
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
bool deactivatedInOKS() const
Deactivated in OKS.
bool deadReadout() const
FEB is not sending readout data, but the L1 trigger path is working.
const CaloLVL1_ID * m_lvl1Helper
virtual double IDeta(const Identifier &TTid) const override
virtual bool hasMissingFEB(const Identifier &TTid) const override
Declare the interface that the class provides.
ToolHandle< CaloTriggerTowerService > m_ttService
const CaloIdManager * m_caloMgr
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
L1CaloLArTowerEnergy(const std::string &name)
Create a proper constructor for Athena.
ToolHandle< ILArBadFebMasker > m_badFebMasker
const LArOnlineID * m_LArOnlineHelper
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...