Implementation for the IEnergySumRoICnvTool interface.
More...
#include <EnergySumRoICnvTool.h>
Implementation for the IEnergySumRoICnvTool interface.
This is a simple tool that implements the converter function
defined in IEnergySumRoICnvTool.
- Author
- Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Definition at line 27 of file EnergySumRoICnvTool.h.
◆ StoreGateSvc_t
◆ EnergySumRoICnvTool()
| xAODMaker::EnergySumRoICnvTool::EnergySumRoICnvTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Regular AlgTool constructor.
Definition at line 19 of file EnergySumRoICnvTool.cxx.
23
24
25 declareInterface< IEnergySumRoICnvTool >( this );
26 }
◆ convert()
Function that fills an existing xAOD::EnergySumRoI.
This is the important function of the tool.
It takes the energy-sum RoI object from a LVL1_ROI container, and fills an xAOD::EnergySumRoI with it.
- Parameters
-
| aod | The AOD object to take the energy-sum RoI from |
| xaod | The xAOD object to fill with information |
- Returns
StatusCode::SUCCESS if all went fine, something else if not
Implements xAODMaker::IEnergySumRoICnvTool.
Definition at line 37 of file EnergySumRoICnvTool.cxx.
38 {
39
40
43 return StatusCode::SUCCESS;
44 }
45
46
49 "in the event." );
52 }
53
54
60 }
61
62
63 return StatusCode::SUCCESS;
64 }
#define ATH_MSG_WARNING(x)
const thresholds_type & getThresholds() const
Return the names of the passed threshodlds.
float getEnergyY() const
Return the total energy deposited in the Y direction.
uint32_t getROIWord1() const
Return the second RoI word produced by the L1Calo hardware.
float getEnergyT() const
Return the deposited total transverse energy.
uint32_t getROIWord0() const
Return the first RoI word produced by the L1Calo hardware.
uint32_t getROIWord2() const
Return the third RoI word produced by the L1Calo hardware.
float getEnergyX() const
Return the total energy deposited in the X direction.
const energysums_type & getEnergySumROIs() const
Get all the energy sum RoIs in the event.
void addThreshold(const std::string &name)
Add a new threshold that was passed.
void initialize(uint32_t roiword0, uint32_t roiword1, uint32_t roiword2, float energyX, float energyY, float energyT)
Initialise the object with its most important properties from a single RoI.
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| const InterfaceID & xAODMaker::IEnergySumRoICnvTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Gaudi interface definition.
Definition at line 46 of file IEnergySumRoICnvTool.h.
46 {
48 }
static const InterfaceID IID_IEnergySumRoICnvTool("xAODMaker::IEnergySumRoICnvTool", 1, 0)
The interface provided by IEnergySumRoICnvTool.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_evtStore
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: