ATLAS Offline Software
CMMRoICnvTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 // EDM include(s):
10 
11 // Local include(s):
12 #include "CMMRoICnvTool.h"
13 
14 namespace xAODMaker {
15 
16  CMMRoICnvTool::CMMRoICnvTool( const std::string& type,
17  const std::string& name,
18  const IInterface* parent )
19  : AthAlgTool( type, name, parent ) {
20 
21  // Declare the interface(s) provided by the tool:
22  declareInterface< ICMMRoICnvTool >( this );
23  }
24 
35  xAOD::CMMRoI* xaod) {
36 
37  xaod->setRoiWord( esd->jetEtRoiWord() );
38  xaod->setRoiWord( esd->energyRoiWord0() );
39  xaod->setRoiWord( esd->energyRoiWord1() );
40  xaod->setRoiWord( esd->energyRoiWord2() );
41 
42  // Return gracefully:
43  return StatusCode::SUCCESS;
44  }
45 
46 } // namespace xAODMaker
xAOD::CMMRoI_v1
Description of CMMRoI_v1.
Definition: CMMRoI_v1.h:27
xAODMaker::CMMRoICnvTool::convert
virtual StatusCode convert(const LVL1::CMMRoI *esd, xAOD::CMMRoI *xaod) override
Function that fills an existing xAOD::EmTauRoIContainer.
Definition: CMMRoICnvTool.cxx:34
LVL1::CMMRoI::energyRoiWord2
uint32_t energyRoiWord2() const
Return packed Energy RoI word 2.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMRoI.h:200
CMMRoI.h
xAODMaker
Definition: StoreGateSvc.h:72
CMMRoIAuxInfo.h
LVL1::CMMRoI::energyRoiWord0
uint32_t energyRoiWord0() const
Return packed Energy RoI word 0.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMRoI.h:190
LVL1::CMMRoI::energyRoiWord1
uint32_t energyRoiWord1() const
Return packed Energy RoI word 1.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMRoI.h:195
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CMMRoICnvTool.h
LVL1::CMMRoI::jetEtRoiWord
uint32_t jetEtRoiWord() const
Return packed Jet-Et RoI word.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMRoI.h:185
xAOD::CMMRoI_v1::setRoiWord
bool setRoiWord(uint32_t roiWord)
Set RoI word with ID check Internally works out the type of roiWord.
Definition: CMMRoI_v1.cxx:29
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CMMRoI.h
xAODMaker::CMMRoICnvTool::CMMRoICnvTool
CMMRoICnvTool(const std::string &type, const std::string &name, const IInterface *parent)
Regular AlgTool constructor.
Definition: CMMRoICnvTool.cxx:16
AthAlgTool
Definition: AthAlgTool.h:26
LVL1::CMMRoI
CMM RoI data.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMRoI.h:21