21 ATH_MSG_INFO(
"L1CaloFEXTools/eFexTOBSuperCellDecorator::initialize()");
33 return StatusCode::SUCCESS;
40 if (!eFEXegEDMContainerObj.
isValid()) {
42 return StatusCode::SUCCESS;
47 if (!eFEXtauEDMContainerObj.
isValid()) {
49 return StatusCode::SUCCESS;
58 std::vector<unsigned int > ClusterCellETs;
63 float eta = emRoI->eta();
64 float phi = emRoI->phi();
68 SCEt_e (*emRoI) = ClusterCellETs;
69 ClusterCellETs.clear();
75 float eta = tauRoI->eta();
76 float phi = tauRoI->phi();
80 SCEt_t (*tauRoI) = ClusterCellETs;
81 ClusterCellETs.clear();
85 return StatusCode::SUCCESS;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute()
ToolHandle< eFEXTOBEtTool > m_eFEXTOBEtTool
eFexTOBSuperCellDecorator(const std::string &name, ISvcLocator *svc)
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFEXtauEDMContainerKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFEXegEDMContainerKey
virtual StatusCode initialize()
SG::WriteDecorHandleKey< xAOD::eFexEMRoIContainer > m_SCEtVec_ele
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_SCEtVec_tau
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
Handle class for adding a decoration to an object.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
eFexEMRoIContainer_v1 eFexEMRoIContainer
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
eFexTauRoIContainer_v1 eFexTauRoIContainer
eFexTauRoI_v1 eFexTauRoI
Define the latest version of the eFexTauRoI class.