![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 m_lvl1Helper(nullptr),
15 m_LArOnlineHelper(nullptr),
17 m_badFebMasker(
"LArBadFebMasker")
37 return StatusCode::FAILURE;
43 ISvcLocator* svcLoc = Gaudi::svcLocator( );
46 sc = svcLoc->service(
"ToolSvc",toolSvc );
48 sc = toolSvc->retrieveTool(
"CaloTriggerTowerService",
m_ttService);
49 if(
sc.isFailure()){
ATH_MSG_ERROR(
"Could not retrieve CaloTriggerTowerService Tool");
return sc;}
59 return StatusCode::SUCCESS;
69 double gran[4] = {0.1, 0.2, 0.1, 0.425};
70 double offset[4] = {0., 2.5, 3.1, 3.2};
73 if (region>=0 && region<=3) {
74 eta =
sign* ( ( (ieta+0.5) * gran[region] ) +
offset[region] );
95 if(TT_cells_vec.size()!=0)
97 std::vector<Identifier>::const_iterator
it = TT_cells_vec.begin();
98 std::vector<Identifier>::const_iterator it_e = TT_cells_vec.end();
100 for (;
it!=it_e; ++
it)
108 if(deadReadout || desactivatedInOKS)
result =
true;
112 ATH_MSG_ERROR(
"Cannot retreive feb status for trigger Tower " << TTid );
ToolHandle< ILArBadFebMasker > m_badFebMasker
Scalar eta() const
pseudorapidity method
bool deadReadout() const
FEB is not sending readout data, but the L1 trigger path is working.
CaloTriggerTowerService * m_ttService
int region(const Identifier id) const
return region according to :
virtual bool hasMissingFEB(const Identifier &TTid) const override
Declare the interface that the class provides.
L1CaloLArTowerEnergy(const std::string &name)
Create a proper constructor for Athena.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual double IDeta(const Identifier &TTid) const override
std::vector< Identifier > createCellIDvecTT(const Identifier &id) const
Return a vector of offline Identifiers (corresponding helpers = LArEM_ID, LArHEC_ID,...
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode finalize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloLVL1_ID * getLVL1_ID(void) const
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
int eta(const Identifier id) const
return eta according to :
StatusCode initialize(bool used=true)
const CaloLVL1_ID * m_lvl1Helper
bool deactivatedInOKS() const
Deactivated in OKS.
int pos_neg_z(const Identifier id) const
return pos_neg_z according to :
const CaloIdManager * m_caloMgr
const LArOnlineID * m_LArOnlineHelper